من قبل
Aya Taleb , Senior Web Developer / Team Leader , Bayt.com / Talentera
I totally disagree with this statement,
I thinks there is a big thing to say here: the JQuery is a plugins written based on javascript and we all know that each one of the html+javascript+CSS complete each other and we can't build a great web application without the three components + the back-end PL and servers.
Yes JQuery covers many of the CSS functions and calls but we have a big secrets that should be taken in consideration like the speed, performance, browsers compatibility, creativity, stability and many other factors that made the CSS one of the major components of any successful work.
So, I see that the we need a strong jQuery beside a creative CSS (without any replacement) to build #1 website or web application from creativity , performance & speed perspectives :)
I strongly approve using CSS3 transitions, key frame animations, and transforms instead of jQuery animation methods (animate, fadeIn, fadeOut, show, hide,…) when possible, as they are cleaner, perform better, and are more powerful.
We should participate in moving the web forward, not to make it stagnate by sticking to old technologies because "they just work".
Each project has its own considerations in this regard. For example, if the audience of certain project are known to be using browsers with strong CSS3 support (as the case with Phonegap applications), then CSS3 should be used. If a project has to support old browsers, then CSS3 with jQuery fallback should be used (please refer to the discussion here http://www.bayt.com/en/specialties/question/2928/how-we-can-use-css3-transition-animations-with-jquery-fallbacks/)
من قبل
Besim Dauti , Ceo / Front End Developer , Nunforest
thanks for comment aya taleb.
i did'nt ask if the jquery will be out by css3. there is no way. but many thinks in past we have done whith jquery and now we can do just with css3. when you do animaiton with css3 they work more properly and the site will be loadded more easy, At moment we have a sliders done with pure css3, is'nt replacing css3 a part of jquery. yes of course we cant load elements with css this inposible or communication with other libraries like ajax or json. we can't place contact map with css3, but i think many things that in the past we have done with jquery we can do now with css3 (like animations).
من قبل
Islam AlZatary , Sr. Software engineer manager at Evalufy (Bayt product) , Bayt.com
I am totally agree with you Aya.
actually the Jquery is a third party plugin to do every thing you need in the website (Animation, Ajax, Funny UI, Control the attributes, etc...) in just few lines of code and its will work on all Bowers versions, but keep in your mind while you are using a plugin its will affect on performance so W3C started establish to work with CSS3 to cover most request like (Box Border Radius, Box Shadow, Transition, etc..), and its depend on browser because not all browser support all CSS3 feature, i think Chrome is up to update with all CSS3 feature.
So if you want to compare Jquery with CSS3 you will Focus on Animation, Other wise there is huge options depend on style jquery can't do it but CSS3 can do it, and the opposite is true.
Check this links to know more about this topic:
http://www.whatcreative.co.uk/blog/tips/the-benefits-of-css3-vs-jquery/
http://dev.opera.com/articles/view/css3-vs-jquery-animations/
Thanks.