SHARE
Follow this article on Twitter Facebook LinkedIn Bookmark and Share
Home >> Information Architecture

Windows Phone 7 gets open source database

Windows Phone 7 gets open source database

By:  John Cox  On: 06 Jul 2010 For: Network World (U.S.) Creator

A U.K.-based mobile software developer has ported an embedded database product to Microsoft's Windows Mobile 7 operating system. Perst is currently the only open source database management system available for WP7

In response to Wigley's port, McObject announced last week it was supporting Windows Phone 7 for Perst, ahead of schedule, in part by incorporating Wigley's change in the open source data base. It's available on the Perst download page.

Perst, available for either Java or for Microsoft's C# language (used for its .NET Framework), is designed as a full object-oriented database that can run fast with limited memory and low storage overhead, according to McObject.

But company executives say they were surprised by the Windows Phone 7 port, and the interest it has sparked. Chris Mureen, McObject's chief operating officer, says they were using SocialOomph (previously know as TweetLater) to track Twitter references to Perst. They saw a "significant uptick" in tweets after Wigley blogged about the port.

Unlike the previous Windows Mobile OS, but like rival platforms such as Androic and Apple iOS, Windows Phone 7 applications are sandboxed: isolated from each other and the operating system as a security measure. "There is no way for apps on the phone to share data, other than if they both connect to a Web service that you've written for that purpose," Wigley says.

Currently, the OS stores application data as serialized XML files, according to Wigley, "which is fine for simple data." But using Perst gives "real "RDBMS-like capabilties," making it simple to store, search and retrieve large volumes of data.

Wigley made available three code samples. One is the Perst port. Second is a code that lets you create, read, update, delete and search the WP7 contacts application, which includes a "Generate Data" feature that creates an hierarchy of related records in the database: contacts, activities and leads. "I just haven't written the UI yet to allow the [sample] app to work with [these] latter record types," he says.

The third sample is an AutoSuggestTextBox custom control, which permits full text search of the database. As you type text in the search box, it shows possible contact matches in a drop-down list.

Perst is available under the GPL license, and is free for non-commercial use. For commercial applications, there is a license fee. Another version, Perst Lite, runs in the Java ME (Micro Edition) runtime, which is deployed on BlackBerry devices.

McObject also offers a commercial product eXtremeDB, real-time embedded database. It was updated in May, with changes including faster on-disk storage and retrieval, new encryption options, and improved transaction logging.

Follow John Cox on Twitter: http://twitter.com/johnwcoxnww










Sign up for our Newsletters












Print |  Views: 3811   |   Rating:onoffoffoffoff  (1 votes)
Rate this article on a scale of
1 to 5 stars,5 being the best.




john cox John Cox is a contributor to the International Data Group (IDG) News Service, which publishes global technology stories from bureaus around the world to more than 300 publications in more than 60 countries.
blog comments powered by Disqus