Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Well, welcome to the world of PHP :)</p> <p>First of all, a front controller is typically only 1 part of a larger framework known as a MVC (Model-View-Controller). Simply put, a front controller can be though of as the "index" page that all people go to when they come to your site. It handles initiating needed site things and then pulling and running what resouces are needed to handle the user request (typically through the URL, as you have given of mysite.com/user/...). This is an overly simple explanation. </p> <p>While not necessarily a hard thing to learn, I would recommend looking at a tutorial like <a href="http://www.phpro.org/tutorials/Model-View-Controller-MVC.html" rel="noreferrer">this</a> that explains the whole idea and basic implementation of a MVC. They call the front controller a "router" (that's another thing, there are more than 1 way to implement a MVC or it's variants and more than 1 name for the different parts). I don't think it is particularity hard to understand or grasp. Most modern MVC frameworks do implement Object Oriented Programming practices. For a good set of video screencast on PHP (including some basic OOP skills), take a look <a href="http://net.tutsplus.com/videos/screencasts/diving-into-php-video-series/" rel="noreferrer">here</a>.</p> <p>Lastly, if this is your first big use of PHP and want to implement something like MVC, you might check out something like <a href="http://cakephp.org/" rel="noreferrer">CakePHP</a> or <a href="http://codeigniter.com/" rel="noreferrer">CodeIgniter</a>. Great frameworks that have good documentation and has done alot of hard work for you. Good luck</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload