Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 529 Vote(s) - 3.52 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which database type to use for an object-oriented content management system coded in PHP (5.3)?

#1
A friend of mine and I just started an own project to learn about the newest and most future relevant web techniques: we decided to build an own object-oriented content management system with enhanced functionality like the community-points function on this site.

Using PHP as developing language and MySQL as database – which seems to be the standard database solution for everything on the internet – we quickly got into trouble saving our objects into the database, especially the references between objects. As a first solution we worked with table that - as we know now - are called "joints".

But then I started a research on how to solve this problem. Here's what I found:

- there are **object-oriented mapping** solutions for relational databases, also for MySQL & PHP
- there is a special database model designed for solving this particular problem: **the object-oriented database**
- the **object-relational database**, a hybrid model that basically is a relational database with special handling for object savings

Since I don't want to start one more best-database-model-debate, here's my specific question:

Which of all solutions I have mentioned and you know from elsewhere is the one that's **well supported from enough and not too expensive web-storage providers** and is good enough for "basic" object-oriented functionality and thus be good choice implementing an object-oriented content managment system? (Again, the most painful thing we have crossed til now is the lack of referencing other objects in the database.)

Recommandations on particular database types are highly welcome!
Reply

#2
You can try any "NoSQL" database, they are not relational. For example, MongoDB. Mongo stores data in BSON format which is like JSON and in PHP you can easily handle JSON data. You can find information about NoSQL databases at [

[To see links please register here]

][1] and take a look about MongoDB as well [

[To see links please register here]

][2]


[1]:

[To see links please register here]

[2]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through