Phraw 0.3
Phraw is a mini-framework for web sites and web applications. It's open source, fast, flexible and has a very small footprint.
Features of Phraw:
- Very small and lighweight core - only 6.9 KB (130 lines of code)!
- Flexible - you have the full control of the application
- Very fast to learn - documented code and examples (more guides and recipes will be published soon)
- It leverages Smarty, the best template engine for PHP (...and you can change it if you want)
- Flexible urls - great for SEO!
- Template caching - with Smarty
- MVCP pattern - Model View Control Presenter, but also MVC or VCP and VC!
- Redirects
- Detection and correction of the trailing slash - useful for SEO
- Client error headers
- Success headers
- Bulk route - a flexible way to route a lot of similar pages in one shot
Requirements:
- PHP 5 (tested with PHP 5.3)
- Smarty (optional but it's the default template engine)
Installation:
- Create your project directory (e.g. "mysite.com") and enter in it.
- Create the "lib" directory and copy all your libraries, like Phraw and Smarty, in it.
- Chose an example from the "examples" directory and use it as a template, remember to copy also the hidden file ".htaccess".
- Set the directories "resources/compliled" and "resources/cached" writable by PHP.
What's New In This Version:
- Rain TPL template engine - very fast but also very simple
- Session handling - customizable and replaceable
- 3 routing methods: equal comparison, regular expression, regular expresion in parenthesis (simpler)
- Custom routing
- Tree route - a flexible way to route through a hierarchy of pages in one shot
More popular Framework
- Cakephp 2.3.5 (1 month 1 day ago)
- Yii Framework 1.1.13 (5 months 14 days ago)
- CodeIgniter 2.1.2 (11 months 19 days ago)
- Zend Framework 2.2.1 (1 day ago)
- Symfony framework 2.3.1 (5 days ago)
Listing Files

README.rst- 399 Bytes
- 02/22/2011 18:21:48

INSTALLATION.rst- 2.0 KB
- 02/22/2011 18:20:22

README.rst- 1.2 KB
- 02/22/2011 16:52:12

index.php- 1.3 KB
- 02/22/2011 16:52:12

README.txt- 17 Bytes
- 02/22/2011 15:26:18

views.php- 253 Bytes
- 02/22/2011 15:26:18

base.html- 483 Bytes
- 02/22/2011 15:26:18

contacts.html- 152 Bytes
- 02/22/2011 15:26:18

home.html- 324 Bytes
- 02/22/2011 16:52:12

wellcome.html- 138 Bytes
- 02/22/2011 16:52:12

view_example.html- 187 Bytes
- 02/22/2011 15:26:18

