Grab Your Tablet, Because You re Gonna Build A Mobile Apex App in One Hour!



Similar documents
BPM ORACLE BPM: AN OVERVIEW. By: Chris Ostrowski. Oracle BPM: An Overview i. Copyright 2014 Avout Copyright 2014 Avout

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

<Insert Picture Here>

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

Developing Cross-platform Mobile and Web Apps

Cross-Platform Tools

max firt.mobi martes 26 de julio de 11

ORACLE APPLICATION EXPRESS 5.0

Responsive Web Design in Application Express

50 shades of Siebel mobile

What s New in IBM Web Experience Factory IBM Corporation

Oracle Application Development Framework Overview

White Paper Using PHP Site Assistant to create sites for mobile devices

Going Beyond SAP ITS Mobile Apps to a Responsive Design Mobile Apps. JK (JayaKumar Pedapudi) Principal Consultant NTT DATA, Inc.

Responsive Web Design. vs. Mobile Web App: What s Best for Your Enterprise? A WhitePaper by RapidValue Solutions

ACE: Dreamweaver CC Exam Guide

HYBRID APPLICATION DEVELOPMENT IN PHONEGAP USING UI TOOLKITS

SYST35300 Hybrid Mobile Application Development

ArcGIS Web Mapping. Sam Berg, esri

CHOOSING THE RIGHT HTML5 FRAMEWORK To Build Your Mobile Web Application

Cross-Platform Phone Apps & Sites with jquery Mobile

Lecture 4 Cross-Platform Development. <lecturer, date>

SPELL Tabs Evaluation Version

Accelerating Business Value by

Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory

Statement of Direction

Cross-Platform Mobile Apps Solution

Extending Oracle Applications on Mobile Using Oracle MAF and Oracle Mobile Security

White Paper INTRODUCTION. In mobile development, there are three different types of applications: PRE-SMARTPHONE MOBILITY NATIVE MOBILE APPLICATIONS

Coding for Desktop and Mobile with HTML5 and Java EE 7

Mobile Development Frameworks Overview. Understand the pros and cons of using different mobile development frameworks for mobile projects.

Developing Applications for ios

ADF. Joe Huang Joe Huang Senior Principal Product Manager, Mobile Development Platform, Oracle Application Development Tools

Lab 0 (Setting up your Development Environment) Week 1

A Beginners Guide To Responsive, Mobile & Native Websites 2013 Enhance.ie.All Rights Reserved.

Smartphone Application Development using HTML5-based Cross- Platform Framework

Adobe Marketing Cloud Bloodhound for Mac 3.0

MOBILIZING ORACLE APPLICATIONS ERP. An Approach for Building Scalable Mobility Solutions. A RapidValue Solutions Whitepaper

DreamFactory & Modus Create Case Study

Develop Mobile Applications. with. Instant Developer

Office 365 deploym. ployment checklists. Chapter 27

Software Development Environment. Installation Guide

38 Essential Website Redesign Terms You Need to Know

Implementing Mobile Thin client Architecture For Enterprise Application

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

Enterprise Mobile Application Development: Native or Hybrid?

Developing ASP.NET MVC 4 Web Applications

Creating a generic user-password application profile

New Features: What s new in Windows Intune?

Sage CRM. Sage CRM 7.3 Mobile Guide

Setting Up groov Mobile Apps. Introduction. Setting Up groov Mobile Apps. Using the ios Mobile App

Portal Instructions for Mac

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

How To Use Titanium Studio

Sage CRM. Sage CRM 2016 R1 Mobile Guide

MEAP Edition Manning Early Access Program Hello! ios Development version 14

Record Management in SharePoint

Is Liferay Right for Your Organization? Seven Things to Consider When Choosing a Portal Platform

JTouch Mobile Extension for Joomla! User Guide

Optimizing your E-Business Suite for Mobile and Tablet

WHITEPAPER BEST PRACTICES IN MOBILE APPLICATION TESTING

RhoMobile Suite. Develop applications for the next generation of business mobility

Sizmek Formats. IAB Mobile Pull. Build Guide

Compiere Technical Architecture Modern, configurable, extendible

Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system.

A set-up guide and general information to help you get the most out of your new theme.

Mobile Apps, Mobile Web, and Other Cool Tools. Thursday, November 9, :00pm 4:00pm Michael Hostad and Scott Owczarek

100% NO CODING NO DEVELOPING IMMEDIATE BUSINESS -25% -70% UNLIMITED SCALABILITY DEVELOPMENT TIME SOFTWARE STABILITY

Using the Jive for ios App

Native-quality, cross-platform HTML5 apps. Peter Helm

Office 365 deployment checklists

Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory IBM Corporation 1

Cross Platform Mobile. -Vinod Doshi

Software Re-Engineering and Ux Improvement for ElegantJ BI Business Intelligence Suite

