Pocket PowerBuilder.

Slides:



Advertisements
Similar presentations
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Advertisements

OneBridge Mobile Data Suite Product Positioning. Target Plays IT-driven enterprise mobility initiatives Extensive support for integration into existing.
Developing Windows ® CE Applications With Visual Basic ® Larry Roof tonked
PowerBuilder 11: .NET Web Forms
Pocket PowerBuilder v1.5 & v1.5.1 New features. Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
OnContact CRM Customer Relationship Management. CRM 7 Benefits Rich "client" experience, completely web-based Access data anytime, anywhere. Ease of navigation.
Tutorial 8: Developing an Excel Application
Pocket PowerBuilder Features
Miscellaneous Windows 2000 Desktop Features Windows 2000 Intermediate.
Polymorph Technologies Pte Ltd “ The Leader in Information Technology” ACCPOL (Point-of-Sales)
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Pocket PowerBuilder And Database Applications. Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Bar|Scan ® Asset Inventory System The leader in asset and inventory management.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
SharePoint Portal Server 2003 JAMES WEIMHOLT WEIDER HAO JUAN TURCIOS BILL HUERTA BRANDON BROWN JAMES WEIMHOLT INTRODUCTION OVERVIEW IMPLEMENTATION CASE.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Prepared by: Jennifer McKee With support from: in partnership with: Introduction to ArcPad NSF DUE
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Chapter 3.1:Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
SSIS Over DTS Sagayaraj Putti (139460). 5 September What is DTS?  Data Transformation Services (DTS)  DTS is a set of objects and utilities that.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Classroom User Training June 29, 2005 Presented by:
Advanced Forms Lesson 10.
XP New Perspectives on Introducing Microsoft Office XP Tutorial 1 1 Introducing Microsoft Office XP Tutorial 1.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Hands-On Virtual Computing
This presentation is the property of Paradigm Information Systems It is confidential to the intended recipient for the purpose of evaluating FMS Any other.
Using Visual Basic 6.0 to Create Web-Based Database Applications
THE EASY WAY TO STAGE ZEBRA’S ANDROID MOBILE COMPUTERS
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
CHAPTER TEN AUTHORING.
PowerBuilder Online Courses - by Prasad Bodepudi
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
CIS111 PC Literacy Getting Started with Windows XP.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
Copyright © 2012 UNICOM Systems, Inc. Confidential Information z/Ware Product Overview illustro Systems International A Division of UNICOM Global.
StageNow The easy way to stage Android mobile computers from Zebra Technologies.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Understanding StarTeam Enterprise Advantage Course #4124.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
The business logic engine for Microsoft IIS Speaker T.M. Arnett.
IAnywhere Solutions Mobile Computing on Linux Eyun Lindberg
Why PACKZ? Innovation No real innovations in pre-press for years Offers new approach using standard open file formats Technology is moving fast, we are.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
 1- Definition  2- Helpdesk  3- Asset management  4- Analytics  5- Tools.
Polymorph Technologies Pte Ltd “ The Leader in Information Technology”
Introducing the Windows Mobile development
An Introduction to Computers and Visual Basic
An Introduction to Computers and Visual Basic
Design and Consume DataWindows in Visual Studio 2005
Chapter 2 – Introduction to the Visual Studio .NET IDE
An Introduction to Computers and Visual Basic
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Pocket PowerBuilder

Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc. ian.thain@sybase.com

Agenda Introduction Unwired Enterprise Why PPB ? Enterprise Mobile Applications PPB Overview PPB vs. PB MobiLink Developing An Application Migrating Demonstrations

Introduction Over the last 11 years we have seen PowerBuilder grow and develop into the tool it is today. Originally for Client Server, then incorporating Component Development & RAD Thin Client Development. Also over the last 11 years we have seen increasing developments in DataWindow technology that has seen it appear (or not) as a non-visual DataStore, Java DataWindow and HTML DataWindow DataWindows EVERYWHERE? Well nearly! Reference material within PBDJ article

Introduction "Don't think big…Think Small!!" Pocket PowerBuilder is now coming to aid corporate development of Pocket PC applications, brining all the benefits RAD 4 GL and even the DataWindow technology. So we really can now say, DataWindows EVERYWHERE!!!! Reference material within PBDJ article

Unwired Enterprise Liquidity + Mobility = Unwired Enterprise Liquidity - Free flowing information with economic value Mobility - Freedom to work anytime, anywhere Reference material within PBDJ article

Why PPB ? Pocket PCs are becoming more popular and are produced by many manufactures such as HPTM, DellTM, ToshibaTM Pocket PC market leader HP - iPAQ Many companies are starting to realize the competitive advantage that occasionally connected Pocket PCs can provide in today’s business climate.  

