14. Javascript
• Nobody likes Prototype.js
• Validation is clunky
• Scriptaculous is old hat
• Built for static HTML
• Need to write lots of AJAX
• No frontend
15. Javascript
• Nobody likes Prototype.js
• Validation is clunky
• Scriptaculous is old hat
• Built for static HTML
• Need to write lots of AJAX
• No frontend
31. • Thing of a page as components
site.js
site.css
page.js
page.css
widget2.js
widget2.cs
s
widget.js
widget.css
widget3.js
32.
33.
34. ...now we can write modular code
which means SPEEEEEED...
35.
36. • Load as little as you can first
cart.js
cart.css
landing.js
landing.css
after 5s checkout.js
checkout.css
site.js
site.css
catalog.js
catalog.css
• Then anticipate and pre-fetch
53. BE A GERMAN! STAY ORGANISED!
• Landing vs. site
• Use the right tech for the right problems
• Break pages into reusable components /
objects
• That’s what OOCSS / SMACSS is
• Use Codekit
Old\nHave to write lots of ajax code to make it feel fast\n
\n
\n
\n
\n
CTO’s job - use the right technology for the right problems\n\nWe’ve heard it AGAIN and AGAIN about personalisation - the intelligence should be on the frontend, then you can cache as much as possible\n\nPerfect opportunity for fullpage caching. It doesn’t get more perfect than this\n\nForces us to write more organised code, load the right stuff at the right time\n\n70% of speed is in the frontend\n
CTO’s job - use the right technology for the right problems\n\nWe’ve heard it AGAIN and AGAIN about personalisation - the intelligence should be on the frontend, then you can cache as much as possible\n\nPerfect opportunity for fullpage caching. It doesn’t get more perfect than this\n\nForces us to write more organised code, load the right stuff at the right time\n\n70% of speed is in the frontend\n
CTO’s job - use the right technology for the right problems\n\nWe’ve heard it AGAIN and AGAIN about personalisation - the intelligence should be on the frontend, then you can cache as much as possible\n\nPerfect opportunity for fullpage caching. It doesn’t get more perfect than this\n\nForces us to write more organised code, load the right stuff at the right time\n\n70% of speed is in the frontend\n
CTO’s job - use the right technology for the right problems\n\nWe’ve heard it AGAIN and AGAIN about personalisation - the intelligence should be on the frontend, then you can cache as much as possible\n\nPerfect opportunity for fullpage caching. It doesn’t get more perfect than this\n\nForces us to write more organised code, load the right stuff at the right time\n\n70% of speed is in the frontend\n
CTO’s job - use the right technology for the right problems\n\nWe’ve heard it AGAIN and AGAIN about personalisation - the intelligence should be on the frontend, then you can cache as much as possible\n\nPerfect opportunity for fullpage caching. It doesn’t get more perfect than this\n\nForces us to write more organised code, load the right stuff at the right time\n\n70% of speed is in the frontend\n
\n
\n
Change the model, view auto updates\nFinally, frontend is real programming now too!\n
Change the model, view auto updates\nFinally, frontend is real programming now too!\n
\n
\n
\n
\n
\n
\n
\n
dataType: “script”\n
\n
Change the model, view auto updates\nAngular is built for CI\nFinally, frontend is real programming now too!\n\n