Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » how nice does SilverStripe play with jQuery?

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 7590 Views
  • jam13
    Avatar
    121 Posts

    Re: how nice does SilverStripe play with jQuery? Link to this post

    yeah im aware of noconflict but in an ideal world there wouldn't be the overhead of loading prototype to begin with! ;) (especially if you dont plan on using it at all!)

    Unfortunately I don't get to play in the ideal world - we're doing stuff with Magento at the moment which has Prototype+Scriptaculous so deeply baked into the both the backend _and_ frontend that it's next to impossible to use another js framework with it. I've spent most of this morning trying to resolve a conflict between JQuery and their version of Scriptaculous.

    Personally I can't wait to see SS move away from Prototype .

  • alexweber15
    Avatar
    Community Member
    6 Posts

    Re: how nice does SilverStripe play with jQuery? Link to this post

    sounds pretty awful man... the reason im holding off SS for now is exactly that... i'm so deeply entrenched in jquery that it doesn't make sense to learn any of the other libraries atm

  • artlung
    Avatar
    Community Member
    10 Posts

    Re: how nice does SilverStripe play with jQuery? Link to this post

    I switched over a bloated frontend site that used Prototype+Scriptaculous to jQuery and the only change I had to make was to use

    jQuery('#my-id')

    instead of

    $('#my-id')

    in my JavaScript. In this way jQuery is not in conflict, as jam13 indicated. Validation code on custom forms and Security/login works fine.

  • alexweber15
    Avatar
    Community Member
    6 Posts

    Re: how nice does SilverStripe play with jQuery? Link to this post

    great how jQuery works will with others but others not so nicely with jQUery

    I guess that with last week's Public Announcement that both Microsoft and Nokia are adopting jQUery as their framework we should see an even wider adoption

    7590 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.