Why PPB ? Pocket PCs are not as powerful or as feature rich as notebook computers or Tablet PCs but are a fully enabled computer operating within a mobile context But their small size is proving popular with road warriors looking to reduce the equipment they take with them while traveling Pocket PCs are also allowing organizations to provide automation in areas where computers wouldn’t fit Thus saving money by reducing data entry requirements and eliminating data entry errors.  

Why PPB ? While there are some development tools available for creating Pocket PC applications, no tool seems to combine the features of ease-of-use with power and flexibility quite like Pocket PowerBuilder. With Pocket PowerBuilder and Adaptive Server Anywhere for CETM, developers will be able to quickly and easily create powerful Pocket PC applications for a variety of uses. Ideal for Mobile Smart Client development

Why PPB ? Mobile Smart Client Application where client side business logic is executed on device Persistent data storage on the device Application can be executed at any time, even without a wireless connection Integration to the enterprise is typically provided via synchronization Client application communicates data to the back end via a synchronization server

Enterprise Mobile Applications Identifying a candidate for a mobile application For existing systems… Not replace but extend What advantage or +ve impact? User needs Current inefficiencies   Not just a Port or conversion !

Enterprise Mobile Applications Identifying common functionality   Existing System Mobile Sysytem Common functionality Greatest common denominators of functionality Some functionality may not be practical for mobile users

Enterprise Mobile Applications Key areas for a mobile application Usability (including intuitiveness, efficiency, ease of use & reliability) Innovation (including New Functionality) – maybe from using mobile technologies BPI (including extending existing systems) – it should fit well into existing business processes ROI – As always a return on investment is a major factor  

Enterprise Mobile Applications Potential Systems for Mobile Applications Data Collection Inventory Management Customer Relationship Management Event Tracking Sales Force Automation Healthcare Field Force Automation Mobile Healthcare

Pocket PowerBuilder Overview Productive 4GL IDE Supports complete development cycle Rich component set Visual development with minimal coding Currently based on the PB8 code line DataWindow control Single component providing sophisticated data representation Built in SQL for selects, updates, inserts and deletes Reference material within PBDJ article Current GA v 1.5

Pocket PowerBuilder Overview BTW SalesDB Tutorial

Pocket PowerBuilder Overview DataWindow Control Advanced control for displaying and manipulating data Available in many formats Freeform Graph Grid Group Tabular Reuse existing DataWindows with little effort

Pocket PowerBuilder Overview PowerScript Powerful OO language Inheritance Polymorphism Overloading & Overriding Event driven Based on Basic/Pascal User Events User Functions User Objects Visual Non Visual Reference material within PBDJ article

Pocket PowerBuilder Overview Tight Integration with SQL Anywhere Studio Easily develop mobile “smart client” applications with ASA Forte’ is the occasionally connected database application (necessary for wireless use) Integration with MobiLink for data synchronization Other Database Drivers After 1.5 GA

Pocket PowerBuilder Overview Rich Set of components Command Button, Picture Button, CheckBox, Radio Button, Static Text, List View, Tree View, List Box, DropDown List Box, Edit Mask, Single Line Edit, MultiLine Edit, Progress Bar, Scroll Bars, Line, Oval, Rectangle, Tabs, and many, many more! Plus the ability to create new components!

PPB vs. PB Unsupported Functions within OLE, DDE, CORBA, Profiling, Printing, Rich Text and a few more. Unsupported Events contain help(), closequery(), anything to do with remote (example remoteexec()), hotlinkalarm() and toolbarmoved(). Reference material within PBDJ article

PPB vs. PB Unsupported Features MDI applications, EAServer CORBA connections, Web and JSP targets, and Automation server. NO PFC ! Reference material within PBDJ article

PPB vs. PB Unsupported DataWindow types Composite Crosstab Label N-Up OLE2.0 RichText Reference material within PBDJ article

PPB vs. PB Environment variables In both products, the enumerated types for the Environment object returned by a GetEnvironment call include the OSType and CPUType. Pocket PowerBuilder has additional values for the GetEnvironment OSType and CPUType. For a Pocket PC platform, the value returned for the GetEnvironment OSType is "WindowsCE!" and the value returned for the CPUType is "ARM!". ORCA Script Both PB & Pocket PowerBuilder ship with ORCA Script as of v1.5 Reference material within PBDJ article

PPB vs. PB System functions for SIP Pocket PowerBuilder has system functions to control the display of the Soft Input Panel (SIP) on a Windows CE device or emulator Function Description SetSIPPreferredState Displays or hides the SIP used on the Pocket PC or emulator SetSIPType Specifies the SIP panel type (keyboard or character recognizer) used by the application on a Pocket PC or emulator Reference material within PBDJ article

New Controls With PDA Things like Rich Ink control…

New Controls With PDA Things like DatePicker control…

New Controls With PDA Things like Notification Bubble…

