Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 120

GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
03/29/14 01:07 AM (10 years ago)

Can I create table or even new mysql database within an App?

What I would like to do is for each unique app user is creating its own table or if needed own database (mysql). In this table (or db) there are about 4 database fields which will be filled from within the app. Is this possible? And (I assume it is) how?? Thanks for helping me. Regards Gert-Jan
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
03/29/14 01:53 AM (10 years ago)
Yes, you can have your own database within an app. Both on Android and on iOS you would be using SQLite, not mySQL that you may know from web sites and services. They are more or less the same. (SQLite came into existence after Oracle bought Sun, thus gaining rights to mySQL at large.) There are not any plugins for Buzztouch (that I know of, that is) which could be used to force your way into the database underworld of your app. It will require custom programming -- as nobody can tell in advance which fields in the database will be used, and more importantly -- how the database would be connected to the rest of the buzztouch app. Even if there were a plugin to create the database from JSON on the server, you would still have to dive into the code and write what happens to the data in the database: -- how to access and display them, -- how to sync them to the views that app has -- how to read the data from some external source, and -- how to delete the data in the phone or tablet. Having a database inside the app is the primary way of personalizing the app, but it will require custom programming. You either have the option to learn the codes or to hire a mobile app programmer.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/29/14 01:25 PM (10 years ago)
You might try using http://Parse.com as a way of achieving your goals. Many folks have integrated Parse's iOS SDK into Buzztouch.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
03/29/14 01:36 PM (10 years ago)
Parse has a way to use a database? LA
 
GJvanWijk
I hate code!
Profile
Posts: 95
Reg: Dec 19, 2011
location unknow...
6,000
like
03/30/14 12:15 AM (10 years ago)
@Dusko, thx for your reply I was thinking about a remote webserver database (mysql). The thing is I want to let people add locations to a database. Each user has its own locations of course so thats why i want to create a new table when someone signs up the first time. @Niraj Interesting suggestion, I'll check it out. @LA Yes it has (I didn't know till yesterday)
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
03/30/14 12:25 AM (10 years ago)
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
03/30/14 04:44 PM (10 years ago)
@GJvanWijk, Where is it at parse? Cannot find it. LA
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/30/14 09:24 PM (10 years ago)
Watch this 10-min video to learn how to use a Parse server-based database that is connected to an iOS app to be displayed in an iPhone Table. You will see how to use the Parse Data Browser to make a server-based database and then how to connect that data into the iOS app. https://parse.com/tutorials/parse-query-table
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
03/30/14 11:16 PM (10 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.