Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  1. Open/Load up the project in your favorite IDE
  2. Next, the first thing you will do is create a controller.
    1. In the command line, type: ./script/generate controller NAME
    2. 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)
    3. 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 ...
    4. So, create a function index() within the NAMEcontroller class, rendering the hello world text:
      Code Block
      languagephp
      themeDefault
      linenumberstrue
      function index()
      {
      
           $this->renderText("Hello World");
      
      }
    5.  TODO