220 likes | 302 Views
Architecting a Modern Mobile Solution. By: Bill McCormick Product Manager. What is a Modern Application?. Bring your own device Client UI Data Transport Business Logic Data Storage Reporting. The Big Picture. Client. ESB. Database. AJAX/JSON. HTML5 CSS3 iOS Android 3rd Party.
E N D
Architecting a Modern Mobile Solution • By: Bill McCormick • Product Manager
What is a Modern Application? • Bring your own device • Client UI • Data Transport • Business Logic • Data Storage • Reporting
The Big Picture Client ESB Database AJAX/JSON HTML5 CSS3 iOS Android 3rd Party SOAP SOAP/REST 3rd Party Frameworks ZEN Reporting
What comes first? Design! • Runs on all devices! • Historic Application Development • VBitis • Today things start with simple • VBitis does not work on mobile • Later you can add complexity but you cannot start there.... • Forcing developers to be smarter, leaner and more clever in their business logic
What is a Modern UI? • Native? • XCODE, JAVA, .Net • iOS, Android, Windows 8 • 3rd Party? • Dojo, JQuery, Sencha...... • ISC • Zen Mobile Framework, Zen Mobile, Zen
What do they all have in common? • HTML5 • CSS3 • Javascript • SVG
How to get from Point A to Point B • Moving data over a cellular network • Parsing data on low end hardware • But... Still giving the user the information they need when they need it
XML / Ajax • XMLHTTP interface has been the standard in the desktop / browser world • Empowered Web 2.0 “revolution” • SOAP over HTTP • Reasonably lightweight • SSL for data encryption • Available on all the browsers • The verdict.. still a player
The Challenger? JSON • Sparse Array • No Markup ( Tastes great, less filling ) • No predefined structures • Late binding • Less overhead • Way less effort to parse • The verdict.. has already won the war on mobile devices..
SOAP vs REST • SOAP • HTTP, SSL, Browsers, XML • REST • HTTP, SSL, Browsers, XML • JSON “natively” • “Simple” call structure • GET,POST,DELETE,PUT • No WSDL • No requirement for prebuilt interface mappings • The verdict.. For Mobile its JSON over REST
Where is the logic?? • Because the interfaces are simple • The logic layer has to be broader and smarter • ESB? Sure! Hint... Ensemble / HSF • ISC & Zen? In the server side of the page or in the database structures
Where’s the data? • Cloud based DBs like Amazon • Relational • NoSQL • ISC platforms - Cache, Ensemble, Healthshare
Reporting • Embedded BI • Realtime Access • Canned and Adhoc Reports • On all my devices
How does all this relate to ISC • Key Concepts • Zen • Zen Mobile Framework • JSON • Rest • Zen Reports
New Components in ZEN • dataGrid • navigator • lookup • coverFlow • ....
Mobile Zen Solutions • %ZEN.component.mobilePage • Helper page for all things Mobile • Orientation • touch event support • layout geometry
Zen Mobile Framework • For new applications • Designed specifically for Mobile • DocumentView • JSON for data • JQueryMobile for client rendering • Demonstrate
Phone Gap • For when you absolutely must go native • Hardware access • images • barcode scanning • Driven by ZMF
Robust JSON support • JSON with Zen • jsonProvider • jsonSQLProvider • jsonArrayProvider • %ZEN.proxyObject • JSON outside of Zen • Fully supported API for parsing / generating JSON • Persistent JSON! • NoSQL
Introducing REST • 2013.2 • Runs over the existing CSP Gateway architecture • Dispatch class • Supporting URL manipulation for navigation • http://localhost/csp/bill/patient/1235
Architecting a Modern Mobile Solution • By: Bill McCormick • Product Manager