1 / 70

PWB531: Pocket PowerBuilder Introduction

PWB531: Pocket PowerBuilder Introduction. Ian Thain Technical Evangelist / Software Engineer ian.thain@sybase.com August 15-19, 2004. Ian Thain - PocketBuilder Evangelist ITSG Evangelist Team, Sybase Inc. ian.thain@sybase.com. The Enterprise. Unwired. The Enterprise. Unwired.

kalin
Télécharger la présentation

PWB531: Pocket PowerBuilder Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PWB531: Pocket PowerBuilder Introduction Ian Thain Technical Evangelist / Software Engineer ian.thain@sybase.com August 15-19, 2004

  2. Ian Thain - PocketBuilder EvangelistITSG Evangelist Team, Sybase Inc.ian.thain@sybase.com

  3. The Enterprise. Unwired.

  4. The Enterprise. Unwired. Industry and Cross Platform Solutions Manage Information Unwire Information Unwire People • Adaptive Server Enterprise • Adaptive Server Anywhere • Sybase IQ • Dynamic Archive • Dynamic ODS • Replication Server • OpenSwitch • Mirror Activator • PowerDesigner • Connectivity Options • EAServer • Industry Warehouse Studio • Unwired Accelerator • Unwired Orchestrator • Unwired Toolkit • Enterprise Portal • Real Time Data Services • SQL Anywhere Studio • M-Business Anywhere • Pylon Family (Mobile Email) • Mobile Sales • XcelleNet Frontline Solutions • PocketBuilder • PowerBuilder Family • AvantGo Sybase Workspace

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

  6. 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!

  7. 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!!!!

  8. JOLT • Recognizing the emergence of Mobile Development Tools in today’s wireless business environment, CMP Media's Software Development magazine has awarded a 14th Annual Productivity Award to Sybase Pocket PowerBuilder software. Sybase Pocket PowerBuilder was recognized as one of the best products or technologies in the award's Mobile Development Tools. • The awards were announced March 17 at the Santa Clara Convention Center in Santa Clara, California.

  9. Unwired Enterprise • Liquidity + Mobility = Unwired Enterprise • Liquidity - Free flowing information with economic value • Mobility - Freedom to work anytime, anywhere

  10. 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.

  11. 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.

  12. Why PPB ? • Pocket PCs • Send/receive email with Pocket Outlook • Sync your calendar • Sync your contacts • Sync your tasks • Comes with Pocket Word • Comes with Pocket Excel • Comes with Pocket IE • Connects to the internet

  13. Why PPB ? • Pocket PCs with phone edition are powerful tools • Constant Data Connections • 'Always Up-to-Date' Calendar, Contacts and E-mail • SMS Enhancements • Enhanced Messaging Support • Connectivity Notifications • Dual Volume Controls • Richer Ring Tone Support • Call Barring • Enhanced Contacts • Call Mute • Smartphone • Similar to Phone Edition • Limitations on device

  14. 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 CE, developers will be able to quickly and easily create powerful Pocket PC applications for a variety of uses. • Ideal for Mobile Smart Client development

  15. 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

  16. 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 !

  17. 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

  18. 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

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

  20. 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 Current GA v 1.5.x

  21. Pocket PowerBuilder Overview • BTW • SalesDB Tutorial

  22. 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

  23. 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

  24. 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.x GA

  25. 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!

  26. PPB vs. PB • Unsupported Functions … • OLE, • DDE, • CORBA, • Profiling, • Rich Text and a few more. • Unsupported Events contain • help(), • closequery(), • anything to do with remote (example remoteexec()), hotlinkalarm() and toolbarmoved().

  27. PPB vs. PB • Unsupported Features • MDI applications, • EAServer CORBA connections, • Web and JSP targets, NO PFC !

  28. PPB vs. PB • Unsupported DataWindow types • Composite • Crosstab • Label • N-Up • OLE2.0 • RichText

  29. 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

  30. 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 • FunctionDescription • SetSIPPreferredStateDisplays or hides the SIP used on the Pocket PC or emulator • SetSIPTypeSpecifies the SIP panel type (keyboard or character recognizer) used by the application on a Pocket PC or emulator

  31. New Controls With PDA Things like Rich Ink control…

  32. New Controls With PDA Things like DatePicker control…

  33. New Controls With PDA Things like Notification Bubble…

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

  35. BT GPS & Camera • Bluetooth Global Positioning System • HP Camera Integration

  36. 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.

  37. Windowor Application Close

  38. Window Title

  39. Menu At Bottom

  40. SIP Keyboard

  41. 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

  42. 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

  43. 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 !

  44. 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

  45. 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.

  46. 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.

  47. Today Screen pktdy15u.dll Display App 1 Run App 1 PPB Item 1 User taps Item PPB Item 2 Display App 2 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,each will have its own instance of the PPB VM Data Segment loaded • No communication can take place.

  48. 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

  49. 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.5 • 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

  50. Application Deployment • 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. • With Pocket PC Development… Distribution!

More Related