3 ms·
I like the idea but I couldn't get it running on my localhost, I'm guessing it has to do with the fact yours was in a subdirectory and mine was at the root. I e
by joshstrange 14y ago
I like the idea but I couldn't get it running on my localhost, I'm guessing it has to do with the fact yours was in a subdirectory and mine was at the root. I even tried fiddling with the .htaccess file removing the hardcoded reference to the subfolder.
Anyways I am curious why you choose to write the whole base of the CMS from scratch instead of building on top of a framework like Laravel, Yii, CI, or one of the countless ones out there. One that could have given your CMS 90% of what you needed and allowed you to build your idea faster and more efficiently?
- ahmednuaman 14y agoApologies for that, add an issue and I'll have a test to check that it works. There are a number of factors for getting it to work at root but usually you just need to update the config.php and .htaccess files. You're right about a framework, I could've written it in one but to me this was a learning exercise and making it "as hard as possible" has allowed me to try and think about best practice and writing good code (which I hope I've done).
- joshstrange 14y agoI respect your mision to make it "as hard as possible" and understand where you are coming from. My opinion is that a framework lets you follow a ton of best practices by default and helps you from reinventing the wheel. That said I do like what you have done, I am going to give it another try when I get a chance.
- ahmednuaman 14y agoI've added some instructions on how to get it to run at root: https://github.com/ahmednuaman/gdrive-cms-php#how-can-i-make-it-work-at-root https://github.com/ahmednuaman/gdrive-cms-php#how-can-i-make...