New Controls Other Native controls HP 5400 & 5500 Series Biometric Fingerprint Scanner Symbol Barcode Scanner

Different Functionality Upper-Right Corner Window Controls Changed for PDA Standards. ok Close the window, or the entire application X Smart-Minimize, to minimize the window or entire application.

Window or Application Close

Window Title

Menu At Bottom

SIP Keyboard

Different Functionality Window Concepts are Different NO MDI “main!” and “response!” Windows Only No Mouse Seldom Use “drag and drop” Seldom Use “mouse move” Left & Right Click events mapped to “tap” & “tap-hold” gestures Not Supported DataWindow Types: Composite, Crosstab, Label, Nested, N-Up, OlE, and RichText Not Supported Object Types: ADOResultSet Inet Pipeline Connection InternetResult Profiling ContextInformation JaguarORB SSLCallback ContextKeyword MailSession SSLServiceProvider CORBAUnion OLEObject Timing DynamicDescriptionArea OLEStorage TraceFile DynamicStagingArea OLEStream TraceTree ErrorLogging OLETxnObject TransactionServer Post GA we may add back: Trace**, OleObject, DynamicDescription & Staging Area, a few others

Different Functionality Menu Concepts are Different Space Limitations Width is 6 items MAX Some Event Differences Top level items don’t get a “menu event” Sub-Menus DO… Toolbar is a separate object In PB toolbar is a MDI Menu property In PPB Toolbar has a separate object ‘painter’ Can be at top or bottom Not Supported DataWindow Types: Composite, Crosstab, Label, Nested, N-Up, OlE, and RichText Not Supported Object Types: ADOResultSet Inet Pipeline Connection InternetResult Profiling ContextInformation JaguarORB SSLCallback ContextKeyword MailSession SSLServiceProvider CORBAUnion OLEObject Timing DynamicDescriptionArea OLEStorage TraceFile DynamicStagingArea OLEStream TraceTree ErrorLogging OLETxnObject TransactionServer Post GA we may add back: Trace**, OleObject, DynamicDescription & Staging Area, a few others

Different Functionality Synchronization Pocket PowerBuilder also surpasses PowerBuilder with the introduction of a MobiLink wizard Generates PowerScript code (NVO’s) & Windows for within your application, to interact with a MobiLink Server. PPB VM pkvm15u.dll has a footprint of 3.8MB ! Reference material within PBDJ article

Different Functionality Adaptive Server Anywhere mobile database Uses full data storage capabilities of Adaptive Server Anywhere on Windows CE client Database access via ODBC MobiLink data synchronization MobiLink bi-directional data synchronization used to integrate with other enterprise databases (Sybase ASE and ASA, Oracle, MS SQL Server, IBM DB2) New component to manage synchronization properties & maintenance of synchronization

Different Functionality Integration with POOM Pocket Outlook Object Model POOM is the key to the Pocket Outlook object managers repository This repository is the object store for the Pocket PC contact manager, appointment manager & task manager. So with the POOM object & Pocket PowerBuilder we can now enquire, access, create, update & delete contacts, appointments and tasks programmatically from within Pocket PowerBuilder applications in a very 4GL way.

Different Functionality Today Item In PPB, the custom Today item and its parameters are part of the Application object, and you can use the Application painter to set Today item properties. The Today Item means several things from being a way of displaying data from a Pocket PowerBuilder Application onto the Display screen, to being a glorified shortcut to a Pocket PowerBuilder application, as well and even a combination of the two.

Different Functionality Today Item Two types of applications are needed for Today Items, they are the Display Application & the Run Application. If you have both a Display Application and a Run Application that each will have its own instance of the Pocket PowerBuilder VM loaded as the Today Screen has its own memory space and no communication can take place.

Developing an Application Design & Develop with the Pocket PowerBuilder IDE on a PC. Test on the PC with the Pocket PowerBuilder IDE, Pocket PC emulator (especially if you’re not the lucky developer with a Pocket PC device) Pocket PC device itself. Deploy to the Pocket PC device via ActiveSync for final testing, user acceptance etc. Distributed finally as CAB files Reference material within PBDJ article

Application Deployment Pocket PowerBuilder applications can be run on the mobile device in two ways: 1) Using the ‘stub’ application that is installed into the Pocket PC start menu as Pocket PowerBuilder 1.0 2) By clicking directly on the application .exe (which is put into the ..\windows directory by default) Deployment Platforms ARM based Pocket PC devices This covers all devices coming out with Pocket PC 2002 & Windows Mobile 2003 operating systems MIPS, SH3 chipsets are not supported as device manufacturers have all but stopped making these devices

Application Deployment With Pocket PC Development… Distribution! Achieved by the Pocket PowerBuilder interface to Microsoft's CABWIZ, in the project painter. This enables the automatic creation of your .EXE & .PKD's into distributable .CAB files. The CAB generation process also generates an .INI file for creating a setup.exe. This uses the OpenSource EZSetup The distributable Pocket PowerBuilder files (VM etc) are installed with the IDE and can be distributed separately from your application.  

