Basic approach in M-Business Anywhere applications

For each generated page to be on the device, write scripts to generate JavaScript and HTML for those pages. Have the same script also copy back-end data that will be accessed into the on-device database. Then make the JavaScript refer to the on-device copy of the data.

For lists of 10 items or less, display as a series of <a href...> elements. For lists of more than 10 items, use the List Viewer. See Using the List Viewer.

To do a lot of sorting and searching using the M-Business XML conduit and the M-Business XML POD, you should stay under 1000 records. To do a lot of sorting and searching on more than 1000 records, you should use SQL Anywhere on the server and UltraLite on the device; have your script generate SQL to run against the UltraLite on-device database.

Be sure to make your high-level navigation drop-down lists are dynamic to reflect the dynamic incoming data. You can use the List Viewer if you first populate an array in the M-Business XML datastore using JavaScript. Then you can have the List Viewer display the values from the array. See Using the List Viewer.