| By Ian Thain | Article Rating: |
|
| February 4, 2011 05:30 AM EST | Reads: |
579 |
Though the title of this article is about the Consolidated Database, I will be discussing equally the Remote database. But before let me recap on Synchronization...
Synchronization is the sharing of data between consolidated and remote databases, where a summary of changes are synchronized instead of all changes. The Synchronization process can provide subsets of data defined by client or server and supports Bidirectional and unidirectional synchronization, with the guarantee of data consistency.

Data is downloaded to the remote database and Data is uploaded to the consolidated database. For uploads change tracking is built into the remote database/client and ONLY changes since the last complete synchronization are sent. Download data is selected from the consolidated database based on synchronization scripts. With SUP these scripts are created automatically but can be amended if required.
Below is a diagram of the consolidated database for iSurvey, created in SQL Anywhere 11. Unlike some applications, all of these tables within the iSurvey consolidated database will appear within the remote database. Sometimes the data in the remote database used for mobile applications is a 'slice and dice' of the consolidated database. By that I mean maybe not all the tables or all of the columns of the tables are used in the remote, as well as the data being partitioned by users. This last point is true for iSurvey... by suid. The remote database for SUP on iOS is SQLite and the synchronization method is Message Based. For Windows 32, Windows Mobile and Blackberry you can use Replication based synchronization, along with Sybase's SQLAnywhere/UltraLite database.

What I have not mentioned up until now is the creation of the Remote Database. Reason is that this step falls in the areas on defining the Mobile Business Objects (MBO's that I will explain next week) and when running the application. Basically when defining the MBO's you are defining what the Remote Database will look like and when the Mobile application connects to the Unwired Server the Remote Database will be created on the device automatically, then the synchronization of data will occur.
Whilst writing this week's article, I had a conversation with another LinkedIn use with respect to SQL Anywhere and SUP, the question was...
"I have been developing ASA apps for the last 10 years; and have been trying to find out how to port my existing apps to the iPad; is this SUP effectively spelling the end of ASA?".
Here was my answer...
"ASA is NOT going away.... and it ROCKS! The skills you learn with ASA and ML etc can be used across platform, though the programming against it would have to be different for each platform. SUP is the best was to go forward if you are building for different OS'/Devices and many apps.... check out the other articles I have...for example http://ianthain.ulitzer.com/node/1612037. SUP has a Device Application Designer that will help generate an application, to a certain point.... then you can enhance them in the language of the device... Objective-C for iOS, C# for WM etc. Or create the app from scratch in language of the device"
Separate to SUP, here is a list of supported databases with SQL Anywhere...
“Remote database”
- UltraLite, UltraLiteJ, SQL Anywhere
“Consolidated database”
- SQL Anywhere
- Sybase ASE
- Oracle
- Microsoft SQL Server
- IBM DB2 UDB LUW (Linux, Unix, Windows)
- IBM Mainframe
- MySQL
Please check back weekly on a Friday for the next article and please follow me on Twitter @ithain
Published February 4, 2011 Reads 579
Copyright © 2011 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Ian Thain
As one of the Sybase Technical Evangelists, Ian regularly addresses technical audiences all over the world and his sessions are always very well attended. He also writes education classes, whitepapers, demos and articles for various Sybase products and publishes regularly in Journals such as SYS-CON's PBDJ and International Developer Magazine. He is also the Sybase Unwired Platform & PocketBuilder Evangelist and works closely with the team in Dublin, CA and Concord, MA on new features and demonstrations for the products. He is also Tech Chair of iPhone Development Summit 2009 - New York (June) and San Francisco (November). In his customer-facing Evangelist role, Ian is very involved with the design, production and testing of Enterprise class Unwired Solutions, that have been implemented using Sybase's Unwired tools for Sybase customers around the globe. In addition, Ian is a dedicated technical expert continually working with Sybase's key partners and clients to enhance the capabilities of the Unwired solutions that Sybase can offer to its customers. Ian can also be found on Twitter @ithain
- Cloud Expo, Inc. Announces Cloud Expo 2011 New York Venue
- To HTML5, or Not to HTML5, That Is the Question
- Okta Seeks to Accelerate Secure Adoption of Cloud Apps
- Sybase CTO to Present The Race Towards Zero at Cloud Expo 2011 New York
- ISUG .NET Training Days
- Refactoring Corner: Partitioning DataWindow Technology
- Calling .NET Components from PowerBuilder
- Mobile Enterprise Applications Poised to Take Off in 2011
- PowerBuilder in the Land of Banking and Precision Watches
- Setting the Scene and Overview of a MEAP
- Where Do You Go for PowerBuilder Info?
- Harvest R7 – R12: Performing an Upgrade Process
- Cloud Expo, Inc. Announces Cloud Expo 2011 New York Venue
- Sybase 365 Survey: Consumers to Put Money Where Their Mobile Devices Are
- What’s New in PowerBuilder 12.1?
- To HTML5, or Not to HTML5, That Is the Question
- Okta Seeks to Accelerate Secure Adoption of Cloud Apps
- Bound and Tied: What Is Data Binding?
- Enterprise Mobility: Review of 2010
- PB12.NET Training Day
- Sybase CTO to Present The Race Towards Zero at Cloud Expo 2011 New York
- Enterprise Mobility in the Capital of the European Union
- ISUG .NET Training Days
- Refactoring Corner: Partitioning DataWindow Technology
- Where Are RIA Technologies Headed in 2008?
- PowerBuilder History - How Did It Evolve?
- The Top 250 Players in the Cloud Computing Ecosystem
- DDDW Tips and Tricks
- OLE - Extending the Capabilities of PowerBuilder
- Dynamically Creating DataWindow Objects
- Working with SOA & Web Services in PowerBuilder
- Custom Common Dialogs Using SetWindowsHookEx
- DataWindow.NET How To: Data Entry Form
- Sybase ASE 12.5 Performance and Tuning
- Book Excerpt: Sybase Adaptive Server Anywhere
- Office 2003 Toolbar: A New Look For Your Old PowerBuilder App





































