Differences from CodeIgniter
For those of you who are familiar with CodeIgniter, this is to highlight what is different about CoolBrew.
CoolBrew is conceptually different in terms of how it is used.
With CodeIgniter... | With CoolBrew... |
---|---|
You create multi-page applications. | You create modules containing "tags". |
A controller class represents a section of your application and each method is a page. | A controller class represents a collection of related tags, and each method is the tag itself. Tags can be multi-page applications, whole pages, or parts of pages. |
You access an application through it's associated index.php file. If you want to access a different application, you need a different index.php file. | The tag system can access any tag in any module. The more modules you install in the system, the more tags are available to all your websites. |
Each application is self-contained with its own set of config files. | Each module is self-contained to a point, but there are system-wide config files that all the modules use and each module can override as needed. |
If you need to add functionality, you do it within the application folder so it doesn't affect the other applications. | If you want to add functionality, you may find that you need to do it at the system level so that all the modules can share the resources. |