Source language: Translate to:

Need some help...

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Need some help...

Postby David de Argentina » Mon May 29, 2017 10:01 am

Hi overthere,

I need create an app that handles a database within the phone.
I need a phisical database, for backup and some stadistic processes made with neobook or another engines Outside phone.

I need do some basical processes, like update, insert & select actions.
I just trying this javascript services:

https://github.com/kripken/sql.js

In fact, this services seems to do all the job, but i found the way to save phisically the database after changes.

Does any have some experience on similar programs with this or another javascript services ?

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1559
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: Need some help...

Postby luishp » Mon May 29, 2017 11:47 am

David, the library is only for not persistent databases:
"It uses a virtual database file stored in memory, and thus doesn't persist the changes made to the database."
Local persistent databases are quite unstable on HTML5.
Remote databases are more apropiated but they require PHP and MySQL on a remote webserver to save and retrieve the data.
Good luck.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 359
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Need some help...

Postby David de Argentina » Mon May 29, 2017 8:54 pm

Thanks Luis,

I had suggested the same configuration to the end user.
He told me 2 conditions:
* No external files
* No wifi or internet

I think i have a problem...
All ideas are welcome

Thanks in advance,
David
User avatar
David de Argentina
 
Posts: 1559
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: Need some help...

Postby luishp » Tue May 30, 2017 12:02 am

Probably you should try this:

https://developer.mozilla.org/es/docs/I ... _IndexedDB
http://nparashuram.com/jquery-indexeddb/

Although IndexedDB is not supported on all browsers yet.
Another option is to use a Cordova plugin but I don't know how to use them with NeoAppBuilder:

https://www.sitepoint.com/storing-local ... rdova-app/

Please tell us if you achive some success on this.
Thanks!
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 359
Joined: Wed May 23, 2007 10:17 am
Location: Spain


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron