title: How do RESTful controllers work in Laravel 4, how to use them properly?
body: <p>I'm new to MVC's (this is my first time using one in a real scenario) and I am a little bit confused about how controllers (should) work.</p>
  
  <p>After reading the Laravel documentation, I came to the conclusion that for general tasks like handling loading the sites (different sites are connected together), pages, admin, etc. I need RESTful controllers.</p>
  
  <p>For the simple tasks it worked. It was easy and very fun to use. I had a Route like this:</p>
  
  <pre><code>Route::controller('admin', 'AdminController'); 
  </code></pre>
  
  <p>I had functions like </p>
  
  <pre><code>public function getProduct($id) 
  </code></pre>
  
  <p>and it worked. (It was used to get a specific product: <code>../admin/product/1</code>)</p>
  
  <p>Now I want something more complex. Like </p>
  
  <pre><code>../sites/loadsite/mysite/mypage/mysubpage/123?myoption=yes
  </code></pre>
  
  <p>How do I do this? How do I begin, how to approach the problem? Do I have to use <code>Route::get()</code> for every single thing or is there a "nicer" way of doing this?</p>