Hey guys, I have started to build a simple CMS for a gallery, basically the admin can add users and they in turn can login and upload images to their directories. I have got the Flash, php and database connectivity working to log in and create users but now I got to thinking why am I using a database?
I have a user table storing their passwords and settings, then I was thinking of creating a table for each user which will store the image names, dates and comments etc and have php build an xml file for the gallery from this.
I was wondering if there were any advantages over using a database as opposed to just creating and amending the xml files based on the admin actions. Also would it be a good idea to store passwords in an xml file if I was to scrap the database?
I would love to get some feedback, I’m not a programmer by trade but enjoy getting my hands dirty whenever possible.:ninja:
Cheers.