Despite the fact I’ve used it before and gotten some simple things working with it pretty swiftly, Prototype has excruciatingly sparse documentation, which makes getting a working example of almost anything a pain in the ass. Even worse is that the online documentation isn’t searchable – seriously, what the hell use is online documentation that isn’t searchable? Even if you do find what you’re looking for there is rarely any sample code to give you something to go on, so attempting most things is a bit of a shot in the dark.
It looks like I’m going to have to take a good look at JQuery when the dust settles with what I’m doing right now. The funny thing is that in the end it probably wont come down to me choosing the “best” framework (heck, maybe they’re all the same under the hood) – it’ll come down to using which one has the best documentation.
Well, today I spent some time reading the documentation for JQuery and it was very good indeed in comparison to the others. Using JQuery I managed to refactor some Prototype based code I’d written and, although it wasn’t as plain sailing as I’d hoped, I managed to get the same results with less code in the end. Might as well take that new ball and run with it now. 🙂