hitchhiker’s guide to typo3 5.0

73
T3CON08 – Berlin, Germany Hitchhiker's Guide to TYPO3 5.0

Upload: robert-lemke

Post on 08-May-2015

1.945 views

Category:

Documents


1 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Hitchhiker’s Guide to TYPO3 5.0

T3CON08 – Berlin, Germany

Hitchhiker's Guide to TYPO3 5.0

Page 2: Hitchhiker’s Guide to TYPO3 5.0

T3CON08 – Berlin, Germany

Hitchhiker's Guide to TYPO3 5.0

Page 3: Hitchhiker’s Guide to TYPO3 5.0
Page 4: Hitchhiker’s Guide to TYPO3 5.0

T3CON08 – Berlin, Germany

Hitchhiker's Guide to TYPO3 5.0

Page 5: Hitchhiker’s Guide to TYPO3 5.0
Page 6: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Brought your own towel?

A towel is about the most useful thingan interstellar hitch hiker can carry.

„ ”

Douglas Adams

Page 7: Hitchhiker’s Guide to TYPO3 5.0
Page 8: Hitchhiker’s Guide to TYPO3 5.0

What happenedsince T3CON07?

Page 9: Hitchhiker’s Guide to TYPO3 5.0
Page 10: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshare

Buy none get two for free.

CMS

5.0Framework 1.0

2008

Page 11: Hitchhiker’s Guide to TYPO3 5.0
Page 12: Hitchhiker’s Guide to TYPO3 5.0
Page 13: Hitchhiker’s Guide to TYPO3 5.0
Page 14: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Welcome to the family

Page 15: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Page 16: Hitchhiker’s Guide to TYPO3 5.0
Page 17: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Page 18: Hitchhiker’s Guide to TYPO3 5.0
Page 19: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Working in Lübeck

Page 20: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Page 21: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Page 22: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

FLOW3 modules

AOP

Component

Configuration

Cache

Error

Event

Locale

Log

MVC

Package

Persistence

Property

Reflection

Resource

Session

Utility

Validation

... and more

Page 23: Hitchhiker’s Guide to TYPO3 5.0
Page 24: Hitchhiker’s Guide to TYPO3 5.0
Page 25: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Persistence

Page 26: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Persistence

Page 27: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Persistence

Page 28: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

DEMO

Page 29: Hitchhiker’s Guide to TYPO3 5.0
Page 30: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

REST Services

Page 31: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Representational State Transfer

Style of network architecture principles

Mostly for building web services

Introduced in 2000 by Roy Fielding

Page 32: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

RESTful Principles

Resource-Oriented

Uniform Interface

Stateless

Accessible through a uniform interface

Page 33: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

DEMO

Page 34: Hitchhiker’s Guide to TYPO3 5.0
Page 35: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

TYPO3 5.0

Page 36: Hitchhiker’s Guide to TYPO3 5.0
Page 37: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Getting Started

Page 38: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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)

Page 39: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Page 40: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

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

Page 41: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Getting Started

Create a package

In order to create a new package, just createa new folder within the Packages directory.

Page 42: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Getting Started

Create a Default Controller

Create a subfolder in your package: Classes/Controller/

Create the controller class file:

Page 43: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Solving Beginner's Problems

Page 44: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Topictext

Page 45: Hitchhiker’s Guide to TYPO3 5.0
Page 46: Hitchhiker’s Guide to TYPO3 5.0
Page 47: Hitchhiker’s Guide to TYPO3 5.0
Page 48: Hitchhiker’s Guide to TYPO3 5.0
Page 49: Hitchhiker’s Guide to TYPO3 5.0
Page 50: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Playground

Page 51: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Things to play with

F3BLOG

Try out the Blog Example:svn co https://svn.typo3.org/FLOW3/Distribution/branches/BlogExample/

Page 52: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Things to play with

TYPO3CR Admin

Play with persistence and watch your object in the TYPO3CR Admin

Page 53: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Things to play with

Testrunner

Experiment with Test-Driven Development and watch the tests inFLOW3's test runner

Page 54: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Progress

Developing TYPO3 5.0 ...

Page 55: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Current State

AOP

Component

Configuration

Cache

Error

Event

0 25 50 75 100

Page 56: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Current State

Locale

Log

MVC

Package

Persistence

Property

0 20 40 60 80

Page 57: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Current State

Reflection

Resource

Session

Utility

Validation

0 25 50 75 100

Page 58: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

(tentative)

Roadmap

Page 59: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

First FLOW3 release end of this year

Depends on when we get persistence into an alpha stage

Frequent release planned after the first release

Page 60: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

First Pilot Projects in Winter '09 / Spring '09

Find out what's already working and what's still missing

Page 61: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Further Development of the CMS Package

Still our main goal: TYPO3 5.0

Page 62: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Planned Release of TYPO3 5.0 beta: End of 2009

That's our plan

Page 63: Hitchhiker’s Guide to TYPO3 5.0
Page 64: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Links

FLOW3 Websitehttp://flow3.typo3.org

TYPO3 Forgehttp://forge.typo3.org

Coding Guidelineshttp://flow3.typo3.org/documentation/coding-guidelines/

Further Readinghttp://flow3.typo3.org/about/principles/further-reading/

Page 65: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Further Reading

http://flow3.typo3.org/about/principles/further-reading/

Page 66: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

THANK YOU, CORE TEAM!

Page 67: Hitchhiker’s Guide to TYPO3 5.0

Official Espresso Sponsor

Page 68: Hitchhiker’s Guide to TYPO3 5.0
Page 69: Hitchhiker’s Guide to TYPO3 5.0

One more thing ...

Page 70: Hitchhiker’s Guide to TYPO3 5.0
Page 71: Hitchhiker’s Guide to TYPO3 5.0

Inspiring people toshareHitchhiker's Guide to TYPO3 v5

Questions

Page 72: Hitchhiker’s Guide to TYPO3 5.0
Page 73: Hitchhiker’s Guide to TYPO3 5.0