title: PHP MVC rendering home page
body: <p>I'm trying to learn MVC design pattern for web applications so I decided to write my own PHP MVC framework. Before writing this post I read a lot of tutorials and forums about MVC. Now I pretty well understanding the MVC idea, and how communicate controller-model-view. I have write router and few modules (login, categories, ...) - seems it's working.</p>
  
  <p>Now I'm confused  a bit:</p>
  
  <p>If I call <code>localhost/LogIn</code> I get only login form, if I call <code>localhost/categories</code> I get category list. Everything OK, but I want to create index controller and when calling <code>localhost/index</code> I want see login form, categories and a lot more modules. </p>
  
  <p>Should I call controllers (login, categories) from <code>indexController.php</code>?</p>
  
  <p>I need advice how to concatenate needed modules in one page.</p>