07-21-2011 08:21 AM
Good day to all,
I am new to BlackBerry development and need some input from more experience gurus here
My project consist of a an online database with thousands of records.
Like a search engine kind of db.
I want to develope a BlackBerry app (web) that will allow the user to search the db and then return the results.
So my BIG BIG question (and maybe a silly one) is, which Approach will suite my requirement best?
BlackBerry Web or BlackBerry Java?
Please consider the following:
1. Part of the result set returned will include images. Thumbnail sized images.
2. Besides the images the rest will be plain data.
Would it be advisable to download the entire db to phone memory and do search locally and only every now and then I udpate the local db with the online db?
Or would life search on hosted db be the best?
I am not really sure what the file size of my db will entails.
But it is in MySQL. With about 4000 lines.
It can easily grow to about 20,000 lines in next year or two.
Thanks in advance!
07-21-2011 11:48 AM - edited 07-21-2011 11:49 AM
Since you already have the server side, I would do the search there. It will be faster and use less memory on the device, unless you want your app to work offline, in which case you would simply need to keep both sides in sync.
Pictures are not a problem as long as you don't store them in the DB, but they can be accessed via an 'img' tag. It would be more complicated if you wanted them to be available offline, but it's usually always possible to cache some data locally.
I would recommend you pick up a mobile web developpement framework as it will provide you with all the tools you need to make a request and publish the result on screen without having to know too much about programming.
You could build a prototype in a day.
Take a look at this example:
07-21-2011 03:28 PM