Jump to content

Wondering about something...


Flybersite

Recommended Posts

Hi,

 

I was wondering, my friend built this framework where a database plays an important role for the applications, but doesn't it limit itself to database driven applications then? I was thinking to build one with as core layer file functions so my framework would fit for any sort of application, what do you think?

Link to comment
https://forums.phpfreaks.com/topic/87533-wondering-about-something/
Share on other sites

If the applications intent is to store data, then a database is the best solution. Thats what they are made for.

 

Well, those functions could be loaded ontop of the file layer, but the way he built it I think for example an online file explorer etc. is impossible cause for example in his get_config_value when the array keys are not found he get's them from the DB

If the applications intent is to store data, then a database is the best solution. Thats what they are made for.

 

Well, those functions could be loaded ontop of the file layer, but the way he built it I think for example an online file explorer etc. is impossible cause for example in his get_config_value when the array keys are not found he get's them from the DB

 

with no option to disable the db functions etc.

If your talking about where application specific configuration data is stored, you are correct. I would always have a filesystem config system or even a default hard coded value to fall back on if I used a database at all.

 

Your original post wasn't too clear on what data exactly you where talking about.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.