Changes between Version 28 and Version 29 of ShortIntroductionToDevelopmentBasedOnPlatformPT


Ignore:
Timestamp:
Jul 4, 2014 11:40:58 AM (3 years ago)
Author:
steinwinde
Comment:

Made clear that routes.php only covers some of the URLs.

Legend:

Unmodified
Added
Removed
Modified
  • ShortIntroductionToDevelopmentBasedOnPlatformPT

    v28 v29  
    2727- ''/routes.php'' is executed. 
    2828 
    29 And ''routes.php'' has all the mappings between URL and controller method. (Note that order matters: the first match in routes.php is followed.) Controllers are the files with the format extension ctrl.php. If you don't know what a controller is, you might want to read http://en.wikipedia.org/wiki/Model-view-controller. 
     29And ''routes.php'' has many of the mappings between URL and controller method. (Two remarks: Only a subset of the URLs are configured in ''routes.php''; the rest is covered by a default mapping mechanism. And order matters: the first match in routes.php is followed.) Controllers are the files with the format extension ctrl.php. If you don't know what a controller is, you might want to read http://en.wikipedia.org/wiki/Model-view-controller. 
    3030 
    3131Whenever you add a new app to Bewelcome, amend routes.php.