Prototype Releases Version 1.5, New Website, and Documentation
We’re moving past those times however. We’ve worked really hard to fully document the api. This is something we’ll be improving over time, but it’s a great start. Here are some of the features:Bloggers have noted that the new website is powered by Mephisto.
The documentation site has guessable urls. For instance, if your looking for documentation on Element.show, then you can find that documentation at a url like : http://prototypejs.org/api/element/show, or if your looking for Form.Element.focus you can find it at: http://prototypejs.org/api/form/element/focus.
Each Object has it’s own atom feed. This opens the doors for integrated documentation. For instance, if you want the XML file for Form.Element, you can find it at: http://prototypejs.org/feed/api/form/element/atom.xml. This feed will always contain the most up-to-date documentation for Form.Element.
Tips and Tutorials
We’ve also added an article section where you can find tips, tutorials, and a variety of articles for Prototype. We plan on adding many more articles to this area over time, so keep your eyes peeled.
I would've rather they trimmed down the size and improve the performance. I think this release may just be the one that makes me take a closer look at mootools and some of the other frameworks.
Re: Size Matters
Still, this ignores a variety of factors, including browser cache strategies, actual load time at even low-end DSL bandwidth, and server- and brower-side support for GZipping, which is widely enabled, and makes the current version 19k in transit.
As for performance, it has been vastly improved, and remains a top priority. For instance, there are pending patches just now, on 1.5.1 (trunk), that address critical performance issues such as $$, and minor ones such as Array.uniq(). If you have detailed suggestions as to other areas, go to the Prototype-Core GGroup and let us know :-)
Finally, I assume by "50% larger" you're comparing with 1.4, which is 1+ year old. The size increase is amply justified by the boatload of new features, none of which is actually superfluous. And when you look at the feature/size ratio, I think it's pretty good.
Martin Thompson Jul 27, 2014