The Simplicity PHP Framework
The Simplicity PHP Application Framework is an advanced, scalable and extensible PHP application framework to aid developers in creating high traffic, high availability Web 2.0 online applications. Integrating a solid MVC framework with some of the best Open Source projects around Simplicity aims to assist developers with any amount of experience in taking their applications to a new level.

Version 0.2-dev have just been released and development team currently working towards an April release for the first beta, there are many new features in this release some of which detailed below :
Firstly, the MQL(Model Query Language) data abstraction, this allows you to create connections to multiple data sources; currently this is all RDBMS' supported by PHPs PDOs,CSV / TSV files, or raw PHP arrays with RSS feeds and more to follow shortly. Once you have created your connection you can create models to encapsulate your data, and create relationships between those models, you could for instance have users in a mysql table, linking to full country names in a CSV file. All of this can be configured via the new admin console.
Once configured you can access your models in your code using MQL, based on SQL it's very simple, for example to access the 'users' model that is on the 'simplicity' connection you would use:
select simplicity.users
You can also use where, order and limit in your queries as follows:
select simplicity.users where id = '1' select simplicity.users where name like "jo%" order by name select simplicity.users where id > 10 limit 100
You can use MQL to access any models regardless of their source, RDBMS, CSV, PHP Array etc.
The next major development has been the caching backend. This automatically selects either APC, XCache or a locking file based caching backend depending on what is available, and this is used to cache very aggressively across the site, almost all information required between requests is cached to provide fantastic response times for AJAX applications.
Data models also use the caching extensively, using 'fine grained' caching which ensures that by caching as much data as possible but breaking it down to the smallest chunks possible, you are able to keep the cache from going stale and keep hit rates as high as possible. This is all handled almost entirely in the background by the Model.
There is a built in extensive error handling, and some integration with the XDebug extension, currently quite basic but with much more planned in this area.
Last but by no means least is the Admin console. Fully AJAX, built using Ext JS you are currently able to manage all configuration and data connections, create models and set-up relationships between them. This is only the beginning of the admin console and there is much more to come here.
There is a lot in this release and you can read more about Simplicity PHP Framework at http://www.simplicityphp.com. Download also available under GNU GPL V3 license and demo at http://demo.simplicityphp.com.











AJAX Magazine's RSS
