3. What is AngularJS?
Structure for complex apps
● DOM states and transitions
● Reusable components
● Business logic organization
Built for easy unit and E2E testing
Increase in productivity
6. What is Ionic?
A framework for rapid mobile web development
Community acceptance
Hit the ground running with pre-built UI
7. Freebies
Default stylesheet – iOS 7
Showcase
Constructed with Sass and customizable
● Set variables to your desired values
● Extend pre-built Ionic classes
9. Freebies
● Anyone on the team can easily use
<ion-slide-box>
<ion-slide>
<div class="box blue"><h1>BLUE</h1></div>
</ion-slide>
<ion-slide>
<div class="box yellow">YELLOW</div>
</ion-slide>
<ion-slide>
</ion-slide-box>
10. ...but how?
Hard dependency on Angular mojo
● DOM states and transitions
o 2-way data binding
o CSS3 animations
● Reusable components
o built with Angular’s directive API
o huh???
11. Directives
The secret sauce in Angular: reusability
<sn-document-canvas id="b68a">
<sn-field type="signature">...
The future of the web
● Ember components
● Google Polymer
● Standards: web components, shadow DOM
12. Use cases
● Signing session
● Fully featured SignNow mobile web app
● Packaged App for Windows Phone using
PhoneGap
Hinweis der Redaktion
Does the DOM be the truth, or the model be the truth?
Keeping the entire app in sync with the data source
APIs for reusable, configurable widgets => imported across the app, or released as a module for external apps
Encourage devs to write testable and maintainable code.
Productivity from an opinionated framework
=> forces good programming principles on the existing team
=> facilitates onboarding
=> continuous testing
Built to facilitate UI designers working with JS developers
Becoming the gold standard in the Angular community for mobile web.
Not as many differing opinions as in non-Angular mobile web: e.g. jQm, Sencha Touch, Kendo UI etc
Community sees Ionic as a reference for modularity and reusability
Comes with pre-built stylesheet and mobile UI elements to get you started
Sass is a CSS pre-processor that brings some programming concepts to CSS
e.g. write a function to output CSS for a button with rounded corners and gradient
=> corner radius, start and end arguments are passed in
Mobile apps have common UI elements.
Ionic team takes advantage of AngularJS’s reusability to build widgets that can be dropped into markup
Easy to use thanks to declarative nature of AngularJS. UI/UX designers don’t need to program