Main Menu

WebOS App

Started by akiwiguy, March 14, 2012, 02:35:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akiwiguy

Well, I'm probably getting an HP Touchpad soon, so I'm gonna write a WebOS app.
Now I just have to look into how to store the dictionaries on the device using HTML5/JS...

Seze

Quote from: Eltu lefngap 'eveng on March 14, 2012, 02:35:40 PM
Well, I'm probably getting an HP Touchpad soon, so I'm gonna write a WebOS app.
Now I just have to look into how to store the dictionaries on the device using HTML5/JS...

HTML5 does support local storage.  So you might be able to just copy the SQLite database data that the current mobile apps use straight into local storage.  As for actually making the app, take a look at Sproutcore.  Its a JS / HTML5 application framework.  I'm currently using it for work.  It has a bit of a steep learning curve, but its incredibly powerful for writing web applications.


Learn Na'vi Mobile App - Now Available

akiwiguy

There is a framework you can use already, named Enyo, which is quite good. There is a JS library I know of to handle HTML5 local storage. Maybe even if I write a program to convert the SQL to JSON and then use that? It'd be much easier to store everything in JSON and handle that in Javascript. Hmm...

Seze

Quote from: Eltu lefngap 'eveng on March 14, 2012, 06:53:01 PM
Maybe even if I write a program to convert the SQL to JSON and then use that?

That is what I do for another project I'm currently working on.  I use CodeIgniter, a PHP MVC Framework, to create a REST interface to my database.  The PHP REST backend returns JSON objects of data that is in the database.  If you'd like more info on how to set something like this up, just let me know.  I can probably give you the code I wrote for that if you're interested.


Learn Na'vi Mobile App - Now Available

Tsmuktengan

What a nice idea! I also just received my Touchpad! I will be able to use it and test it.  :)