Thule - 0.9.6
  • Welcome
  • Introduction
  • - MVC(Model-View-Controller)
    - Architecture of Framework
    - Flow Chart of Application
    - Services In One Server
    - Developing Guide
    - Features
  • Installation
  • Getting Started
  • - Direct Access HTTP
    - Router Access HTTP
    - Router Direct Access HTTP
    - Reserved Function
    - Convention
    - Bootstrap
    - Pack Javascript , CSS
  • Basic Modules
  • - Model
    - View
    - Controller
  • Libraries
  • - Router
    - Config
    - Response
    - Request
    - Database
    - Query
    - Cache
    - Debug
    - Log
    - Unit Test
    - Registry
    - Profile
  • Helper
  • - Auth
    - Calendar
    - Date
    - Error page
    - Email
    - Form
    - GeoIP
    - Google
    - Html Element
    - Html
    - Http
    - I18n
    - Image
    - Json
    - Jquery
    - Login
    - Layout
    - Locale
    - PHP to Javascript
    - Paging
    - Payflow
    - Soap
    - Text
    - Table
    - Uri
    - Upload
    - Validation
  • Plugins
  • - Smarty Template Engine
  • History
  • Home > Router Direct Access HTTP

    Features


    - Need the Router Rule.
    - Backender and Frontender can be separated apparently.
    - Backender makes model or If they want to make the business logic in model, they can
    - Frontender can choose the model they want and if they want to use data from backender, they can.
    - No need to add the configure of apache for rewrite.
    - When you use the ajax , you can choose the view page to be or not.
    - If you want to handle the URL, you can handle the URL very easy without setting in apache.

    How to Set up


    1) add the rewrite rule to apache like below.
    2) copy the thule's views directory to apache doc-root directory.
    3) set the configure file.
    4) set the gate.php to fit your environment.
    5) make router rule.
    If you want router access, you have to do something to install.

    Apache setting

    Apache Setting and configure is same as router acess .

    Set Router Default Rule

    config/router_config.php

    $config['router_access_mode']= array("View","Controller");


    There are many options for router.If you want to know , go to the Router Chapter.