Over a million developers have joined DZone.

PhoneGap Hybrid Applications: Populate Controls with Client-side Data Cache

DZone's Guide to

PhoneGap Hybrid Applications: Populate Controls with Client-side Data Cache

Check out how to populate controls with client-side data caches in PhoneGap hybrid apps with this awesome video!

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

In a PhoneGap hybrid application, if your UX contains Dropdownbox controls, the choices shown in the Dropdownbox controls will be defined at design time (when the PhoneGap application is built).

However, in your application, you might want the choices in the Dropdownbox controls to be defined at run-time. Your app should make a callback to the server to get current data for the Dropdownbox controls and then persist that data locally so that the next time the app is loaded it already has the data for the Dropdownbox controls. The client-side data cache is ideal for this scenario.

In this video, we show how you can define client-side data cache items for the data to populate Dropdownbox controls.

More Learning Resources for PhoneGap Hybrid Applications

Check out the Expert Series Workshop in which two sessions are dedicated to PhoneGap deployment. Going on now for all current Alpha Anywhere subscribers. Learn more about the Expert Series Workshop

Alpha Anywhere contains powerful integration with PhoneGap Build for developing and deploying hybrid applications. This post is a technical deep dive for Alpha Anywhere developers. Click here for a general overview of Alpha’s PhoneGap integration for building hybrid applications.

Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

phonegap ,ux/ui design

Published at DZone with permission of Amy Groden-Morrison, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}