Phraw 0.3

Phraw

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

License type: BSD
Date added: 2 years, 11 months 10 days ago | Last updated: 2 years, 11 months 9 days ago

More popular Framework

Listing Files

phraw
  • README.rst
  • 399 Bytes
  • 02/22/2011 18:21:48
  • INSTALLATION.rst
  • 2.0 KB
  • 02/22/2011 18:20:22
examples
example 1
  • README.rst
  • 1.2 KB
  • 02/22/2011 16:52:12
resources
cached
module_example
templates
flatpages
module_example
List All Files