Welcome to Orange PHP FrameworkWhat is Orange PHP Framework?Orange is a modern PHP framework built from the ground up with simplicity and code reuse in mind. While it is a standard Model-View-Controller framework, its solution to many web development problems is new and fresh.
Main Features
... [More]
Model-View-ControllerMVC architecture forces separation of logic, presentation and data.
LINQ-like SQL generatorWith an innovative and flexible syntax reminiscent of LINQ, you will be able to securely query the database without writing any SQL.
Highly ExtensiblePoints of extensibility include plugins, custom form components, custom helpers, custom views and, of course, modules (see Design Goals).
ValidationBy adding a few rules to your form inputs, you will get validation on the server side as well as on the client side.
Built-in Ajax SupportAutomatically update page fragments with very few instructions or generate JSON responses from your controller.
Output CachingCache whole pages or page fragments (blocks) with 1 line of code using the file system, memcache or a sqlite database.
I18nEasily create fully translated webpages by just adding translation files and language-sensitive resources.
Error Handling ModuleA powerful module that lets you handle and trace any application error during development, while showing a friendly page to your users in production.
Tracing and Profiling PluginThis plugin makes the application flow visible to the developer. It reports the exection time of your code, including database queries.
Authorization PluginWithout leaving the PHP environment, secure your controllers with access control.
Authentication ModuleComplete login and registration system included with this module.
Page BlocksWith blocks, it is possible to create isolated widgets that can be used accross different pages.
LayoutsLayouts are those parts of the page that don't change much, like, for example, the header and the footer. You can put this code in just one part and Orange will bring the pieces together.
Shell ScriptingOrange supports shell scripting out of the box, providing its organization and power to shell scripts.
Primary Design GoalsSimplicityEase of use was the most important design goal. With Orange, most tasks are achieved in simple ways, configuration is near zero and the learning curve is in the worst case equivalent to other mainstream frameworks.
Code ReuseOrange was born while creating reusable components for community-driven websites which were very different to one another. The goal was to enable the reuse of whole systems like, for instance, a comment system or an authentication system.
To this end, the framework is organized in modules where the code of each one can be completely isolated from the others. In some cases, reusing a whole application system in a new application, can be as simple as copying and pasting the module's folder.
High PerformanceThe framework architecture is extremely lightweight. Loosely coupled components are put together to make this possible. As a result, Orange features an ideal performance for intermediate to big websites.
DocumentationSome Orange APIs are still subject to change. Documenting a one man project, and still under heavy development is not a wise use of time. For the first stable release, however, Orange is planned to be fully documented with tutorials to get you started in its most important features. [Less]