Session from the T3CON08 in Berlin. Report about the development of TYPO3 5.0 since the last year’s conference. Demonstrates the persistence framework, content repository and REST services
6. Brought your own towel?
„ A towel is about the most useful thing
an interstellar hitch hiker can carry. ”
Douglas Adams
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
19. Working in Lübeck
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
20. Spreading the word ...
Several articles exist about FLOW3 in german print magazines
In the meantime FLOW3 has been presented on 5 conferences
1 master thesis, 2 bachelor theses and a few study works have been published
about FLOW3 (profs at university like it ;-))
Blogs are reporting about FLOW3 and comparet it with frameworks like Spring,
Zend Framework and Symfony
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
21. TYPO3 and FLOW3
FLOW3 acts as a reliable basis for any kind of web application
TYPO3 v5 is a package based on FLOW3
Extensions are packages as well, all based on FLOW3
Packages can be used
as extensions for TYPO3
as libraries for standalone applications
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
22. FLOW3 modules
AOP Locale Reflection
Component Log Resource
Configuration MVC Session
Cache Package Utility
Error Persistence Validation
Event Property ... and more
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
23.
24.
25. Persistence
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
26. Persistence
JSR-283 based Content Repository
Defines a uniform API for accessing content repositories
A Content Repository
is a kind of object database for storage, search and retrieval of hierarchical
data
provides methods for versioning, transactions and monitoring
TYPO3CR is the first working port of JSR-170 / JSR-283
Karsten Dambekalns is member of the JSR-283 expert group
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
27. Persistence
Transparent Persistence
Explicit support for Domain-Driven Design
Class Schemata are defined by the Domain Model class
No need to write an XML or YAML schema definition
No need to define the database model and object model multiple
times at different places
Automatic persistence in the JSR-283 based Content Repository
Legacy data sources can be mounted
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
28. DEMO
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
29.
30. REST Services
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
31. Representational State Transfer
Style of network architecture principles
Mostly for building web services
Introduced in 2000 by Roy Fielding
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
32. RESTful Principles
Resource-Oriented
Uniform Interface
Stateless
Accessible through a uniform interface
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
33. DEMO
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
34.
35. TYPO3 5.0
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
36.
37. Getting Started
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
38. Getting Started
Requirements
Some webserver (tested with Apache and IIS)
PHP 5.3 or higher (see http://snaps.php.net/)
PHP extensions: zlib, PDO and PDO SQLite and the usual stuff
Some database (tested with SQLite, MySQL and Postgres)
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
39. Getting Started
Download
Currently available through Subversion
Checkout the FLOW3 Distribution:
svn co https://svn.typo3.org/FLOW3/distribution/trunk
or try the TYPO3 Distribution:
svn co https://svn.typo3.org/TYPO3v5/distribution/trunk
Nightly builds will follow as soon as we've set up our release mechanism
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
40. Getting Started
Grant File Permissions
The webserver needs
read access for all files of the distribution and
write access in the Public and Data directory
On Linux / Mac just call sudo ./fixpermissions.sh
On legacy operating systems: ask your system administrator
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
41. Getting Started
Create a package
In order to create a new package, just create
a new folder within the Packages directory.
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
42. Getting Started
Create a Default Controller
Create a subfolder in your package: Classes/Controller/
Create the controller class file:
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
44. Topictext
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
45.
46.
47.
48.
49.
50. Playground
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
51. Things to play with
F3BLOG
Try out the Blog Example:
svn co https://svn.typo3.org/FLOW3/Distribution/branches/BlogExample/
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
52. Things to play with
TYPO3CR Admin
Play with persistence and watch your object in the TYPO3CR Admin
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
53. Things to play with
Testrunner
Experiment with Test-Driven Development and watch the tests in
FLOW3's test runner
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
54. Progress
Developing TYPO3 5.0 ...
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
55. Current State
AOP
Component
Configuration
Cache
Error
Event
0 25 50 75 100
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
56. Current State
Locale
Log
MVC
Package
Persistence
Property
0 20 40 60 80
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
57. Current State
Reflection
Resource
Session
Utility
Validation
0 25 50 75 100
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
58. Roadmap (tentative)
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
59. First FLOW3 release end of this year
Depends on when we get persistence into an alpha stage
Frequent release planned after the first release
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
60. First Pilot Projects in Winter '09 / Spring '09
Find out what's already working and what's still missing
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
61. Further Development of the CMS Package
Still our main goal: TYPO3 5.0
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
62. Planned Release of TYPO3 5.0 beta: End of 2009
That's our plan
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share
63.
64. Links
FLOW3 Website
http://flow3.typo3.org
TYPO3 Forge
http://forge.typo3.org
Coding Guidelines
http://flow3.typo3.org/documentation/coding-guidelines/
Further Reading
http://flow3.typo3.org/about/principles/further-reading/
Inspiring people to
Hitchhiker's Guide to TYPO3 v5 share