Flybersite Posted January 24, 2008 Share Posted January 24, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/87533-wondering-about-something/ Share on other sites More sharing options...
trq Posted January 24, 2008 Share Posted January 24, 2008 If the applications intent is to store data, then a database is the best solution. Thats what they are made for. Quote Link to comment https://forums.phpfreaks.com/topic/87533-wondering-about-something/#findComment-447710 Share on other sites More sharing options...
Flybersite Posted January 24, 2008 Author Share Posted January 24, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/87533-wondering-about-something/#findComment-447720 Share on other sites More sharing options...
Flybersite Posted January 24, 2008 Author Share Posted January 24, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/87533-wondering-about-something/#findComment-447723 Share on other sites More sharing options...
trq Posted January 24, 2008 Share Posted January 24, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/87533-wondering-about-something/#findComment-447724 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.