User:Jesus Presley/sandbox/TYPO3 Flow

From Wikipedia, the free encyclopedia
Jump to: navigation, search

TYPO3 Flow (formerly FLOW3) is a free and open source web application framework written in PHP.

The first final version was released on October 20, 2011. It was primarily designed as a basis for upcoming content management system TYPO3 Neos, but can also be used independently. It is generally suitable for PHP development of mid- or large-scaled web applications.

TYPO3 Flow
TYPO3 Flow
Developer(s) Robert Lemke, TYPO3 Association
Stable release 1.1.0 / August 24, 2012 (2012-08-24)
Written in PHP
Operating system Cross-platform
Type Web application framework
License LGPL, Version 3 or higher (Free Software)
Website flow.typo3.org

History[edit]

In 2006, the developers of the Content Management System TYPO3 decided to rewrite the system from scratch. The architecture and underlying techniques of the 4.x branch, existing and further developed since its release in April 2006,[1][2] were state of the art during the turn of the millennium. [3] Flow evolves from this decision as a discrete and stand-alone Framework that can be used independently from TYPO3.

On August, 29th 2011 the developers announced the first beta release after "8 months of hard work."[4] At the keynote of the international TYPO3 Conference 2011 (T3CON11) in Hanau, Germany, Robert Lemke, Chief Developer of the coming "next generation" Version of TYPO3, announced the release of the final version of Flow to be on October 20.[5] On October 21, Karsten Dambekalns announced the release of FLOW3 1.0 final.[6]

At the international TYPO3 Conference 2012 (T3CON12) TYPO3 was announced as a family brand.[7] Subsequently all product names from the TYPO3 project start with TYPO3 now and as "TYPO3 Flow3" is not easy to pronounce and wouldn't match the name of the other products it was renamed to "TYPO3 Flow".

Usage[edit]

TYPO3 Flowprovides the base of TYPO3 Neos, but can also be used independently,[8] i.e. establishing own applications such as a blogsystem. In the context of Flow’s documentation a blogsystem is used to visualize the various paradigms of Flow like MVC (Model-View-Controller), AOP (Aspect-Oriented-Programming) or DDD (Domain-Driven-Design). The system uses namespaces and therefore depends on PHP 5.3+. It uses Doctrine 2 as a database abstraction layer, and can interface with e.g. MySQL and PostgreSQL.

Paradigms[edit]

The developers of TYPO3 Flow focussed on a series of paradigms and design patterns, some of which are considered as innovative within the PHP community. These conventions assist the developers to effectively create clean, structured code and to prevent errors [2] Some important aspects are:

When designing TYPO3 Flow the developers payed attention that their custom code has minimal dependencies on the TYPO3 Flow API . This allows to import and use modules that were originally written for other systems (such as Symfony) to be used in TYPO3 Flow with very little modifications. [2]

TYPO3 Flow is based on basic, transparent concepts to make working with it as simple as possible. Thus, the user can, for example, display customer information by writing only three or four lines of PHP source code a Fluid template with HTML code. When the conventions are followed exactly, the framework automatically applies its features to the code (for example, the security baselines).

On a side note, the Java WCMS community has also been paying attention to the development of TYPO3 Neos and TYPO3 Flow, for its modern architecture and transparent code basis[2][10]

Development[edit]

On 2 June 2009 appeared with FLOW3 1.0.0 Alpha 1 is the first Build.[11]

In the following period about 14 alpha versions where released, until FLOW3 was ready for the beta phase in August 2011.[12] In this early development stage, the API has not changed, to guarantee backwards compatibility. The TYPO3 Flow core team currently consists of eleven developers actively working on the framework.[2]

Relations to TYPO3 CMS[edit]

Maintenance[edit]

TYPO3 Flow was initiated by the TYPO3 community and is mainly developed by the TYPO3 core team. The primary goal is to create a basis for the upcoming CMS TYPO3 Neos. The development and publication is - like all TYPO3 subprojects - funded by the TYPO3 Association.

Approximation[edit]

To make the transition to TYPO3 CMS easier, most of the new features of TYPO3 Flow have been ported for the use with older TYPO3 versions (4.3 and higher). These functions have been integrated into the system extension Extbase and the related Fluid templating engine. Therefore, Domain-Driven Design and MVC concepts can be used within TYPO3 CMS and subsequently ported to systems running TYPO3 Neos.

