Bouw je eerste site met TYPO3 Neos (voorheen TYPO3 Phoenix). In deze presentatie vertelt Rens op welke wijze je je eerste website bouwt in TYPO3 Neos. TYPO3 Neos is er bijna (op moment van conferentie in beta), dus hot.
TYPO3 Neos is de toekomst.
Rens Admiraal
Rens Admiraal is een freelance webdeveloper / coach en Senior Software Architect bij Beech Applications uit Venlo.
Rond zijn 14e is Rens begonnen met 'programmeren', toen nog door het analizeren van code snippets op prehistorische computers. Door telkens opnieuw nieuwe uitdagingen aan te gaan heeft Rens meerdere talen geleerd, en heeft hij meegewerkt aan een breed scala aan web projecten. Nu is Rens TYPO3 Flow / TYPO3 Neos core lid en werkt hier vooral aan de Javascript kant van TYPO3 Neos.
Bij verschillende bedrijven heeft Rens gezien hoe ontwikkeling in verschillende mates van structuur gedaan kan worden. Langzaamaan heeft dit geleid tot een grote interesse voor ontwikkel structuur, continues integration, automatisch testen en code kwaliteit. Nu helpt Rens bij het opzetten van ontwikkelomgevingen en het trainen van ontwikkelaars om in zo'n omgeving te werken.
Rens woont in Ede met zijn vrouw en 3 zoons, speelt basgitaar en houdt ervan om af en toe wat druk van de ketel te halen op een (beach)volleybalveld.
13. Content Model - Nodes
site root
page
content section
content element
representation of
domain models
Inspiring people to
share
maandag 5 november 12
14. Content Model - nodePaths
/sites/typo3org/home/subpage/main/text1
Inspiring people to
share
maandag 5 november 12
15. Content Model - nodePaths
/sites/typo3org/home/subpage/main/text1
site root
Inspiring people to
share
maandag 5 november 12
16. Content Model - nodePaths
/sites/typo3org/home/subpage/main/text1
site root
pages
Inspiring people to
share
maandag 5 november 12
17. Content Model - nodePaths
/sites/typo3org/home/subpage/main/text1
site root sections
pages
Inspiring people to
share
maandag 5 november 12
18. Content Model - nodePaths
/sites/typo3org/home/subpage/main/text1
site root sections
pages content
Inspiring people to
share
maandag 5 november 12
19. Private Resources
Private
Content
Templates
TypoScripts
Inspiring people to
share
maandag 5 november 12
20. Page Template
Inspiring people to
share
maandag 5 november 12
21. Page Template - Header
Inspiring people to
share
maandag 5 november 12
22. Page Template - Sections / Parts
Inspiring people to
share
maandag 5 november 12
23. Private Resources
Private
Content
Templates
TypoScripts
Inspiring people to
share
maandag 5 november 12
24. TypoScript
Opgeslagen in *.ts2 bestanden
Er bestaat een node type ‘TypoScript’ indien dit eventueel nodig is, geen best practice!
Consistente syntax
Uitbreidbaar
Flexibel
Niet gelimiteerd tot websites
Eenvoudig
Inspiring people to
share
maandag 5 november 12
25. Eenvoudig - Set TypoScript Objects
Template
Array
Collection
Case
Menu
(Page)
Inspiring people to
share
maandag 5 november 12
26. TypoScript Folderstructuur
TypoScripts
Library Root.ts2
Nodes
Inspiring people to
share
maandag 5 november 12
27. TypoScript Folderstructuur
TypoScripts
Library Root.ts2
Nodes
Home Subpage.ts2
Inspiring people to
share
maandag 5 november 12
29. TypoScript- Prototype
prototype(TYPO3.TYPO3:Menu).@class = ↵
'TYPO3TYPO3TypoScriptMenuImplementation'
prototype(TYPO3.PhoenixDemoTypo3Org:Registration) < ↵
prototype(TYPO3.Phoenix.ContentTypes:Plugin)
prototype(TYPO3.PhoenixDemoTypo3Org:Registration) {
package = 'TYPO3.PhoenixDemoTypo3Org'
controller = 'Registration'
}
Inspiring people to
share
maandag 5 november 12
30. Ex
EEL / FlowQuery - Node selectie / traversal
pe
r tf
un
ct
ie
${q(node).children().filter('left').first()}
Inspiring people to
share
maandag 5 november 12
31. Ex
EEL / FlowQuery - Property Access
pe
r tf
un
ct
ie
${q(node).property(‘text’)}
Inspiring people to
share
maandag 5 november 12
32. Ex
TypoScript - Processors
pe
r tf
un
ct
ie
prototype(TYPO3.Phoenix.ContentTypes:TextWithImage)↵
.text << 1.wrap(prefix: '<p>', suffix: '</p>')
Inspiring people to
share
maandag 5 november 12