PPB Application Architecture SOAP (Web Services) Device Enterprise App Server Pocket PowerBuilder Virtual Machine Sample Application) TCP/IP HTTP HTTPS ActiveSync (wired or wireless) Consolidated Database (Sybase/Oracle/ Microsoft/IBM) ASA ML MobiLink

Demonstrations Basic Pocket PowerBuilder App Use the wizard to generate an application Build a DataWindow Object Place objects on the window Code PowerScript Deploy Run  

Migrating PowerBuilder Applications Basics PPB provides a wizard to import an existing PB application into the PPB environment. Objects developed in PPB can be exported for import into PB. Migration from PB to PB is very easy Make sure your PB code conforms to PPB before opening it in the PPB IDE, as it may not open! Don't worry too much as those nice guys in engineering have given up a facility to change & compile source code in PPB  

Migrating PowerBuilder Applications

Migrating PowerBuilder Applications File Extensions that differ File type PB extension PPB extension Workspace PBW PKW Target PBT PKT Library PBL PKL Dynamic library PBD PKD Resource file PBR PKR The file name for the Pocket PowerBuilder initialization file is PKU.INI. The U stands for Unicode. PowerBuilder supports ANSI character sets. Pocket PowerBuilder primarily supports Unicode, although it does allow you to import and export files with ANSI character sets Reference material within PBDJ article

Migrating PowerBuilder Applications From PPB to PB PPB provides a wizard to export an existing PPB application into the PB environment. Reference material within PBDJ article

Migrating PowerBuilder Applications With Pocket PC Development… size matters ! Pocket PC devices has 80 - 85% less viewable area than a 1024 x 768 average screen. PPC screen size is 320 x 240 pixels  

Migrating PowerBuilder Applications With Pocket PC Development… watch out for the differences ! Some events/actions that we take for granted on PC are not part of the Pocket PC platform, such as right click. There is no MDI support, so developers tend to code one window with TAB controls as a way of getting around this problem. Menu's are also on the bottom of the screen, but act as menus in Windows. Window persistence will be an initial design challenge to the Pocket PowerBuilder developer, as when Pocket PC apps are closed, via the window like X in the top right hand corner of the application, they are actually minimized and stay resident in the device memory  

Migrating PowerBuilder Applications With Pocket PC Development… watch out for Performance! Intel XScale processor is the fastest CPU being used by PPC Next generation of StrongARM processor ARM v5 instruction set compatible with StrongARM 200 – 400 MHz, better than MIPS, SH3 & ARM Limiting factors for Pocket PC development No Math Co-Processor – Stay away from heavy computations ! Pocket PC 2002 - OS not optimized for Xscale Windows Mobile 2003 lean & mean !  

Migrating PowerBuilder Applications RAM, which is 32-128 MB (dependant on the device & model purchased) is not only used for storage of the data on your device but also for the memory whilst running applications. Trade off on storing a lot of information & applications with how many you can run. Pocket PC devices can extend their storage capability by using Compact Flash or Secure Digital Memory cards. Information and applications can be stored on the Memory card, freeing up the RAM for running programs on the device.   With Pocket PC Development… watch out for Performance!

Demonstrations TechWave Application View all sessions   Demonstrations View all sessions Filter by Instructor, Product Focus, Track & Day View conference maps Add sessions to your own agenda Originally had facility for session evaluation Does not use Synchronization First mass deployed PPB application

Demonstrations Pocket myPortfolio   Demonstrations Create Portfolios, Details, Alerts & Shares View current Portfolio Values View current Share Prices & History Alert notification Update Share prices via PocketSOAP & XMethods webservice Uses Synchronization & has PB client

Demonstrations Pocket Waiter   Demonstrations Allocate table to customer, take order & order payment View Menu, Specials & Reservations Uses Synchronization & has PB client

Demonstrations Biometric App   Demonstrations Train 10 fingers to represent 10 presidents Information stored in ASA Random fingers matched to President Uses HP’s Biometric API & Scanner

Conclusions Pocket PowerBuilder is the smallest, err… I mean biggest thing to happen in the realm of PowerBuilder & Pocket Device Application development in a long while. Never has such a highly productive 4GL, with the additional strength of the DataWindow, been made available for developers of hand held mobile applications.

Pocket PowerBuilder Code Examples Pocket PowerBuilder code examples can be found on the CodeXchange, http://pocketpb.codexchange.sybase.com

Answers Questions and Ian Thain Pocket PowerBuilder Evangelist PTOG Evangelist Team, Sybase Inc. ian.thain@sybase.com Check out PBDJ for Pocket PowerBuilder articles