which way to go?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
modplod
Forum Commoner
Posts: 45
Joined: Mon Feb 27, 2006 11:18 am

which way to go?

Post by modplod »

Hi all, I have reached an impass in my project planing for the next step of my photo blog system,, I can not decied if I should use SQL or not with my system, I want to build a system that is very easy to install, requires little or no setup, and enable the user to move the site as easly as possible.The system also needs to be fast and limit disk access.

Right now the script is capable of reading and displaying a directory substructure as thumbnails with only one disk hit,(other than loading classes and includes.)

So that said is there another road I could folloy to achive this, other than automation the sql install and uninstall from the server.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

If you're looking for little or no setup, I'd suggest staying away from a database. My particular file browser can be dropped into a directory and start to work. With a database-based system, the user would have to
  1. at the very least have access to the required brand of database and
  2. have to set it up (unless you created a specific php file to setup the database for them - even then they'd have to set up the user privileges).
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply