Welcome Guest, Not a member yet? Register   Sign In
Organizing the Site!
#3

[eluser]Drew Barontini[/eluser]
Thank you. I apologize for the novel I wrote, but I just wanted to be clear and provide an in-depth explanation.

If you get a chance, I'd love to see the code you were mentioning.

To see if I'm clear, can I do the following:

Taking the same portfolio site example. 4 pages of the site Home - Portfolio - About - Contact

I will have the main controller folder consisting of index.php, portfolio.php, about.php, contact.php, and admin.php (login)

Then in the views file I can have subfolders for the 4 main site names corresponding with the same name as the controller files (home, portfolio, about, contact). In these 4 folders, I will have the view files necessary to display each page, as well as the admin views, and if any of those admin views or any other views are global, I will place them in the main view file folder. I guess I should just make an admin folder folder for all the admin views as well.

Can I do it this way?

I'll look into the modular extensions for when building much larger sites that require far more files.

Thanks again. Inparo


Messages In This Thread
Organizing the Site! - by El Forum - 05-17-2008, 12:06 PM
Organizing the Site! - by El Forum - 05-17-2008, 12:50 PM
Organizing the Site! - by El Forum - 05-17-2008, 04:37 PM
Organizing the Site! - by El Forum - 05-17-2008, 05:01 PM
Organizing the Site! - by El Forum - 05-17-2008, 05:10 PM
Organizing the Site! - by El Forum - 05-17-2008, 06:33 PM
Organizing the Site! - by El Forum - 05-17-2008, 07:17 PM
Organizing the Site! - by El Forum - 05-17-2008, 08:18 PM
Organizing the Site! - by El Forum - 05-17-2008, 08:38 PM
Organizing the Site! - by El Forum - 05-17-2008, 08:40 PM
Organizing the Site! - by El Forum - 05-17-2008, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB