The Fluency framework is a minimalistic web framework for PHP 5.3. Its only purpose is dispatching HTTP requests and providing the developer a way to handle them following the MVC architectural pattern. Hierarchical MVC (HMVC) is supported out of the box, meaning that separate sections of the served content can be provided by multiple controllers.
Fluency takes some inspiration from functional programming. Actions (controllers), views and action filters are all internally represented as functions. This provides many advantages, for example, views can be composed like mathematical functions: compare the function composition f(g(x)) with the composite renderer "layout + post".
Because actions (controllers) are also functions and can only return a single value, the use of hierarchical MVC, that is, using separate actions to provide separate sections of the content, is highly encouraged, also helping to achieve a proper separation of concerns.
Generally, Fluency favors convention over configuration, but the conventions are not hard-coded and can be easily changed. The resolution of action, view and action filter names is a responsibility of resolvers, which are, again, functions, which reside in the application bootstrap script and can be easily replaced.
As already mentioned, Fluency aims to be lightweight and avoids reinventing the wheel as much as possible by including only the most basic functionality, that is, request dispatching, URL routing, rendering and action filtering. If that matches your attitude towards web frameworks, you should definitely give Fluency a try!
Edhouse has released version 1.1 of iPFaces project, the framework for simple creation of native, form-oriented network applications for mobile devices (iPhone, BlackBerry, Mobile Java).
The aim of the solution is to screen the programmer completely out from the mobile platform itself, and transfer the entire application logic to central application server level. Developers with experience with one of the supported Web technologies (ASP.Net, Java, and PHP) may start working with iPFaces virtually immediately.
The solution is based on the use of a thin presentation client installed on the device and an application/web server which generates the content for clients. The client and the server communicate with each other using the network. The idea is similar to the web browser – web server model. The client sends HTTP(S) requests to the server and receives iPFaces specific HTTP(S) responses, where the content is an XML representation of the application’s form which is be rendered on client-side together with the form’s data.
Princip of iPFaces
Development of a complex iPFaces application is really simple because the simulation mode can be used. This mode is capable of transfering XML content to a HTML page, which can be displayed in a web browser. It is a helpful tool for developers who can see their iPFaces application in the browser window and they do not need a real iPhone device for main development. Developers can build and deploy an application to the application server and the browser will show them the GUI which is almost the same as a screen in an iPhone application. There is a difference in the GPS elements. A GPS field is working in a browser only as text field that can be filled by user and GPS coordinates will be submitted. The GPS field is hidden on mobile devices, because the location of the device is detected without interaction with the user.
Edhouse provides user client for each mobile device – iPhone, BlackBerry and J2ME.
iPFaces addresses and solves all these issues. Developers focus fully on the application logic itself, using well-tested development processes, similarly to the programming of web applications. Training costs are minimal, application management is centralised and many technological risks are covered.
Distance calculation
Vork is an open-source PHP framework designed for rapid development of performance-oriented scalable applications.
The mission of Vork is to provide an MVC architecture and full-featured toolkit in a gimmick-free no-frills approach without adding overhead, creating slow & unscalable abstraction layers or re-inventing native PHP functionality.
TyniMVC is a small and simple PHP framework, MVC ready, designed to be an educational tool for programming teaching. Using this framework is very easy, that’s the reason to use it as a teaching resource. Released under GPL 3 license, you can visit official web site at http://tynimvc.sourceforge.net/ .
The APF team is proud to anounce the new website together with the 1.11 stable release.
Revision 1.11 comes up with a revised version of the form support on the basis of taglibs. Now generic definition of validators and filters on the basis of the observer pattern is supported and forms can be easier adjusted to own needs.
The OR mapper GenericORMapper, already added in the release 1.9, was extended with tools to automatically setup and update a database. Now the developer can completely concentrate on the development of the logic of the application since the storage of the objects is completely managed by the mapper.
Part of the release’s performance optimization were optimizations in the core of the frameworks and the rework of the integrated BenchmarkTimer. It now supplies the developer with a better graphical representation of the measurements to find hot spots within an application. Thus an application can be optimally prepared for operation.
With release of version 1.11 the support for PHP 4 has been announced for discontinuation and the compatibility with PHP 5.3 has been improved. The coming version 1.12 will focus on the extension of the new form support and the rework of the configuration component.
The new release files can be downloaded from http://adventure-php-framework.org/Page/008-Downloads.