Upload
ganeshn9
View
168
Download
1
Embed Size (px)
DESCRIPTION
This deck introduces mobile app development using Progress Rollbase with minimal coding. One app for multiple mobile OS.
Citation preview
BUILDING MOBILE APPS ON
APAAS PLATFORMS
Dr Ganesh Iyer
http://ganeshniyer.com, @GANESHNIYER
Progress Software
06-09-2014
Ack: Mark Troester, Senior Director, Pacific PaaS, Progress
© 2014 Progress Software Corporation. All rights reserved. 2
Established in 1981 in Bedford, Boston US
VISION:
Rapid creation & deployment of business applications.
Driven by data.,Unlimited by device or cloud
© 2014 Progress Software Corporation. All rights reserved. 3
About Me
Completed B.Tech. in Computer Science and Engineering from Mahatma Gandhi University, India in 2004 with
University First Rank
Five years of Industry work experience in Bangalore (2004-2007) and HYD (2012-till date)
Finished Masters and PhD from National University of Singapore in 2008 and 2012 respectively.
Research interests: Cloud computing, Game theory, Wireless Networks, Pricing, Software Quality Analysis
Personal Interests:
Kathakali, Teaching,
Traveling, Photography, Cooking
Website: http://ganeshniyer.com
Currently
1. Principal Engineer at Progress Software, India
2. Visiting Faculty at IIIT-H
3. Adjunct Prof, Member BoS at BVRIT-HYD
4. Industry Outreach member IEEE
ENTIRE BUSINESSCHANGE
ENTIRE LIFESTYLE CHANGE
Who would have imagined?
© 2014 Progress Software Corporation. All rights reserved. 5
Companies That Leverage Technology Change the Game
Uber, an app for requesting private
car service is now disrupting
traditional taxi services in more than
26 countries and 60 cities
worldwide.13 It was recently valued
by investors at around $3.5 billion.
Airbnb, which has booked stays for over 11 million
guests in hosts’ private rooms, apartments, castles,
igloos, and tree houses, sees over 37% of its traffic
from mobile devices.
Tesla cars, (UK) is disruptive in multiple
ways – their use of electric car
technology, their approach to selling
cars direct to the consumer without
going through a dealership, ability to
download software over its cellular
connection.
We All Know about Cloud, Mobile, Social, & Big Data…
BUT WHAT ABOUT THE
APPLICATION?
Made to
SHARE Rapid to
BUILD Flexible to
MOVE
Demands of Modern Business Applications
Ecosystems of data working together Simple to develop, deploy, manage Unity of on-premise, cloud, mobile
Live up to consumer expectations
Enable self-service action
Support mobile and web apps
Make apps and their data fluid
Every Application Is Becoming a “Consumer” Application
TODAY’S ORGANIZATIONS MUST
© 2014 Progress Software Corporation. All rights reserved. 9
Introduction to aPaaS and
Mobile App Dev
© 2014 Progress Software Corporation. All rights reserved. 10
Get IT Out of the Way: Enable Your Entire Organization
Expand
Developer
Pool
Improve
Developer
Productivity 1. Pick the right high-productivity PaaS
2. Use the PaaS to speed developer work
3. Determine what to expose to business
4. Train & manage citizen developer work
© 2014 Progress Software Corporation. All rights reserved. 11
9. Don’t Treat All PaaS the Same: Pick the Right PaaS for Your Needs
Easy to use
Fast, rapid results
Includes dev environment
Targets GUI developers
Cloud-enables existing
approaches
Focused on DevOps /
deployment
Uses existing dev tools
Targets traditional Dev &
IT Ops
High-Productivity
aPaaS High-Control
aPaaS
© 2014 Progress Software Corporation. All rights reserved. 12
© 2014 Progress Software Corporation. All rights reserved. 13
Our Products
Progress Rollbase enables you to build all of your business applications in one place from the comfort of your Web
browser while writing a minimum amount of code (typically 80% clicks, 20% code). Reduce your development
time and resource requirements, accelerate your time-to-market, simplify application delivery and deployment,
and provide a proven cloud platform on which to build all of your custom business applications. With Progress
Rollbase, you are in complete control.
HIGHLIGHTS:
• Runs anywhere, no vendor lock-in: Deploy applications on-premises, in hybrid environments, in any
cloud
• Integrates out-of-the-box with leading CRM systems, such as Salesforce.com, Oracle and Microsoft
• Provides a growing library of pre-built sample applications you can start from
• Salesforce.com and Force.com Migration: Automated tool moves applications to Progress Rollbase
in minutes
• Custom branding and App Store for ISVs and Resellers
© 2014 Progress Software Corporation. All rights reserved. 14
MOBILE APPLICATION DEVELOPMENT
Helping Customers deliver exceptional mobile user experiences
MOBILE
Mobile App
Builder
JavaScript
Data Object
Business
Logic
Hybrid Apps Rollbase
goo.gl/LT4nhM
Get in the Mobility Game Faster
Progress® Rollbase® Mobile,
part of Progress Pacific™
Platform-as-a-Service, lets
you get your apps out the
door quickly.
© 2014 Progress Software Corporation. All rights reserved. 16
Let’s Start building our sample CRM Application
© 2014 Progress Software Corporation. All rights reserved. 17
Outline
Have the backend data model for the application in Progress Rollbase
Create a new Mobile Application
Build the UI
Connect the UI with the backend data model
Test the app you develop in between
Export the App to Mobile device
© 2014 Progress Software Corporation. All rights reserved. 18
Sign-up for Progress Pacific
https://web-demo-int.rlb-test.progress.com/router/login/login.jsp
Create a ProgressID
© 2014 Progress Software Corporation. All rights reserved. 19
Create the Mobile App Project: Install CRM App template
Click on Install Applications
Select CRM
Click on: “Install Now”
© 2014 Progress Software Corporation. All rights reserved. 20
Create the Mobile App Project
© 2014 Progress Software Corporation. All rights reserved. 21
Create the Mobile App Project
1. Click New Application. The Create a New Application box opens.
2. Click Create Mobile App. This opens the New Mobile App page.
3. In the New Mobile App page:
• Enter SampleMobileApp as the Mobile App Name.
• Enter "This is a Mobile App for sales representatives" as the Description.
• Select Phone App.
• Select Based on Existing Web App and select CRM from the drop-down list. The list of
Views in the CRM application is displayed.
4. Select All Leads from the list of Available Views and click the right-arrow to add
these to the list of Exported Views.
5. Click Save. This creates the Mobile App project and opens the Setup Mobile
Application page
© 2014 Progress Software Corporation. All rights reserved. 22
Adding Pages, Components and Events
In this exercise, first you will add a list to the AppDetailPage. Next, you will create a
page, Leads_Types, to display the different lead categories. Then, you will add an
event that enables navigation from the AppDetailPage to the Leads_Types page.
Finally, you will test the Mobile App.
Steps:
1. Adding a List
2. Creating the Leads_Types Page
3. Testing the Mobile App
© 2014 Progress Software Corporation. All rights reserved. 23
Using CRUD Operations: Read (View list of all Leads)
In this exercise, you will:
1. First add a list to the Leads_Types page.
2. Create and design the Leads_All_LeadsPage. This page will be used to display the
All Leads view.
3. Initialize the Leads JSDO.
4. Configure the JSDO operation that retrieves the list of all the leads.
5. Add an event to the Leads_Types page to enable navigation to
Leads_All_LeadsPage.
6. Test the functionality.
© 2014 Progress Software Corporation. All rights reserved. 24
Using CRUD Operations: Create a new Lead
In this exercise, you will:
Create and design the Leads_Add_New_Lead page.
Add and configure JSDO operations to populate the picklists
Add and configure the Create JSDO operation of the Lead object
Add and invoke the operation that initializes the Account JSDO Service
Add events to invoke the operations configured
Add a button to Leads_All_LeadsPage and then you will add an event that enables
navigation from Leads_All_LeadsPage to the Leads_Add_New_Lead page
Test the functionality of the Leads_Add_New_Lead page
© 2014 Progress Software Corporation. All rights reserved. 25
Finally ….
Packaging Android/iOS Apps
• Generates APK (Android) and IPA (iOS)
Testing the APK directly on an Android device
• During development, there are several ways to get the newly created APK on an Android
device for testing.
One common approach uses a Dropbox account:
• Create an account on http://dropbox.com .
• Click and drag the APK into Dropbox.
• Open http://dropbox.com from a browser on the mobile device and log in.
• Click on the APK from within the Dropbox application.This will begin downloading the
application onto the device.
• When the download is complete, click on the downloaded file on the mobile device. Follow
the device directions for installing the app.
© 2014 Progress Software Corporation. All rights reserved. 26
You can do much more
CRUD Operations
Mutliple Lists at the same time
Push Notifications
Geo-Location services
…..
References:
• Youtube (goo.gl/LT4nhM)
• Rollbase in Action (900+++ pages pdf)
• Progress Communities
• Slideshare
• ….