17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 6689 Views |
-
how nice does SilverStripe play with jQuery?

7 August 2008 at 7:48am
hey all,
I pretty much have the entire front-end f a website i'm working on ready using standard HTML and plenty of custom jQuery and i'm looking for a solution so i won't have to reinvent the wheel with my back-end and admin features.
I'm currently playing around with the latest build but I was wondering how nice does SilverStripe play with jQuery?
More exactly, I basically want to create some predefined sections and customize their look and feel with my own HTML, CSS and JS and then use SilverStripe mainly to act as my back-end... is this feasible?
thanks!
-
Re: how nice does SilverStripe play with jQuery?

7 August 2008 at 11:04am
Hi Alex,
If you are just using jQuery for the display of the front-end of the website, then there is no reason why it shouldn't work with SilverStripe. Have fun!
Josh
-
Re: how nice does SilverStripe play with jQuery?

7 August 2008 at 11:27am
thx for your reply Josh!
after taking a more thorough look at SS i realized that as good as it seems, the fact that it uses scripatculous + proto just goes against the whole point of using jQuery...
it would be pretty hectic too with all 3 of those libs loaded... i find that with just jQuery and some plugins (namely UI) you can get the same functionality as scriptaculous+prototype with much smaller code... but anyway thats not the point of this thread
-
Re: how nice does SilverStripe play with jQuery?

7 August 2008 at 1:00pm
Well for our own client sites we have started to move towards using jQuery as the CMS is being rewritten to use jQuery rather the prototype.
If you do use jQuery at the moment things like form vaildation will not work, AJAX page comments etc, you just have to use Requirements::block() for the prototype files. Over the next releases starting with 2.3 the components of the system will be rewritten from prototype into jQuery
-
Re: how nice does SilverStripe play with jQuery?

7 August 2008 at 1:33pm
nice! that's excellent news!
-
Re: how nice does SilverStripe play with jQuery?

26 September 2008 at 7:45pm
Hi, like the idea too
for those who can't wait, I have posted a hack of the gallery module that uses jquery lightbox
http://www.webmasterbulletin.net/2008/09/silverstripe-gallery-jquery-module/307
-
Re: how nice does SilverStripe play with jQuery?

26 September 2008 at 11:29pm
I assume you aware of JQuery's noconflict mode? I'm pretty sure I remember using this to prevent it clashing with prototype in the past.
-
Re: how nice does SilverStripe play with jQuery?

27 September 2008 at 1:49am
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!)
| 6689 Views | ||
| Go to Top | Next > |




