Zen

&

The Art Of


Mobile Application

Development




@dhavaltrivedi






All characters appearing in this work are fictitious.

Any resemblance to real persons, living or dead, 

is purely coincidental.

Warning






This presentation can hurt your feelings.




How we do things.





How we SHOULD

do things.







Agenda




Architecture




Development




Stack




Workflow




Build




Performance




Production




Architecture





श्री श्री निकोलस ज़ाकासानंदा








Development




Single Page Application




Backbone / YUI App




Single Responsibility 

Modules




Test




Debug




Stack





jQuery + Backbone + AMD 

+ Require + Plugins + Pee

+ Poo + Foo + Bar




YUI

Skeleton


or


Bootstrap


or


Foundation




YUI




Handlebars




LESS



Mocha / Chai


or


YUI Test




Workflow




Editor




Command Line




Git





Build




Grunt




YUI Shifter




Performance




Scrollview




Tap




Offload DOM




File I/O = 300ms




Inline JS, CSS




H/W Acceleration




Avoid Layout()


get scrollLeft
get offsetWidth




Avoid Style Recalc()


get scrollLeft




Precompile Templates




Build Time >> Run Time




Native SQLite




Single Page Application




Production




{Errorception}




Mixpanel




TestFlight




The End.




zen and art of mobile applications development

By dytrivedi

zen and art of mobile applications development

  • 1,282