Welcome!

Welcome to the documentation page of the Adventure PHP Framework (APF)!

On this website you are provided with the latest documentation of the framework. You can access a great number of examples and tutorials dealing with object orientated software design an development.

Our engaged community helps you in questions or problems with great pleasure.

Download apf-demopack-2.0-php5.tar.gz

Latest News

APF 2.0 arrived!

APF 2.0 arrived!

Sunday, 26th January 2014

The APF team is proud to announce the first stable release of the 2.X series after more than 9 months of intensive work on code, documentation and project management!

APF release 2.0 is a huge milestone in history of the framework and smoothes the way for new functionality to come. Download the new version today and benefit from various new features!

The biggest change of this new version is about the totally re-designed class loading according to PSR-0. This both ensures better compatibility and interoperability with other products as well as being able to use PHP namespaces natively within your application.

Within more than 300 commits the team has introduced various code and performance optimizations. Details can be taken from the Adventure PHP Framework Issue Management-Tool.

In order to ease update to the new version the APF team has added a migration script that updates existing applications in less than a minute automatically. Please find a howto and additional hints under Migration from 1.17 to 2.0.

The entire APF team wishes a lot of fun with the new release and Happy Coding to you!

APF 2.0 to be release soon!

APF 2.0 to be release soon!

Saturday, 20th October 2013

The APF team is proud having reached the next milestone of improvement of the Adventure PHP Frameworks after more that six months of hard work! As of now the first preview version of APF 2.0 is available!

The biggest change of this new version is about the totally re-designed class loading according to PSR-0. This both ensures better compatibility and interoperability with other products as well as being able to use PHP namespaces natively within your application.

Furthermore, 200 commits have introduced various code and performance optimizations as well as new features. Details can be taken from the Adventure PHP Framework Issue Management tool. It replaces the Roadmap that has previously been managed within the wiki.

In order to ease update to the new version the APF team has added a migration script that updates existing applications in less than a minute automatically. Please find a howto and additional hints under Migration von 1.17 auf 2.0 (German).

The entire APF team wishes Happy Coding to you!

In order to improve the APF 2.0 version feedback is highly appreciated at any time! Please report your experience using the Forum or create an improvement task for the implementation within the Adventure PHP Framework Issue Management-Tool. We are looking forward to hearing from you!

New documentation structure

New documentation structure

Saturday, 20th October 2013

Along with the technical changes for APF 2.0 the documentation has been updated and enhanced for a large number of the chapters! We are convinced that getting familiar with the Adventure PHP Framework becomes much easier now.

Here are the chapters with the biggest changes or new sections:

Due to the fact that APF 2.0-beta is a preview version APF 1.17-stable is still supported. Thus, documentation is available for both versions. By default, the newest version is selected but you can easily switch to the Version 1.X line at any time.

In order to improve documentation feedback is highly appreciated at any time! Please report your experience using the Forum or create an improvement task for the documentation within the Adventure PHP Framework Issue Management-Tool. We are looking forward to hearing from you!

Version 1.17 (stable) released!

Version 1.17 (stable) released!

Saturday, 17th of November 2012

The APF team is proud to announce the stable release of version 1.17. It understands itself as a maintenance release but however includes several new features.

This version contains all features described on the roadmap.

The major feature changes are:

  • Within this release the largest clean-up of tag class and method names in the history of the APF was conducted. This includes removal of old conventions for tag class names as well as of names of private and protected methods and variables. A full list of changes and migration hints can be taken from Migration from 1.16 to 1.17.
  • The APF parser is now able to resolve nested structures of tags with the same prefix and name within one document or a file. This eases the implementation of tags compared to the previous version once again. Details on this feature can be taken from the tutorial Implementation of tags.
  • This new release includes full support for PHP's APC extension with the ApcCacheProvider (see CacheManager) and the ApcConfigurationProvider (see Configuration). Both can be used to store application data within an APC in-memory store which can accelerate applications by factor 4-5.
  • With the present release the Logger has been redesigned from the scratch. Besides the consolidation with the adding more flexibility and increase the extensibility has been the focus of 1.17's work.
  • The state model of APF form controls has been added a visibility indicator. You are now able to hide form fields and their dependent controls programmatically. Details can be taken from the Usage of forms chapter.
  • Besides the new functionality this APF release contains several bug fixes and optimizations to code and documentation.

All features within this release can be taken from the Roadmap (German).

The whole set of changes can be taken from the revision history.

The migration to this release is described on Migration from 1.16 to 1.17.

Version 1.16 (stable) released!

Version 1.16 (stable) released!

Saturday, 17th of November 2012

The APF team is proud to announce the stable release of version 1.16.

This version contains all features described on the roadmap.

The major feature changes are:

  • The biggest change in release 1.16 was done behind the scenes affecting one of the key components of the APF: the tag parser. With the new style of tag definition naming and reusability of tag implementations have been improved considerably. XML prefix and name can be now defined freely and tags can be used within any level of hierarchy. Further, the performance has been increased by 10-10%.
  • The APF form support now includes a multi-file-upload by Werner Liemberger. The feature is based on jQuery and integrates into APF forms seamlessly.
  • APF user Coach83 contributed the implementation of the roadmap feature permanent log-in for the user management module. Users that have logged-in once stay logged-in even after closing the browser.
  • Release 1.16 now supports a native integration of ReCaptcha - the CAPTCHA service by Google. Similar to the existing implementation - of course the existing implementation is still supported - ReCaptcha can be integrated via tag.
  • Nicolas Pecher finished the work of Werner Liemberger creating a new set of file system tools. The APF now contains a brand new abstraction for accessing folders and files.
  • Besides the new functionality this APF release contains several bug fixes and optimizations to code and documentation.

All features within this release can be taken from the Roadmap (German).

The whole set of changes can be taken from the revision history.

The migration to this release is described on Migration from 1.15 to 1.16.

A complete list of historical news can be found on the News page.