PDA

View Full Version : Site config


Nightfire
06-26-2003, 05:17 PM
I dunno if this is the right place to post, move it if it ain't :p

What is the best way to do site configuration, like database details, site detials and stuff?

I started doing it in an admin control panel at first with everything in the db, then I got more ppl saying they hate doing it that way and would prefer to have everything in one single flat file with no gui etc.

The site I'm doing is for both newbies and ppl that understand php & mysql, so which way is best for ppl?

AryaputrA
06-26-2003, 05:37 PM
dunno about others, but if site configuration i would prefer an admin panel that displays from the db ;)

Spookster
06-26-2003, 05:39 PM
I think the best way whether you are a newbie or not would be to create a GUI wizard that takes you through the configuration. I guess you figure it out by asking yourself a few questions.


Can the newbies configure the site using a text file and seeing all the strange code? Maybe.

Can the experienced users configure the site using a text file and seeing all the strange code? Yes



Can the newbies mess something up in that text file? Yes

Can the experienced user mess something up in that text file? Yes



Can the newbies configure the site using a GUI wizard? Yes

Can the experienced users configure the site using a GUI wizard? Yes (they might not like it but they can use it)



Can the newbies mess something up in that GUI wizard?
Probably not(if you validate everything appropriately)

Can the experience users mess something up in that GUI wizard? Probably not(if you validate everything appropriately)


All answers point to using a GUI.

Nightfire
06-26-2003, 05:43 PM
ahh thanks :) was a good way to decide which to use ;)