← Return to PHP Web Museum
Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorhannah_j
    • CommentTime4 days ago
     
    We have about 4000 lines of Prototype 1.6 and script.aculo.us on an intranet app. New hires all know jQuery, nobody knows Prototype. Is it worth porting, or should we only use jQuery for new stuff?
    • CommentAuthorjbaker
    • CommentTime4 days ago
     
    Don't run both on the same page without jQuery.noConflict(), they both want $. And don't port working code just because. Port it when you touch it.
    • CommentAuthorfloatleft
    • CommentTime4 days ago
     
    The biggest change is mentally. Prototype extends the DOM elements and has classes (Class.create). jQuery wraps everything and is about selecting things and doing stuff to them. Your Ajax.Updater calls convert easily, your class hierarchies don't.
    • CommentAuthorhannah_j
    • CommentTime3 days ago
     
    Most of it is Ajax.Updater and some Effect.Fade. Sounds like the easy kind. Still, two libraries is about 120 KB, which on our intranet doesn't matter much.
    • CommentAuthornate_w
    • CommentTime1 day ago
     
    For what it's worth, we ported a similar sized app in about two weeks. Main gain was everyone could work on it, not speed.
    • CommentAuthorhannah_j
    • CommentTime1 day ago
     
    Thanks. We'll port page by page. noConflict for now.