This conventions were agreed on during Transition Days 2008 in Berlin.[13] Another outcome of this is the renaming from FLOW3 to TYPO3 Flow, which was decided by the TYPO3 association in 2012. The association wanted to clarify that there is a strong relationship between the CMS and the application framework.[14]

Fluid Template-Engine[edit]

TYPO3 Flow has its own template engine called Fluid.[15] Though there already were numerous templating engines, none of them did satisfy the requirements of the developers. Designing Fluid, they focussed on the following features:

  • Support of logical structures (such as conditions, loops, or iterating over arrays)
  • No PHP code in the template file
  • Easy to expand
  • Simple syntax
  • Provide an XML structure for automated template validation .

Example:

<f:for each="{blogPosts}" as="post">
  Title: {post.title}<br />
</f:for>

blogPosts is a PHP array, which is passed to fluid from external PHP code (the ViewHelper). The template iterates over this array and prints the title of each post object.

The tags used in the template are called ViewHelper. The ability to develop custom ViewHelpers makes Fluid a flexible and extendible templating system.

Release history[edit]

Legend: Old version Older version, still supported Current version Latest preview version Future release
Package Version Release date Notes / Changes
FLOW3 Old version, no longer supported: 1.0.0 Alpha 1 2 Jun 2009
  • First alpha version, followed by numerous alpha, beta and RC releases
Older version, yet still supported: 1.0.0 20 Oct 2011[16]
  • After 5 years of development, the framework FLOW3 1.0. is released, to serve as the foundation for the new product,
    codename "TYPO3 Phoenix",[17] finally named TYPO3 Neos.
Current stable version: 1.1 28 Aug 2012
  • Focus on Speed and Stability
  • Cookie management, content negotiation for media types, cache headers support, expiration model support and a new virtual HTTP client [18]
TYPO3 Flow Future release: 2.0 13 Dec 2012
  • Localisation of the framework (e.g. objects, labels, URLs)[2]
  • Current release state beta 3 (June 2013), final release estimated for fall 2013[19]

External links[edit]

References[edit]

  1. ^ http://wiki.typo3.org/TYPO3_4.0 called on 06.10.2011
  2. ^ a b c d e f g Robert Lemke. "Robert Lemke im Interview zu FLOW3". heise developer (in German). Retrieved 2011-10-22. 
  3. ^ Rau, Jochen & Kurfürst, Sebastian: Zukunftssichere TYPO3-Extensions mit Extbase & Fluid, O’Reilly Verlag 2010, p. IX
  4. ^ http://flow.typo3.org/download/release-notes/100-beta-1/ called on 06.10.2011
  5. ^ http://www.heise.de/developer/meldung/FLOW3-Framework-kommt-am-20-Oktober-1356854.html called on 07.10.11
  6. ^ http://lists.typo3.org/pipermail/typo3-announce/2011/000219.html called on 01.12.11
  7. ^ http://typo3.org/the-brand/the-way-to-the-new-branding/
  8. ^ http://flow.typo3.org/about/ called on 06.10.2011
  9. ^ [1] An Enterprise Feature transferred to the PHP world: Aspect-Oriented Programming with FLOW3 | work = t3n Magazine | date = 2008-12-03 | accessdate = 2012-10-05
  10. ^ [2] State-of-the-art Architecture for Web Content Management System | date = 2008-10-02 | accessdate = 2012-10-05
  11. ^ "FLOW3 - TYPO3's PHP Application Framework". Retrieved 2012-10-05. 
  12. ^ "FLOW3 release notes". Retrieved 22 October 2011. 
  13. ^ "A common roadmap for TYPO3". Retrieved 2012-10-05. 
  14. ^ January Christe (2012-10-05). "From TYPO3 5.0 Phoenix is ​​"TYPO3 Neos"".  Text " t3n Magazine " ignored (help); Unknown parameter |. url= ignored (help);
  15. ^ "TYPO3 Flow 2.0.0 documentation: Templating". TYPO3 Assosiation. Retrieved 9 May 2013. 
  16. ^ Template:Quote web
  17. ^ release notes for FLOW3 1.0 rec. 11 October 2011
  18. ^ "FLOW3 1.1 Release Notes". TYPO3 Association. Retrieved 30 August 2012. 
  19. ^ Cite error: The named reference f3-roadmap was invoked but never defined (see the help page).

User:Jesus Presley/sandbox/Category:Content management systems User:Jesus Presley/sandbox/Category:Free content management systems User:Jesus Presley/sandbox/Category:PHP frameworks User:Jesus Presley/sandbox/Category:TYPO3