Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Member
Marius0188
Posts: 2
Registered: ‎07-21-2011
My Device: BlackBerry Bold 9780

BlackBerry Developer (Noob/Newby) - Which Approach is fit?

Good day to all,

 

I am new to BlackBerry development and need some input from more experience gurus here :smileyhappy:

 

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!

:smileyhappy: 

Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: BlackBerry Developer (Noob/Newby) - Which Approach is fit?

[ Edited ]

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:

http://www.sencha.com/learn/my-first-sencha-touch-experience/

 

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
New Member
Marius0188
Posts: 2
Registered: ‎07-21-2011
My Device: BlackBerry Bold 9780

Re: BlackBerry Developer (Noob/Newby) - Which Approach is fit?

What framework for mobile  development would you suggest?

I am a Delphi / RAD developer.

 

Thanks for the advice.

 

Regards. 

Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: BlackBerry Developer (Noob/Newby) - Which Approach is fit?

http://www.sencha.com/products/touch/

http://jquerymobile.com/

 

Both are buggy and have performance issues, but they should get you started quickly.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.