angular coding: from project management to web and mobile deploy
TRANSCRIPT
AngularJSfrom Code to Mobile
Who I am?
Gabriele Mittica@gabrielemittica
from CorleyCloud
CloudConf + AngularConf Ideator
Why we useAngular?
Works with DOMData binding
DI, Routing, ServicesDifferent ways to do the
same thingsGreat community
I want to be a pirate
Confusing!
(become a pirate is not easy)
Angular is Complicated
Angular is Complicated
Angular is Complex
Reusable code!
Okay, the project is sorted, but...
1. How manage assets and graphics?
2. How code faster and better?
3. How deploy quickly?
ngStartupa boilerplate for your apps
http://ngstartup.corleycloud.com/
grunt-devcode
grunt-jshintgrunt-uglifygrunt-watch
$ grunt compile:web
minificationoptimization
test
JS: from 1.4mb to 0.4mbCSS: from 0.3mb to 0.2mb
grunt-html2js
: a javascript task runner: a boilerplate for your apps
: to build your app onbuild.phonegap.com
: to minify your angular templates: to switch your codes in different
stages: to watch your code changes
and reload page: to upload your app to AWS S3
: to add/remove annotationsduring compiling
GruntJSngStartupgrunt-phonegap
grunt-html2jsgrunt-devcode
grunt-contrib-watch
grunt-awsgrunt-ng-annotate
Thanks for listeningGabriele Mittica - @gabrielemittica