Lab: Developing Mobile Web Apps. Adage Technologies adagetechnologies.com



Similar documents
Mobile App Design and Development

SYST35300 Hybrid Mobile Application Development

About Blue Sky Sessions

JC Now. Case Study in Building an App on the Cheap. Nick O Day GIS Manager. be the exception

Managing Existing Mobile Apps

Retool your HTML/JavaScript to go Mobile

Build your own Fiori hybrid mobile app rapidly using SAP Web IDE Marc Anderegg, SAP SESSION CODE: BT404

How To Develop A Mobile App With Phonegap

Republic Polytechnic School of Infocomm C308 Web Framework. Module Curriculum

Operational Decision Manager Worklight Integration

Best practices building multi-platform apps. John Hasthorpe & Josh Venman

Adobe Summit 2015 Lab 712: Building Mobile Apps: A PhoneGap Enterprise Introduction for Developers

BASIC COMPONENTS. There are 3 basic components in every Apache Cordova project:

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI /19/14 HANNAH MILLER

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

Programming in HTML5 with JavaScript and CSS3

Introduction to Oracle Mobile Application Framework Raghu Srinivasan, Director Development Mobile and Cloud Development Tools Oracle

GOOGLE MOBILE ANALYTICS INTEGRATION. JANUARY 2013 (App version onwards)

Develop a Native App (ios and Android) for a Drupal Website without Learning Objective-C or Java. Drupaldelphia 2014 By Joe Roberts

Using Microsoft Visual Studio API Reference

Article. One for All Apps in HTML5

Kentico CMS 5 Developer Training Syllabus

Patrick Desbrow VP, Engineering

Developing and deploying mobile apps

Armedia. Drupal and PhoneGap Building Mobile Apps

dotmailer for Salesforce Installation Guide Winter 2015 Version

Getting Started Guide

Cloud Services MDM. Overview & Setup Admin Guide

Etanova Enterprise Solutions

Upgrade to Microsoft Web Applications

Designing for the Mobile Web Lesson 3: HTML5 Web Apps

place/business fetch details, removefromfavorite () function, 189 search button handler bind, B BlackBerry build environment

JTouch Mobile Extension for Joomla! User Guide

Armedia. Drupal and PhoneGap Building Mobile Apps

Developing Cross-platform Mobile and Web Apps

unisys ClearPath eportal Developer 6.1 Unisys Multi-Device App Developer s Guide March

Telerik: Develop Experiences

Cross-Platform Development

Cross-Platform Phone Apps & Sites with jquery Mobile

Mobile App Framework For any Website

Development for Mobile Devices Tools from Intel, Platform of Your Choice!

Administering Jive Mobile Apps

Mobile apps development for Joomla

WEB, HYBRID, NATIVE EXPLAINED CRAIG ISAKSON. June 2013 MOBILE ENGINEERING LEAD / SOFTWARE ENGINEER

Welcome The webinar will begin shortly

Adobe Summit 2015 Lab 718: Managing Mobile Apps: A PhoneGap Enterprise Introduction for Marketers

Spyros Xanthopoulos Dimitris Daskopoulos Charalambos Tsipizidis. IT Center Aristotle University of Thessaloniki Greece

Additional information >>> HERE <<<

HTML5 & Digital Signage

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

PhoneGap Build Starter

Developing Native JavaScript Mobile Apps Using Apache Cordova. Hazem Saleh

Developing multidevice-apps using Apache Cordova and HTML5. Guadalajara Java User Group Guillermo Muñoz Java Developer

Getting Started with the new VWO

ios SDK possibilities & limitations

Advanced Windows Store App Development Using C#

Take full advantage of IBM s IDEs for end- to- end mobile development

A Guide to Mobile App Development Platforms

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

Liferay Portal 6.2. Key Features List

HTML5 the new. standard for Interactive Web

Adobe Marketing Cloud Adobe Mobile Services

NotePad No More: - A Personal Survey of HTML5 Developer Toolsets. Stewart Christie - Tizen and HTML5 Community Manager.

... Introduction Acknowledgments... 19

Choosing a Mobile Strategy for Your Business

Startup Guide. Version 2.3.9

RFP# ADDENDUM No. 1 Questions and Answers

Mobile Application Development

Building a Simple Mobile optimized Web App/Site Using the jquery Mobile Framework

Lab - Building an Internet of Things Application Hands-On Lab

Document OwnCloud Collaboration Server (DOCS) User Manual. How to Access Document Storage

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

How To Use Titanium Studio

ORACLE MOBILE APPLICATION FRAMEWORK DATA SHEET

RCS - Overview. Rich Communication Suite

Native, web or hybrid mobile-app development

The Best Mobile App Development Platform. Period.

Building Web Applications

CSA Software Listing Table of Contents. Both Windows and Mac platforms are supported.

Developing ASP.NET MVC 4 Web Applications MOC 20486

Mobile and Social Computing

