Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Help! Regarding storing data.
01-20-2008, 02:22 AM #1
- Join Date
- Feb 2005
- Thanked 0 Times in 0 Posts
Help! Regarding storing data.
I wasnt sure where to put this, but here goes. I am creating a website (using php) which users will be able to add details of themselves such as pictures, comments and a personal profile (sort of similar to Facebook).
Considering there may be alot of users, each with their own personal profile...what is the best way of storing this type of data? ie. mysql, xml etc.
Cheers guys...any help is appreciated!
01-20-2008, 11:15 AM #2
- Join Date
- May 2002
- Perth Australia
- Thanked 98 Times in 96 Posts
A relational database is ideal be that MySQL or some other.
Basically if you ever need to search though some data its best in a DB, XML is fine in practice but slow to parse.
I personally would not recommend you keep images inside the DB by the way, just searchable data.
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)