[eluser]eldrinofsoalim[/eluser]
Hi!
Can anyone refer me to guides, screencasts, articles, threads about
Model-View-Controller Best Practices?
Basically I'm starting out in PHP and I've chosen Code Igniter as a terrific start especially for a beginner like me. I've understood that models handle the database CRUD, views handle the UI and controller serves as an intermediary between them.
But I'm having confusion on how to
ORGANIZE all three.
Here are a few of my concerns:
1) What's the general rule on when you should create new controllers?
2) How should you organize controllers? Should you put controllers in a folder under the controller folder?
3) What's the proper way of creating an admin-member-public website? How do you organize the views and the controllers?
4) Do you really need only one model for all the website needs? I've read that only one model is really needed?
5) Tips for naming conventions?
As you can see, my questions are very very very amateur/noob/novice. But I hope you can see my willingness to learn.
Please refer to me articles or guides or screencasts or threads that have talked about these extensively, especially for beginners. I want to learn the
FUNDAMENTALS.
Maybe from my post, you can infer what kind articles I also need to learn?
Looking for more mentors through this Forum,
eldrinofsoalim