Penetration Testing for iphone Applications Part 1

SchoolMessenger for Android

Mobile Cross Platform Development really? Jonathan Marshall, IBM Mobile Technical Specialist IBM Corporation

Mobile Communicator for Mobile Devices

Building Mobile Applications Creating ios applications with jquery Mobile, PhoneGap, and Drupal 7

Oracle WebCenter Sites Mobility Server Enabling exceptional mobile and tablet web applications and web sites without compromise

MAGENTO THEME SHOE STORE

Beginning Android Web

DeIC Konference Ib Hansen: Oktober 2015

INTERACTIVE SERVICES CAPABILITIES PRESENTATION

Take Your Rocket U2 Apps Mobile with Rocket LegaSuite. Greg Mummah, Product Manager Rocket Software

Table of Contents. Table of Contents 3

Enterprise Mobile App Management Essentials. Presented by Ryan Hope and John Nielsen

The Great Office 365 Adventure

maximizing IT productivity

MS-20485: Advanced Windows Store App Development Using C#

Contenu du Cours : IBM Mobile Application

MOBILE HELIX LINK SDK OVERVIEW A MOBILE HELIX WHITEPAPER

Programming Fundamentals of Web Applications Course 10958A; 5 Days

Transcription:

Lab: Developing Mobile Web Apps Adage Technologies adagetechnologies.com

Agenda I. PhoneGap II. Ionic III. EPiServer REST Integration IV. Review EPiServer V. Review PhoneGap VI. Q & A

About Adage Technologies Web, ecommerce, and mobile solutions helping you engage your customers and community Based in Chicago with customers throughout the US and Europe 2014 EPiServer Partner of the Year

About the presenters Mathieu Agee Director of Technology Glenn Lalas Lead Developer

PhoneGap/Cordova HTML 5 based apps OpenSource project Build the application in a browser Debug in a browser Deploy as an app Custom apps Push notifications Cross-app calls (Facebook, In-app payments, etc.) Beacons Geo-location fencing Off-line support

Ionic Framework Angular based toolkit for Cordova Pre-built directives Native speed CSS animations Custom directives Swipe support Active community Unit testing available via Angular

EPiServer integration Consistent editor experience Manage app content and the website from one location Create new app content easily via the CMS Add rich media content including images and videos Share content from the website to the app Batch and schedule content changes to the app Use visitor groups to drive personalize content within the app Drive app navigation from EPiServer tree structure

EPiServer content creation Page types for specific app features Page type for beacon content Page type for push notification content Page type for configuration settings within the app Page type for custom code features

Items to keep in mind Content pre/post-processing Internal website links should be re-routed to app page links Internal image links should be updated before sending to the local device Links to external sites must break out of the app browser context (in-app browser support) Invalid HTML will break the app

EPiServer Code Review/Exercise

EPiServer code exercise Instructions 1. Add an XhtmlString Property called Content to the Mobile Content Page type (MobilePageData.cs) 2. Finish the method Get(int id) method of the MobilePageDataController Web API controller a. The id parameter of this method will be the EPiServer page ID for an instance of the MobilePageDatapage type b. This method should return two parameters: title The Title property from the MobilePageDataclass content The Content property from the MobilePageDataclass, pre-processed to be valid within the app 3. In Edit Mode, create an instance of the MobilePageData page type and populate the Content property 4. Preview the results using: http://localhost:64180/api/mobilepagedata/164

EPiServer code exercise Hints The API controller has been injected with an instance of IContentLoader The API controller contains a helper function called PreProcess

PhoneGap in Visual Studio 2015 Integration features Pre-built template using Ionic Easily deploy applications to an Android device via USB VS debugging on device or emulator Add in plug-ins easily from Cordova or others via VS Pre-built templates Can build on a Mac over the network via TACO Get code via the repository

PhoneGap gotchas Everything runs in a local browser window JS errors will stop the app and not give any default message to a user Use CSS animations, jquery animations will be jittery Use Google Analytics plug-ins to keep track of behavior Cookies are not a valid storage mechanism Test on as many devices as possible Testing on an Apple device requires an Apple developer account

PhoneGap Code Review/Exercise

PhoneGap Exercise Instructions 1. Create a new controller with the EPiServeras a duplicate of about controller using content ID 174 (www/app/controllers.js) 2. Create a link to a new menu link named Directions (www/app/templates/view-menu.html) with the URL #/app/directions 3. Setup the link in the ngrouter configuration (www/app/templates/app.js) to route to the new controller 4. Create a new template file named view-directions (www/app/templates/view-directions.html) 5. Verify the new page using the emulator Bonus! 1. Create a local service to read the app navigation from to make it dynamic from EPiServer 2. Bind the navigation menu to the service

Questions?

Feel free to reach out with questions Mathieu Agee Director of Technology magee@adagetechnologies.com Glenn Lalas Lead Developer glalas@adagetechnologies.com