Developing ASP.NET MVC 4 Web Applications MOC 20486

Setting up ATI Eyefinity Technology Display Groups is easy using ATI Catalyst Control Center!

A Tool for Evaluation and Optimization of Web Application Performance

ADF Mobile Overview and Frequently Asked Questions

Gauge Drawing Tool Slider Drawing Tool Toggle Button Drawing Tool One-Way List Drawing Tool... 8

Oracle Application Express MS Access on Steroids

Sage CRM. 7.2 Mobile Guide

Navigating the Mobile App Development Landscape

The Suitability of Native Application for University E-Learning Compared to Web-Based Application

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

Going Mobile-does your website work on mobile devices?

ON24 MOBILE WEBCASTING USER GUIDE AND FAQ FEBRUARY 2015

Making the Most of Existing Public Web Development Frameworks WEB04

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Business mail 1 MS OUTLOOK CONFIGURATION... 2

Development of mobile applications for multiple platforms


Throughout this document, you will be instructed to log in as user Ann, or as user Julia. Log in using the user name assigned to you.

<Insert Picture Here> Oracle Application Express 4.0

Designing for the Mobile Web Lesson 3: HTML5 Web Apps

Table of Contents. Overview Supported Platforms Demos/Downloads Known Issues Note Included Files...

Mobile application testing is a process by which application software developed for hand held mobile devices is tested for its functionality,

Transcription:

Grab Your Tablet, Because You re Gonna Build A Mobile Apex App in One Hour!

Table of Contents Overview 1 Native or Web-Based App? 1 jquery Mobile 2 Benefits 2 Advantages 2 Disadvantages 3 Oracle Application Express 4.2 3 Oracle Application Express 4.2: Step-by-Step Instructions 4 Conclusion 6 About the Author 7

Overview You don t need a pile of Gartner reports to know that mobile applications are hot. More and more end users (both internal and external) want to BYOD (Bring Your Own Device) to access their applications. On top of that, end users expect more and more functionality from within the applications running in their web browsers. There is a whole new generation of users that have no qualms about expecting the type of functionality once reserved for desktop applications in their mobile experience. Moving applications to mobile environments (or developing from scratch) can be a tricky process. There are numerous variables to consider when undertaking such a development task. This whitepaper outlines some of the basic challenges and spells out why Oracle Application Express 4.2 is an excellent solution for developers and organizations looking to create mobile-based applications. Native or Web-Based App? One of the first questions a development team will need to answer is the question of whether to develop their application as a native application or a web-based application. While there are many benefits to native development, there are some serious drawbacks: Forcing users to use a specific platform/developing for multiple platforms A native app has the benefits of speed and the ability to use features unique to a specific platform, but that also means that you are locking in your users to that platform. Developing an ios app might gain you a ton of customers, but what about Android or Windows Mobile users? If you decide to develop for multiple platforms, which version(s) of Android will you support? In a very short time, developing a native application for mobile devices can turn into a logistical nightmare. Testing Platforms like Android allow you to move your app to a device for testing, but ios does not. Sure, there are emulators for virtually every platform, but it isn t the same as having end users run the application on their mobile device of choice. Development environment Android development can be done on Mac, Linux, or Windows platforms. ios development can only be done on a Mac. The UI The user interface can change at any time in the future as resolutions, device sizes, and input methods change. Languages each environment has its own core language. ios uses Objective-C, Android uses a flavor of Java, and Windows Mobile uses.net. Each of these environments has its own quirks and development methodologies. 1

jquery Mobile Web-based applications have their own set of unique challenges, not the least of which involves the user interface. We ve probably all seen sites that re-direct us to mobile sites when accessed from a mobile device. If a different set of code had to be used for every different type of mobile device out there, it would be just as complicated (if not more so) to develop web-based mobile applications. Luckily, there exists a technology that makes designing and formatting a mobile-based user interface much easier for developers. From Wikipedia: jquery Mobile is a touch-optimized web framework (additionally known as a JavaScript library or a mobile framework). The development focuses on creating a framework compatible with a wide variety of smartphones and tablet computers, made necessary by the growing but heterogeneous tablet and smartphone market. Benefits Some of the benefits of jquery Mobile include: Compatible with all major mobile platforms as well as all major desktop browsers, including ios, Android, Blackberry, WebOS, Symbian, Windows Phone 7, and more. Built on top of jquery core so it has a minimal learning curve for people already familiar with jquery syntax. Theming framework that allows creation of custom themes. Limited dependencies and lightweight to optimize speed. The same underlying codebase will automatically scale to any screen. HTML5-driven configuration for laying out pages with minimal scripting. Ajax-powered navigation with animated page transitions that provides ability to clean URLs through pushstate. UI widgets that are touch-optimized and platform-agnostic. Advantages Some of the advantages of using jquery Mobile include: Easy to learn and Quick to iterate. Avoid App Store Approval Madness & Debug Build Hell. Cross-platform & cross-device. Provides an abstraction over various events, e.g. rotating a device, swipes, etc. Large library / AJAX support. 2

