ionic on visualforce and sf1 df14
TRANSCRIPT
![Page 1: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/1.jpg)
Building Rich Salesforce1 Applications with Ionic and AngularJSKevin Poorman
Principal Architect
@CodeFriar
![Page 2: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/2.jpg)
Place
Customer or
Partner logo in
white area of
slide, centered
Kevin PoormanPrincipal Architect at EDL Consulting.
![Page 3: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/3.jpg)
Agenda
• Angular in 90 seconds
• The Ionic Framework
• Angular and Ionic on Visualforce
• Mixing server and client side controllers
• In app navigation
• Exposing our App to Salesforce1
• Recap
• Q/a
![Page 4: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/4.jpg)
Angular.JS in 90 seconds
• Model, View – ViewModel Javascript application framework from
Google.
• “Enterprise” ready with familiar patterns like Dependency Injection
• Directives provide a framework for the development of new html tags
and attributes.
![Page 5: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/5.jpg)
Ionic
• A combined set of pre-built Angular directives, CSS and Icons
• Can be used to build Cordova based apps OR apps hosted on
Visualforce
• Primary focus is on mobile apps, they work well in Browsers as
well.
• ionicframework.com
![Page 6: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/6.jpg)
Ionic Directives at a Glance
• Side Menus
• Navigation
• Headers/Footers
• Form inputs
• Modal
• Popovers
• Action sheets
• Loading
• Tabs
• Lists
• Tap & click
![Page 7: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/7.jpg)
Visualforce, Angular and Ionic stack
• Css
• DirectivesIonic
• Client Side Controllers
• Application Logic (services)Angular
• Server Side Controllers
• Std. Salesforce SecurityVF
![Page 8: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/8.jpg)
Challenges & tips for this stack
• Apex:Page Options!
• Use Components!
![Page 9: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/9.jpg)
Demo App Overview
• Essentially a “Contacts” app for
Salesforce contacts
• List view for contacts in the org, with
click for details.
• Stage Right
• Stage Left
• Data Integration
![Page 10: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/10.jpg)
Use to
introduce a
demo, video,
Q&A, etc. Demo CodeDivider Subtitle
![Page 11: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/11.jpg)
Recap:
• Ionic provides a Toolkit of
angular directives we can
declaratively use in our HTML
markup
• We use Visualforce to provide
a container our App runs in.
• Angular provides the logic and
integration framework
• All together, we can *rapidly*
build beautiful SF1 apps!
![Page 12: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/12.jpg)
Use to
introduce a
demo, video,
Q&A, etc. Questions & AnswersDivider Subtitle
![Page 13: Ionic on visualforce and sf1 df14](https://reader038.vdocuments.net/reader038/viewer/2022100501/55a782491a28ab193e8b47be/html5/thumbnails/13.jpg)
Github Repo: noeticpenguin/IonicOnVisualforce
Twitter me: @codefriar