Discussion Forums  >  Self Hosted Control Panels

Replies: 12    Views: 123

Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
02/05/13 10:02 AM (12 years ago)

Mass Content Creation?

I need to create thousands of screens... Using the gui is slow for massive content tasks. I can edit the json file then recompile it, but can i make it so it enters it into the control panel also? so i dont have to deal with json snippets. Basicly a fast method to input data, by editing the json and then having buzztouch read it? Thanks guys!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/05/13 10:43 AM (12 years ago)
Thousands of screens? Without knowing much about your proejct, I would suggest looking into using dynamic scripts to create these on your backend and connecting them using the dataURL property in the advanced settings. Example: A menu (or a bunch of menus) that load hundreds of "things" - the menu could be powered by a script on your backend that provided the rows / items for each selection. Each item in the list could load a screen that is dynamically created too.
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
02/05/13 10:55 AM (12 years ago)
@David, man, BT is one powerful tool.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/05/13 11:07 AM (12 years ago)
David's right on target with this one, as usual. That many screens warrants use of a customized script to do the job. If you don't need to update it, you could even have the script be on a local machine (such as with AppleScripts on a Mac). Then just host the file somewhere like Dropbox and point the dataURL to the file. If you need help, send me a PM
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/05/13 11:13 AM (12 years ago)
I think these answers address half of his original question, but it doesn't indicate how the "thousands of screens" can be automatically added to the control panel. My guess is that they cannot, and that they'll have to be maintained elsewhere. Mark
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/05/13 11:18 AM (12 years ago)
Ah - yes if he's wanting them to be added to the control panel in the sense that they show up, each with their own custom control panel screen on the "screens" page, then no, using the dataURL wouldn't work. BUT - there is a way to do it if one is skilled enough with php and is using self-hosted. Basically the control panel just looks through the database and pulls the records out and shows them as screens. So, if you write a script that can generate the json and all the appropriate sql table fields, it could be done. You would need a really good handle on php and sql, though.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/05/13 11:18 AM (12 years ago)
@GoNorthWest: "but can i make it so it enters it into the control panel also" For sure I missed this. You're right, these approaches don't consider that idea. Dynamic scripts wont' add anything to the control panel. The buzztouch.com panel won't allow this. If you're self hosting, it's very very doable. Instead of powering menus with dynamic content, use the same logic (that we discussed) to do a big-ole-loop and enter each item in the self hosted database. Each item would end up in the bt_items table (in the database). The values for each field in this table will depend on a few things. Probably best to look at some existing "screens" in this table before adding 10,000 more so you're sure what you're doing. Preparing for webinar in :45
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/05/13 11:31 AM (12 years ago)
Sweetness! I figured it was possible on self-hosted...tons of great things are! Mark
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/05/13 11:35 AM (12 years ago)
Yeah - this will be the year of Buzztouch I think. There's already some really cool and powerful plugins in the review stages, and it will just keep getting better. We all will have better apps in shorter time than 90% of what's on the market.
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
02/05/13 12:59 PM (12 years ago)
Nice thanks guys! Just another few questions. I dont know a lot of PHP or other webscripting, and would it be possible to use phpmyadmin to add items that way?
 
Auggnet
Veteran developer
Profile
Posts: 225
Reg: Nov 20, 2012
USA
2,550
like
02/05/13 01:01 PM (12 years ago)
A little more information on the application i am working on. This is a reference guide that contains a lot of items. Each one uses the custom html screen. I will need to also add them to menus. Etc
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/05/13 01:04 PM (12 years ago)
sure - but what a pain that would be if you have 1000's of screens! If you really have that many screens, you probably don't want them all in your control panel anyway - that would be overwhelming to look at. Instead I would go with the dataURL method. If you need help with php, there are some of us on here that will help you out for a small fee. ;)
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
02/05/13 04:56 PM (12 years ago)
Hello @Auggnet, Have you looked in to some of the tools Stobe has developed? He is the king of "screens from spreadsheet" using data that is easy to create and update. I think his website is www.idevdepot.com this may give you a new perspective for consideration. Good luck, Mike
 

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.