Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Complete transition to jQuery library


Reply


3 Posts   396 Views

Avatar
simples

Community Member, 77 Posts

4 January 2014 at 10:03am

In Wikipedia at

http://en.wikipedia.org/wiki/SilverStripe

it says the following

[START OF EXTRACT]
Notable features of upcoming releases of SilverStripe include:

Complete transition to jQuery library (currently uses jQuery with a mixture of older JavaScript frameworks.)
[END OF EXTRACT]

At the time of writing this post, the above Wikipedia article was last updated in Oct 2013.

Has the latest release of Silverstripe now made a complete transition to the jQuery library?

If not does anyone know if this is on the horizon and when this is likely to come to fruition?

The last version I used was Version 2.4.7. Silverstripe then used a mixture of older JavaScript frameworks such as Prototype in addition to jQuery. I found that this introduced a number of issues when I tried to write my own modules which used jQuery. Unfortunately not all these issues were resolved by writing all jQuery code in a closure and swapping the $ prefix with the jQuery prefix. In fact I found myself fighting with require and requirement statements in various modules in a bid to try to resolve conflicts.

Avatar
swaiba

Forum Moderator, 1808 Posts

7 January 2014 at 10:15am

>>Has the latest release of Silverstripe now made a complete transition to the jQuery library?

Yep jQuery and jQueryUI are teh main focus and protype.js is gone

Avatar
simples

Community Member, 77 Posts

7 January 2014 at 10:21am

Thanks.