dev-master
9999999-dev http://sodapop.restlessdev.comAn easy to use MVC Framework
GPLv2
The Requires
- php >=5.3.0
by Mike Arace
framework mvc
An easy to use MVC Framework
Sodapop is a simple PHP MVC framework. You can read more about it at http://sodapop.restlessdev.com., (*1)
Its syntax should be immediately familiar to anyone who has used Ruby on Rails, Zend Framework, or other Model-View-Controller frameworks., (*2)
A Controller:, (*3)
request->slug); // or $_REQUEST['slug'] // assign it to the view $this->view->post = $post; } } ``` A [Layout] [2]: ```phpBlog: = $this->post->post_title ?></title> </head> <body> <?= $this->viewContent ?> </body> </html>
A View Template:, (*4)
<h2><?= $this->post->post_title ?></h2> <div class="post-body"> <?= $this->post->post_body ?> </div>
A Model: In typical CRUD-type operations, Sodapop doesn't require model classes to be explicitly defined. See http://sodapop.restlessdev.com/documentation/models for more details., (*5)
You have many choices in frameworks; why should you consider this one?, (*6)
Sodapop has several core values that guide its development., (*7)
It has several features that support these values., (*8)
One of the most important (and unique) features of Sodapop is that it is totally themeable. It allows you to place UI-oriented code (static files, view, and layout templates) in separate named theme directories and switch between them with a configuration option or programmatically. It also has a hostname-based configuration, making it perfect for hosted solutions in which each customer will need to have a custom front-end site with a similar backend., (*9)
Please see http://sodapop.restlessdev.com/documentation/themes for more detail., (*10)
If Sodapop sounds interesting to you, please head over to the Getting Started page for instructions on next steps., (*11)
An easy to use MVC Framework
GPLv2
framework mvc