TYPO3 4.6 takes the opportunity to introduce new requirements and cleaning code from old, deprecated, options. This is made possible thanks to the 4.5 release which will be supported until 2014.
MS Internet Explorer 6 support has been dropped for the backend. So are older versions of GraphicsMagick and ImageMagick and PHP 5.3 is now a requirement.
But TYPO3 4.6 will be much more than a trimmed-down version of 4.5 as it includes a completely reworked localization handling based on XLIFF and Pootle that shall be used by the v5 as well.
In short, this talk is about presentating the changes, the new features and how to use them.
3. Overview
About me & my supporters
Past and present of TYPO3
Things to know (requirements, ...)
Highlights
Performance
Inspiring people to
TYPO3 4.6 --rebase Overview share
4. About me & my supporters
Who is that?
MSc Computer Science (Swiss Institute of Technology in Lausanne,
Switzerland)
TYPO3 Core Team since 2009, release manager TYPO3 4.6
Today living and working in Fribourg (CH)
Founder Causal Sàrl
Before that: senior consultant in Bern
Twitter: @xperseguers
Inspiring people to
TYPO3 4.6 --rebase Overview share
5. About me & my supporters
Release Team Supporters
Oliver Hader
Core Team Leader
Ernesto Baschny & Steffen Kamper
Release Manager & Technical Leader for 4.5 LTS
Benjamin Mack
Release Manager for 4.4
Ben van’t Ende
Community Manager
photographs courtesy of Jochen Rau, Nils Dehl and Thomas Hempel
Inspiring people to
TYPO3 4.6 --rebase Overview share
8. Past and Present
TYPO3 in the past
Version control system: Subversion (SVN)
Inspiring people to
TYPO3 4.6 --rebase Overview share
9. Past and Present
TYPO3 in the past
Version control system: Subversion (SVN)
RFC: review in Core mailing list
Inspiring people to
TYPO3 4.6 --rebase Overview share
10. Past and Present
TYPO3 in the past
Version control system: Subversion (SVN)
RFC: review in Core mailing list
TYPO3 4.5 LTS (Long Term Support) until 2014
Actively fixing bugs
Actively handling of security issues
As much as possible: keep backward compatibility
Deprecated code stays in place!
Inspiring people to
TYPO3 4.6 --rebase Overview share
12. Past and Present
TYPO3 currently
Version control system: Git
Inspiring people to
TYPO3 4.6 --rebase Overview share
13. Past and Present
TYPO3 currently
Version control system: Git
Used by FLOW3 since mid-2010
Inspiring people to
TYPO3 4.6 --rebase Overview share
14. Past and Present
TYPO3 currently
Version control system: Git
Used by FLOW3 since mid-2010
RFC: review in Gerrit
Inspiring people to
TYPO3 4.6 --rebase Overview share
15. Past and Present
TYPO3 currently
Version control system: Git
Used by FLOW3 since mid-2010
RFC: review in Gerrit
Deprecated code: remove according to deprecation log
Inspiring people to
TYPO3 4.6 --rebase Overview share
16. Past and Present
Gerrit in 2 minutes
Anonymous access for reading/testing
Inspiring people to
TYPO3 4.6 --rebase Overview share
17. Past and Present
Gerrit in 2 minutes (cont.)
typo3.org credentials for reviewing
Inspiring people to
TYPO3 4.6 --rebase Overview share
18.
19.
20. Past and Present
Releases: The Big Picture
BLE project
Inspiring people to
TYPO3 4.6 --rebase Overview share
22. Past and Present
Roadmap for TYPO3 4.6
Feature freeze Next week!
11th 15th
Kickoff
T3CS Berlin
Inspiring people to
TYPO3 4.6 --rebase Overview share
24. Things to know about TYPO3 4.6
Rebase!
Inspiring people to
TYPO3 4.6 --rebase Overview share
25. Things to know about TYPO3 4.6
Rebase!
Background of “--rebase”?
Inspiring people to
TYPO3 4.6 --rebase Overview share
26. Things to know about TYPO3 4.6
Rebase!
Background of “--rebase”?
$ git --rebase
Inspiring people to
TYPO3 4.6 --rebase Overview share
27. Things to know about TYPO3 4.6
Rebase!
Background of “--rebase”?
$ git --rebase
TYPO3 4.5 LTS is there
Inspiring people to
TYPO3 4.6 --rebase Overview share
28. Things to know about TYPO3 4.6
Rebase!
Background of “--rebase”?
$ git --rebase
TYPO3 4.5 LTS is there
Face the future
Inspiring people to
TYPO3 4.6 --rebase Overview share
29. Things to know about TYPO3 4.6
New Requirements
PHP 5.3
source: http://distrowatch.com
Inspiring people to
TYPO3 4.6 --rebase Overview share
30. Things to know about TYPO3 4.6
New Requirements
Inspiring people to
TYPO3 4.6 --rebase Overview share
31. Things to know about TYPO3 4.6
New Requirements
PHP general
Inspiring people to
TYPO3 4.6 --rebase Overview share
32. Things to know about TYPO3 4.6
New Requirements
PHP general
Safe Mode no more supported (deprecated as of PHP 5.3.0)
Inspiring people to
TYPO3 4.6 --rebase Overview share
33. Things to know about TYPO3 4.6
New Requirements
PHP general
Safe Mode no more supported (deprecated as of PHP 5.3.0)
Magic Quotes deprecated (expected to be removed in PHP 5.4.0)
Inspiring people to
TYPO3 4.6 --rebase Overview share
34. Things to know about TYPO3 4.6
New Requirements
PHP general
Safe Mode no more supported (deprecated as of PHP 5.3.0)
Magic Quotes deprecated (expected to be removed in PHP 5.4.0)
Relying on this feature for your extensions is highly
discouraged
Inspiring people to
TYPO3 4.6 --rebase Overview share
35. Things to know about TYPO3 4.6
New Requirements
Inspiring people to
TYPO3 4.6 --rebase Overview share
36. Things to know about TYPO3 4.6
New Requirements
ImageMagick 6
Inspiring people to
TYPO3 4.6 --rebase Overview share
37. Things to know about TYPO3 4.6
New Requirements
ImageMagick 6
v4 and v5 deprecated since TYPO3 4.5 LTS
Inspiring people to
TYPO3 4.6 --rebase Overview share
38. Things to know about TYPO3 4.6
New Requirements
ImageMagick 6
v4 and v5 deprecated since TYPO3 4.5 LTS
ImageMagick 6.3 typically available in stable Linux distributions
Inspiring people to
TYPO3 4.6 --rebase Overview share
39. Things to know about TYPO3 4.6
New Requirements
ImageMagick 6
v4 and v5 deprecated since TYPO3 4.5 LTS
ImageMagick 6.3 typically available in stable Linux distributions
GraphicsMagick supported
Inspiring people to
TYPO3 4.6 --rebase Overview share
40. Things to know about TYPO3 4.6
Internet Explorer 6
Inspiring people to
TYPO3 4.6 --rebase Overview share
41. Things to know about TYPO3 4.6
Internet Explorer 6
MS Internet Explorer 6 not supported anymore in TYPO3’s Backend
Inspiring people to
TYPO3 4.6 --rebase Overview share
42. Things to know about TYPO3 4.6
Internet Explorer 6
MS Internet Explorer 6 not supported anymore in TYPO3’s Backend
Mainstream support for Windows XP (and thus IE6) retired on
April 14th, 2009 †
† source: http://support.microsoft.com/lifecycle/?p1=3223
Inspiring people to
TYPO3 4.6 --rebase Overview share
43. Things to know about TYPO3 4.6
Internet Explorer 6
MS Internet Explorer 6 not supported anymore in TYPO3’s Backend
Mainstream support for Windows XP (and thus IE6) retired on
April 14th, 2009 †
Extended support available until April 8th, 2014 †
In line with TYPO3 4.5 LTS’ end of life
† source: http://support.microsoft.com/lifecycle/?p1=3223
Inspiring people to
TYPO3 4.6 --rebase Overview share
44. Things to know about TYPO3 4.6
Internet Explorer 6
MS Internet Explorer 6 not supported anymore in TYPO3’s Backend
Mainstream support for Windows XP (and thus IE6) retired on
April 14th, 2009 †
Extended support available until April 8th, 2014 †
In line with TYPO3 4.5 LTS’ end of life
Of course:
Agencies are free to create websites and Frontend extensions for
IE6 † source: http://support.microsoft.com/lifecycle/?p1=3223
Inspiring people to
TYPO3 4.6 --rebase Overview share
45. Things to know about TYPO3 4.6
Deprecated Code
Inspiring people to
TYPO3 4.6 --rebase Overview share
46. Things to know about TYPO3 4.6
Deprecated Code
~3,000 LoC
Inspiring people to
TYPO3 4.6 --rebase Overview share
47. Things to know about TYPO3 4.6
Deprecated Code
~3,000 LoC
Deprecation log in
typo3conf/deprecation[...].log
Inspiring people to
TYPO3 4.6 --rebase Overview share
48. Things to know about TYPO3 4.6
Deprecated Code
~3,000 LoC
Deprecation log in
typo3conf/deprecation[...].log
Alternative either in
message or within code as
comment
Inspiring people to
TYPO3 4.6 --rebase Overview share
49. Things to know about TYPO3 4.6
Deprecated Code
~3,000 LoC
Deprecation log in
typo3conf/deprecation[...].log
Alternative either in
message or within code as
comment
Upgrade wizard
Inspiring people to
TYPO3 4.6 --rebase Overview share
50. Things to know about TYPO3 4.6
Cleanup
Inspiring people to
TYPO3 4.6 --rebase Overview share
51. Things to know about TYPO3 4.6
Cleanup
$GLOBALS now explicitly used
Inspiring people to
TYPO3 4.6 --rebase Overview share
52. Things to know about TYPO3 4.6
Cleanup
$GLOBALS now explicitly used
Visibility (public/protected) enforced & partially added to legacy
code
Inspiring people to
TYPO3 4.6 --rebase Overview share
53. Things to know about TYPO3 4.6
Cleanup
$GLOBALS now explicitly used
Visibility (public/protected) enforced & partially added to legacy
code
A few numbers...
Inspiring people to
TYPO3 4.6 --rebase Overview share
54. Things to know about TYPO3 4.6
Cleanup: Numbers!
+6%
Inspiring people to
TYPO3 4.6 --rebase Overview share
55. Things to know about TYPO3 4.6
Cleanup: Numbers!
+6% Comment Lines of code (CLOC)
source: https://github.com/sebastianbergmann/phploc
Inspiring people to
TYPO3 4.6 --rebase Overview share
56. Things to know about TYPO3 4.6
Cleanup: Numbers!
+9%
Inspiring people to
TYPO3 4.6 --rebase Overview share
57. Things to know about TYPO3 4.6
Cleanup: Numbers!
+9% Lines of code (LOC)
source: https://github.com/sebastianbergmann/phploc
Inspiring people to
TYPO3 4.6 --rebase Overview share
58. Things to know about TYPO3 4.6
Cleanup: Numbers!
+12%
Inspiring people to
TYPO3 4.6 --rebase Overview share
59. Things to know about TYPO3 4.6
Cleanup: Numbers!
+12% Number of files and directories
source: https://github.com/sebastianbergmann/phploc
Inspiring people to
TYPO3 4.6 --rebase Overview share
60. Things to know about TYPO3 4.6
Cleanup: Numbers!
-10%
Inspiring people to
TYPO3 4.6 --rebase Overview share
61. Things to know about TYPO3 4.6
Cleanup: Numbers!
-10% Cyclomatic Complexity
source: https://github.com/sebastianbergmann/phploc
Inspiring people to
TYPO3 4.6 --rebase Overview share
63. Highlights of TYPO3 4.6
XLIFF and Localization
Inspiring people to
TYPO3 4.6 --rebase Overview share
64. Highlights of TYPO3 4.6
XLIFF and Localization
Unified with FLOW3
Inspiring people to
TYPO3 4.6 --rebase Overview share
65. Highlights of TYPO3 4.6
XLIFF and Localization
Unified with FLOW3
New localization format
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
<meta type="array">
<type>module</type>
<description>Labels for Extension Manager</description>
</meta>
<data type="array">
<languageKey index="fr" type="array">
<label index="tasks_updateExtensionlistTask.name">Mettre à jour la liste des extensions</label>
<label index="tasks_updateExtensionlistTask.description">Mise à jour de la liste [...]</label>
</languageKey>
...
Inspiring people to
TYPO3 4.6 --rebase Overview share
66. Highlights of TYPO3 4.6
XLIFF and Localization
Unified with FLOW3
New localization format
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0">
<file source-language="EN" target-language="fr" product-name="em">
<header/>
<body>
<trans-unit id="tasks_updateExtensionlistTask.name" approved="yes">
<source>Update Extension List</source>
<target state="translated">Mettre à jour la liste des extensions</target>
</trans-unit>
<trans-unit id="tasks_updateExtensionlistTask.description" approved="yes">
<source>Update the extension list on a regular basis. Once a day is a [...]</source>
<target state="translated">Mise à jour de la liste des extensions sur une [...]</target>
</trans-unit>
Inspiring people to
TYPO3 4.6 --rebase Overview share
67. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
1 file/language
English
locallang.xml
locallang.xlf
fr.locallang.xlf
French
Inspiring people to
TYPO3 4.6 --rebase Overview share
68. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
1 file/language
English locallang.xlf
locallang.xml
fr.locallang.xlf
French
Inspiring people to
TYPO3 4.6 --rebase Overview share
69. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
LL-XML ➔ XLIFF with “extdeveval”
Inspiring people to
TYPO3 4.6 --rebase Overview share
70. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
Inspiring people to
TYPO3 4.6 --rebase Overview share
71. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
Dependency of locales
Inspiring people to
TYPO3 4.6 --rebase Overview share
72. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
standard:
Dependency of locales fr_CA ➔ fr ➔ default
Inspiring people to
TYPO3 4.6 --rebase Overview share
73. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
Dependency of locales
standard:
pt_BR ➔ pt ➔ default
Inspiring people to
TYPO3 4.6 --rebase Overview share
74. Highlights of TYPO3 4.6
XLIFF and Localization (cont.)
Dependency of locales
user-defined:
pt_BR ➔ pt ➔ eo ➔
default
Inspiring people to
TYPO3 4.6 --rebase Overview share
75. Highlights of TYPO3 4.6
Contributing to Localization
Inspiring people to
TYPO3 4.6 --rebase Overview share
76. Highlights of TYPO3 4.6
Contributing to Localization
http://translation.typo3.org
Inspiring people to
TYPO3 4.6 --rebase Overview share
77. Highlights of TYPO3 4.6
Contributing to Localization
http://translation.typo3.org
Pootle: PO-based Online Translation / Localization Engine
“Pootle is a user-friendly web portal that
makes the translation process so much
simpler. It allows online translation, work
assignment, gives statistics and allows
easy volunteer contribution.”
Inspiring people to
TYPO3 4.6 --rebase Overview share
78.
79. Highlights of TYPO3 4.6
Contributing to Localization
Anyone with typo3.org credentials
Inspiring people to
TYPO3 4.6 --rebase Overview share
80. Highlights of TYPO3 4.6
Form project
Inspiring people to
TYPO3 4.6 --rebase Overview share
81. Highlights of TYPO3 4.6
Form project
Inspiring people to
TYPO3 4.6 --rebase Overview share
82. Highlights of TYPO3 4.6
Form project
Inspiring people to
TYPO3 4.6 --rebase Overview share
83. Highlights of TYPO3 4.6
Form project
Validation & filter rules for non-technical editors:
Inspiring people to
TYPO3 4.6 --rebase Overview share
84. Highlights of TYPO3 4.6
Form project
Validation & filter rules for non-technical editors:
email
Inspiring people to
TYPO3 4.6 --rebase Overview share
85. Highlights of TYPO3 4.6
Form project
Validation & filter rules for non-technical editors:
email
alpha-numeric only
Inspiring people to
TYPO3 4.6 --rebase Overview share
86. Highlights of TYPO3 4.6
Form project
Validation & filter rules for non-technical editors:
email
alpha-numeric only
required/optional
Inspiring people to
TYPO3 4.6 --rebase Overview share
87. Highlights of TYPO3 4.6
Form project
Validation & filter rules for non-technical editors:
email
alpha-numeric only
required/optional
...
Inspiring people to
TYPO3 4.6 --rebase Overview share
88. Highlights of TYPO3 4.6
Search in Backend
Inspiring people to
TYPO3 4.6 --rebase Overview share
89. Highlights of TYPO3 4.6
Search in Backend
More clever than ever:
Inspiring people to
TYPO3 4.6 --rebase Overview share
90. Highlights of TYPO3 4.6
Search in Backend
More clever than ever:
Search within meaningful columns
Inspiring people to
TYPO3 4.6 --rebase Overview share
91. Highlights of TYPO3 4.6
Search in Backend
More clever than ever:
Search within meaningful columns
Do not search strings within numeric columns
Inspiring people to
TYPO3 4.6 --rebase Overview share
92. Highlights of TYPO3 4.6
Search in Backend
More clever than ever:
Search within meaningful columns
Do not search strings within numeric columns
Do not limit to first 4 levels in page tree
Inspiring people to
TYPO3 4.6 --rebase Overview share
93. Highlights of TYPO3 4.6
Search in Backend
More clever than ever:
Search within meaningful columns
Do not search strings within numeric columns
Do not limit to first 4 levels in page tree
Solution: extend TCA with new options
Inspiring people to
TYPO3 4.6 --rebase Overview share
94. Highlights of TYPO3 4.6
Even more...
Inspiring people to
TYPO3 4.6 --rebase Overview share
95. Highlights of TYPO3 4.6
Even more...
Scheduler tasks: garbage collection
Files in the recycler bin
Old logging entries in database
Inspiring people to
TYPO3 4.6 --rebase Overview share
96. Highlights of TYPO3 4.6
Even more...
Scheduler tasks: garbage collection
Files in the recycler bin
Old logging entries in database
Security: RSA + salted passwords
Inspiring people to
TYPO3 4.6 --rebase Overview share
97. Highlights of TYPO3 4.6
Even more...
Scheduler tasks: garbage collection
Files in the recycler bin
Old logging entries in database
Security: RSA + salted passwords
Precise caching of pages/content elements
Inspiring people to
TYPO3 4.6 --rebase Overview share
99. Performance in TYPO3 4.6
Caching Framework
Inspiring people to
TYPO3 4.6 --rebase Overview share
100. Performance in TYPO3 4.6
Caching Framework
Available since TYPO3 4.3
Inspiring people to
TYPO3 4.6 --rebase Overview share
101. Performance in TYPO3 4.6
Caching Framework
Available since TYPO3 4.3
Major parts backported from FLOW3 and kept in sync
Inspiring people to
TYPO3 4.6 --rebase Overview share
102. Performance in TYPO3 4.6
Caching Framework
Available since TYPO3 4.3
Major parts backported from FLOW3 and kept in sync
TYPO3 4.5 LTS: Used in Core by Extbase (PHP reflection data)
Inspiring people to
TYPO3 4.6 --rebase Overview share
103. Performance in TYPO3 4.6
Caching Framework
Available since TYPO3 4.3
Major parts backported from FLOW3 and kept in sync
TYPO3 4.5 LTS: Used in Core by Extbase (PHP reflection data)
Before 4.6:
Copy/paste DB structure (CREATE
TABLE ..._cache / ..._cache_tags)
Register both tables in localconf.php
Inspiring people to
TYPO3 4.6 --rebase Overview share
104. Performance in TYPO3 4.6
Caching Framework (cont.)
Largely reworked & optimized
Inspiring people to
TYPO3 4.6 --rebase Overview share
105. Performance in TYPO3 4.6
Caching Framework (cont.)
Largely reworked & optimized
Automatically activated and used by the Core
Inspiring people to
TYPO3 4.6 --rebase Overview share
106. Performance in TYPO3 4.6
Caching Framework (cont.)
Largely reworked & optimized
Automatically activated and used by the Core
Takes care of itself (database / clear all)
Inspiring people to
TYPO3 4.6 --rebase Overview share
107. Performance in TYPO3 4.6
Caching Framework (cont.)
Largely reworked & optimized
Automatically activated and used by the Core
Takes care of itself (database / clear all)
Beware: “lifetime” pruning needs the scheduler task
Inspiring people to
TYPO3 4.6 --rebase Overview share
108. Performance in TYPO3 4.6
General Enhancements
Inspiring people to
TYPO3 4.6 --rebase Overview share
109. Performance in TYPO3 4.6
General Enhancements
Minimize JS & CSS
Backend
Frontend: built-in concatenation/compression
Inspiring people to
TYPO3 4.6 --rebase Overview share
110. Performance in TYPO3 4.6
General Enhancements
Minimize JS & CSS
Backend
Frontend: built-in concatenation/compression
Fluid templates compiled to PHP code
Inspiring people to
TYPO3 4.6 --rebase Overview share
112. Next steps
Roadmap
TYPO3 4.6 RC1 - next week
TYPO3 4.6 Final - in 3 weeks
Inspiring people to
TYPO3 4.6 --rebase Overview share
113. Next steps
We need you!
Download and test the beta3 and above all the upcoming RC1
Report bugs to the TYPO3 bug tracker
Review patches on Gerrit
Inspiring people to
TYPO3 4.6 --rebase Overview share
114. Next steps
Resources
Download: http://typo3.org/download/
Bug tracker: http://forge.typo3.org/projects/typo3v4-core/issues/
Core Resources: http://typo3.org/teams/core/resources/
Wiki: http://forge.typo3.org/projects/typo3v46-projects/wiki
Inspiring people to
TYPO3 4.6 --rebase Overview share