...
- Open/Load up the project in your favorite IDE
- Next, the first thing you will do is create a controller.
- In the command line, type: ./script/generate controller NAME
- You can check to make sure that the controller was created by pointing your browser to http://localhost/*NAME\* (http://localhost/*NAME*) (name of the newly created controller)
- Most likely (i.e. in normal cases), you will get a Fatal error saying "Action index does not exist for controller NAMEController in ... on line ...
- So, create a function index() within the NAMEcontroller class, rendering the hello world text:
Code Block language php theme Default linenumbers true function index() { $this->renderText("Hello World"); }
- TODO