PhoneGap + AngularJS + Topcoat
Workshop
Kruy Vanna / @kruyvanna
Cordova/PhoneGap
Cordova/PhoneGap
- Bringing native features to the JS world
- Cross platform (recently: +Chrome App)
AngularJS
HTML enhanced for App
Trends
Some features of AngularJS in action
Controller
function Controller1( $scope ){
$scope.name = "1";
}
function Controller2( $scope ){
$scope.name = "2";
}
{{name}}
// "1"
{{name}}
// "2"
Other features
- Directives
- Filters
- Dependency Injection
- Localization
Topcoat
Goal
- Mobile First
- Performance matters
- 0% JS
What we will create
A Todo App
Tool we will use
Monaca
Let's start with this Template
https://github.com/kruyvanna/todo
Other factors to make your App successful
- fastclick
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- -webkit-user-select: none;
- -webkit-overflow-scrolling: touch;
- Page management
Onsen UI
Wrapup
- PhoneGap
- AngularJS
- Topcoat
THE END