syntaxerror Posted August 6, 2008 Share Posted August 6, 2008 starter on procedural MVC would this be right? on the web folder , i have my controller codes / php files on two different folders with the same level as the web folder, i have the model, and then, the view /project/web /project/model /project/view Quote Link to comment https://forums.phpfreaks.com/topic/118405-mvc-implementation-how-do-i-create-the-file-folder-structure-on-the-server/ Share on other sites More sharing options...
LemonInflux Posted August 6, 2008 Share Posted August 6, 2008 /model/ /view/ /controller/ /helpers/ /errors/ Basically, you can do it however you want. Just have it organized. Don't get it in a mess. I tend to stick to a structure like that ^ ---------------- Now playing: Enter Shikari - Adieu via FoxyTunes Quote Link to comment https://forums.phpfreaks.com/topic/118405-mvc-implementation-how-do-i-create-the-file-folder-structure-on-the-server/#findComment-609430 Share on other sites More sharing options...
syntaxerror Posted August 6, 2008 Author Share Posted August 6, 2008 ok, so which of these folders is the one that is in the web server document root, then? Quote Link to comment https://forums.phpfreaks.com/topic/118405-mvc-implementation-how-do-i-create-the-file-folder-structure-on-the-server/#findComment-609452 Share on other sites More sharing options...
trq Posted August 6, 2008 Share Posted August 6, 2008 ok, so which of these folders is the one that is in the web server document root, then? None, I would be more inclined to use... /models /views /controllers /htdocs /js /css /imgs Where /htdocs is web accessible and contains your index.php file. Quote Link to comment https://forums.phpfreaks.com/topic/118405-mvc-implementation-how-do-i-create-the-file-folder-structure-on-the-server/#findComment-609626 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.