Disdvantages Some disadvantages include: Slower Than Native. Quirky. Limited Capabilities vs. Native. This paper and presentation are not designed to go over the syntax of the jquery Mobile framework. Rather it is designed to show how features in Oracle Application Express 4.2 can take advantage of this existing framework to create web-based Oracle-driven applications for mobile devices quickly and easily. Oracle Application Express 4.2 In 2012, Oracle released a major upgrade to their free development environment, Oracle Application Express 4.2. One of the key features included support for the jquery Mobile framework, native to the Oracle Application Express wizards. In 4.2, developers can now select a jquery Mobile template when designing their applications. Without having to write any code whatsoever, a mobile-ready application can be generated directly out of Oracle Apex. That is not to say that the developer is locked into the jquery Mobile template provided by Oracle. Like any other template within Oracle Apex, the template can be copied and modified by the developer for appropriate use. Oracle provides a single template for mobile applications, but the code behind it is freely available for use and modification by the developer. For Apex 4.2, it is important to note (from the Oracle documentation): When there is a way to adjust the process rather than customize the application, business process re-engineering is always preferable. Oracle Application Express does not include the entire jquery UI library. You can easily activate other components of jquery UI by just including the relevant files. For example, to include the Tabs jquery UI Widget in your application, you would include the following in your Page Template, Header within the <head>...</head> tags as shown in the following example: <link href= #IMAGE_PREFIX#libraries/jquery-ui/1.8.14/themes/base/minified/jquery.ui.tabs. min.css rel= stylesheet type= text/css /> <script src= #IMAGE_PREFIX#libraries/jquery-ui/1.8.14/ui/minified/jquery.ui.tabs.min.js type= text/javascript > </script> 3

Oracle Application Express 4.2: Step-by-Step Instructions To begin creating your mobile application, you start out like any other Apex app: once your administrator has provisioned a workspace for you, you log in and create a new application: Notice that there is a new field called User Interface and in the drop down, there s a new value called jquery Mobile Smartphone. By selecting this, you ll be limited to a single template when it comes time to start designing your pages: This doesn t mean you can t mix Desktop themes and jquery Mobile themes in the same application any time you create a new page, you can assign any template you want to it. In fact, it s very common to have both a Desktop and Mobile version of each page in the application with a small piece of code that redirects to the appropriate page depending on how the application is accessed. After the template is selected, you can continue to develop your Apex application just like any other Apex application. 4

One of the great things about jquery Mobile is the ability to resize the browser and see how the application will look in a mobile device. Note how in the next two screen shots the browser can be re-sized to simulate portrait and landscape modes: This can give you immediate feedback as to how jquery Mobile-based applications will look in a typical mobile device. You also have the freedom to access the page in question from your mobile device (just copy the URL) for a true hands-on evaluation environment. 5

The developer has full access to the screen templates. To view and/or modify it, simply return to the main page of the application and click Shared Components. From there, click Templates. If you haven t defined any additional themes in the application, the only value in the Theme drop down box will be 50. jquery Mobile Smartphone. From here, you can modify any piece of the template starting with the highest part of the page hierarchy (Page) all the way down to the lowest part (individual elements: label, list, popup, etc.). Conclusion Developing mobile-based, Oracle-driven applications for mobile devices doesn t have to be an arduous task. Oracle s Application Express development environment allows developers to utilize the latest in mobile application development technology to create Oracle-driven web applications that can be viewed on a plethora of mobile devices with a minimum amount of written code. 6

About the Author Chris Ostrowski is the Oracle Solution Architect Director at Avout. He has worked with Oracle technologies for over 20 years as a Developer, DBA, Project Manager, and Enterprise Architect. He is a certified Oracle SOA Implementation Champion and an Oracle ACE, well-versed in assembling complex, end-to-end solutions spanning multiple competencies and platforms. Recently, Chris has focused his efforts on service oriented architecture (SOA) technologies including Oracle JDeveloper and the Oracle SOA Suite, and enterprise technologies including Oracle Fusion Applications and Oracle s Application Integration Architecture. He is the author of three books from Oracle Press: Oracle Application Server 10g Web Development, Oracle Application Server Portal Handbook, and the soon-to-be-released Migrating to Fusion Applications. He has written articles for technology publications including Update, Select, Oracle Magazine, and the Oracle blog, and frequently presents at Oracle OpenWorld and various Oracle User Groups. Prior to joining Avout, Chris worked as a Director and Oracle Solution Architect for Fujitsu Consulting. He holds a Bachelor of Arts from Rutgers University. In his spare time he is an avid hockey fan and plays the guitar. If you have any questions about Mobile Apex Apps, please contact Chris.Ostrowski@avout.com. 76