MyTH #4
$("ICANHAZJS").TEHE();
JQUERY IS JESUS QUERY !!!!!!
That doesnt makes sense and i feel dumber recursively after typing it
REALITY
http://nooooooooooooooo.com
JQUERY is a LIBRARY and it is DEFINITELY NOT A LANGUAGE, NOT EVEN A FRAMEWORK , NOT EVEN A STANDARD LIBRARY
Its write less Do More, usually ends up into write mess do roar!
(to be continued cause this is serious business)
ITS NOT A BAD LIBRARY ITS THE PEOPLE
JQuery was written by good people, written with good intentions
... Some Internet Years Later ...
Intentions are same, They have fame
How its used mostly though is **SHAME**
-( Talk to other unicorns for moar )-
LEARN VANILLA.JS / COWBELL.JS
->
LEARN JQUERY ( find it useless until production )
( try it, use jQuery only when you **Really** need it ... which is ever ever some ever in never
but to being able to figure it out is being clever )
YOU BUST IT !!!
(Seriously its on you!)
FaCTS & HISTORY
JavaScript was made by a very intelligent guy @ NetScape
JavaScript was designed to run inside browser
JavaScript powers most of your websites
JavaScript is now mantained / developed by super intelligent awesome kind hearted humans who know what they do!
THE MAGIC!
WRITE LESS DEPLOY MORE !
STANDARDS ARE MANAGED BY STANDARDS
OPEN & PROPRIETARY
almost... WELL DOCUMENTED
(We are working on it)
BUILT BY BEST SPIDERMONKEYS ON PLANET FOR TO RUN LIKE A V8 ;)
PROOF OF CONCEPT ?
codepen.io
(Note : codepen page itself is very exhaustive app add to that whats demonstrated there)
FAST BOOK
(A facebook Clone that feels like NATIVE!! WTF? )
All the apps on Titanium.PhoneGap.AppXelerator.... .etc.. { Especially Titanium ones } which feel native!
BUT FACEBOOK FAILED THEMSELVES !!!!
-- Facebook overkilled the browser
-- Browser is like your girlfriend
-- KISSING HELPS
-- Not a fault of language..
IF YOUR APP IS SLOW THEN MAKE SURE IF YOU ARE SLOW!
THE never told GOOD PRACTISE
- You are in a relationship with a browser
( Love it like your partner )
- Respect it
- Understand it
- Don't Be abusive
- Pay attention to changes
- Be updated
- Don't Overdo
( guys understand this more)
BUT HOW ?
I guess this is more on you no ? Every developer is different
JavaScript & We don't bind you
You are free to follow your own learning pattern.
Mozilla Developer Network helps a LOT !
Codepen inspires a LOT
nettuts teach you a lot
Google is your TORCH ( AND LIGHT ).
DO's & DonT'S
IF THERE IS A NATIVE METHOD USE IT !
FEW WORDS ON DOM
ITS NOT A KEY VALUE STORE .... PLEASE GOOGLE AND READ MORE!
DOM IS EXPENSIVE ... BUT AWESOME
CACHE IT IF YOU CAN HUN!
I AM A LIB-HOE !
DUUUUUUUUUUUUUUUUUUUUUUUUUUUDE
we all love libs they make life easy
but but but but but
DONT USE A LANGUAGE BEFORE YOU LEARN IT
libararies are to make your life easy
WHEN U MAKE APPS
- KISS !
- DON'T DO ANIMATIONS IN JAVASCRPT
(USE CSS ELSE DONT ANIMATE )
- DO AS LESS AS POSSIBLE & STICK TO NATIVES
- Try to use NATIVE calls if POSSIBLE
( JavaScript is never fast as C code )