SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
TU/e: 
Terug naar de TYPO3 CMS basis 
Michiel Roos & Patrick Broens
TU/e website 
Opgeleverd april 2010 
Rapport eind 2011 
2nd opinion eind 2012
Problemen 
Performance 
Usability 
XClassing 
Upgrading 
Structuur
Kick off 
Eerste helft 2013 
Inventarisatie
Aanbevelingen & eisen 
Frontend geen verschil 
Terug naar de basis van TYPO3 CMS core 
Gebruiksgemak 
Geen XML in DB 
Verwijder ongebruikte functionaliteit 
Documentatie
Migratie Voorbereiden 
TypoScript van fileadmin en db -> extensie 
Herstructureren TypoScript (hiërarchie en naamgeving) 
Verplaatsen Resources van fileadmin -> extensie 
FCE elementen -> Content elementen 
Plugins -> Content elementen 
TemplaVoila pagina templates -> Backend Layouts
Migratie 
One script to Cleanup 
One script to Prepare 
One script to Convert Plugins 
One script to Convert FCE’s 
One script to Convert Content elements
One Script to rule them all 
#!/bin/bash 
runTask "cleaner cleanAll" 
runTask "preparation prepareAll" 
runTask "plugin convertAll" 
runTask "fce convertAll" 
runTask "cleaner removeLanguage1" 
runTask "cleaner resetDoktypes"
Schoonmaken 
Verwijderen verwijderde records (pagina's en content) 
Verwijderen arme 'verweesde' records 
Verwijderen lege FCE containers 
Verwijdert ongeveer de helft van de pages en 
tt_content tabellen! Migratie loopt daarna een stuk 
sneller
Basis Voorbereiden 
Schone Database import: productie -> dev 
Backend-Gebruikers en -Layouts Injecteren 
Bestands-Synchronisatie: productie -> dev 
Onnodige database tabellen en velden verwijderen 
Database collatie rechtzetten 
Nieuwe database tabellen en velden aanmaken
Plugins 
Alle informatie uit FlexForms van custom plugins zijn 
omgezet naar extra tt_content velden. 
Een veld uitlezen uit de database is een stuk sneller 
dan een stuk XML uitlezen om dat vervolgens te gaan 
parsen. 
Aantal extensies teruggebracht van 58 naar 29
Flexible Content Elements 
It’s magic! Je kunt er ALLES mee! 
Zelfs datum en tijd-velden in opslaan :-) 
46 FCE types omzetten 
Zie vorige sheet!
Rechten 
Voor een betere gebruikerservaring zijn zo veel mogelijk 
velden in de backend uitgeschakeld 
Per backend layout, Pagina type, colPos en userGroup 
wordt bepaald welke content elementen mogen 
worden geplaatst.
// Access: Editor-in-Chief (role_eindredacteur) 
[usergroup = 77] && 
[userFunc = tx_wwwtuenl_hasBackendLayout(7)] && 
[userFunc = tx_wwwtuenl_hasColPos(12)] && 
[userFunc = tx_wwwtuenl_hasDoktype(1)] 
mod.wizards.newContentElement.wizardItems { 
common.show = image, text, textpic 
special.show = div, tuece_teaser 
} 
TCEFORM { 
tt_content { 
colPos { 
removeItems := addToList(13,14) 
removeItems := removeFromList(12) 
} 
CType.keepItems = 17, 2, image, text, textpic, div, tuece_teaser 
list_type.disabled = 1 
} 
} 
[global]
Visueel Testen 
Voor en Na de migratie moet de site er hetzelfde 
uitzien. Er zijn alleen wijzigingen 'under the hood' 
Lijst met pagina id’s opstellen die gemigreerde 
elementen bevatten en deze pagina’s op productie en 
dev met elkaar vergelijken 
VisualCompare.rb to the rescue
Huidige status 
Stabiel 
Redacteuren blij 
Eigen distribution voor nieuwe websites
Toekomst 
Finetuning performance 
Rechtenstructuur fijnmaziger 
Garbage cleanup voor verwijderde content en pagina’s 
Responsive layout 
Migratie naar 6.2 -> FAL
Patrick Broens 
patrick@patrickbroens.nl 
@aurora_borealis 
@t3batman 
facebook.com/padraigbroens 
linkedin.com/in/typo3development
Michiel Roos 
michiel@maxserv.nl 
@TuurlijkNiet 
facebook.com/typofree 
www.linkedin.com/in/tuurlijk

Mais conteúdo relacionado

Semelhante a TU/e - Back to the TYPO3 CMS basics

Drupal Views Cck Hans Rossel
Drupal Views Cck Hans RosselDrupal Views Cck Hans Rossel
Drupal Views Cck Hans RosselHans Rossel
 
Drupal7 Development
Drupal7 DevelopmentDrupal7 Development
Drupal7 DevelopmentHans Rossel
 
Pembertons gelijk
Pembertons gelijkPembertons gelijk
Pembertons gelijkDino Seelig
 
General Drupal presentation in Dutch
General Drupal  presentation in DutchGeneral Drupal  presentation in Dutch
General Drupal presentation in DutchRoel Meester
 
Versimpel beheer met Joomla modules
Versimpel beheer met Joomla modulesVersimpel beheer met Joomla modules
Versimpel beheer met Joomla modulesEmiel Kwakkel
 
V-ICT-OR SHOPT IT 2014
V-ICT-OR SHOPT IT 2014V-ICT-OR SHOPT IT 2014
V-ICT-OR SHOPT IT 2014V-ICT-OR
 
Drupal introductie voor NCRV-i
Drupal introductie voor NCRV-iDrupal introductie voor NCRV-i
Drupal introductie voor NCRV-iBèr Kessels
 
Introductie Drupal development
Introductie Drupal developmentIntroductie Drupal development
Introductie Drupal developmentBart Hanssens
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!Rick Spaan
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!Rick Spaan
 
IMPACT Framework en Evaluatie by Clemens Neudecker
IMPACT Framework en Evaluatie by Clemens NeudeckerIMPACT Framework en Evaluatie by Clemens Neudecker
IMPACT Framework en Evaluatie by Clemens NeudeckerIMPACT Centre of Competence
 
SURFgroepen voorbij!
SURFgroepen voorbij!SURFgroepen voorbij!
SURFgroepen voorbij!Arne Horst
 
Template overrides - Joomladagen 2010 #jd10nl
Template overrides - Joomladagen 2010 #jd10nlTemplate overrides - Joomladagen 2010 #jd10nl
Template overrides - Joomladagen 2010 #jd10nlSander Potjer
 
Functionele wijzigingen cms7
Functionele wijzigingen cms7Functionele wijzigingen cms7
Functionele wijzigingen cms7MaxServ
 
Software Engineering College 2 - ETL and databases
Software Engineering College 2 - ETL and databasesSoftware Engineering College 2 - ETL and databases
Software Engineering College 2 - ETL and databasesJurjen Helmus
 
20081126 Hands On Presentatie Bram
20081126 Hands On Presentatie Bram20081126 Hands On Presentatie Bram
20081126 Hands On Presentatie BramFARO
 

Semelhante a TU/e - Back to the TYPO3 CMS basics (20)

Drupal Views Cck Hans Rossel
Drupal Views Cck Hans RosselDrupal Views Cck Hans Rossel
Drupal Views Cck Hans Rossel
 
Joomla
JoomlaJoomla
Joomla
 
Drupal7 Development
Drupal7 DevelopmentDrupal7 Development
Drupal7 Development
 
Pembertons gelijk
Pembertons gelijkPembertons gelijk
Pembertons gelijk
 
General Drupal presentation in Dutch
General Drupal  presentation in DutchGeneral Drupal  presentation in Dutch
General Drupal presentation in Dutch
 
Versimpel beheer met Joomla modules
Versimpel beheer met Joomla modulesVersimpel beheer met Joomla modules
Versimpel beheer met Joomla modules
 
[Idm b] tools databases 3
[Idm b] tools databases 3[Idm b] tools databases 3
[Idm b] tools databases 3
 
V-ICT-OR SHOPT IT 2014
V-ICT-OR SHOPT IT 2014V-ICT-OR SHOPT IT 2014
V-ICT-OR SHOPT IT 2014
 
Drupal introductie voor NCRV-i
Drupal introductie voor NCRV-iDrupal introductie voor NCRV-i
Drupal introductie voor NCRV-i
 
Quickr Connectors and ECM
Quickr Connectors and ECMQuickr Connectors and ECM
Quickr Connectors and ECM
 
Introductie Drupal development
Introductie Drupal developmentIntroductie Drupal development
Introductie Drupal development
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
 
IMPACT Framework en Evaluatie by Clemens Neudecker
IMPACT Framework en Evaluatie by Clemens NeudeckerIMPACT Framework en Evaluatie by Clemens Neudecker
IMPACT Framework en Evaluatie by Clemens Neudecker
 
Excellent rest met de web api
Excellent rest met de web apiExcellent rest met de web api
Excellent rest met de web api
 
SURFgroepen voorbij!
SURFgroepen voorbij!SURFgroepen voorbij!
SURFgroepen voorbij!
 
Template overrides - Joomladagen 2010 #jd10nl
Template overrides - Joomladagen 2010 #jd10nlTemplate overrides - Joomladagen 2010 #jd10nl
Template overrides - Joomladagen 2010 #jd10nl
 
Functionele wijzigingen cms7
Functionele wijzigingen cms7Functionele wijzigingen cms7
Functionele wijzigingen cms7
 
Software Engineering College 2 - ETL and databases
Software Engineering College 2 - ETL and databasesSoftware Engineering College 2 - ETL and databases
Software Engineering College 2 - ETL and databases
 
20081126 Hands On Presentatie Bram
20081126 Hands On Presentatie Bram20081126 Hands On Presentatie Bram
20081126 Hands On Presentatie Bram
 

Mais de Patrick Broens

TYPO3 8LTS Release party
TYPO3 8LTS Release partyTYPO3 8LTS Release party
TYPO3 8LTS Release partyPatrick Broens
 
How to please the editor
How to please the editorHow to please the editor
How to please the editorPatrick Broens
 
Impress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherImpress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherPatrick Broens
 
Fluid content rendering
Fluid content renderingFluid content rendering
Fluid content renderingPatrick Broens
 
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Patrick Broens
 
TYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenTYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenPatrick Broens
 

Mais de Patrick Broens (10)

Performance
PerformancePerformance
Performance
 
TYPO3 8LTS Release party
TYPO3 8LTS Release partyTYPO3 8LTS Release party
TYPO3 8LTS Release party
 
How to please the editor
How to please the editorHow to please the editor
How to please the editor
 
The Future of TYPO3
The Future of TYPO3The Future of TYPO3
The Future of TYPO3
 
Impress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit furtherImpress the web bot and the people searching for you - taking seo a bit further
Impress the web bot and the people searching for you - taking seo a bit further
 
Fluid content rendering
Fluid content renderingFluid content rendering
Fluid content rendering
 
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
Client is King and Agencies are Idiots. Satisfying ignorant clients is not th...
 
TYPO3 teams
TYPO3 teamsTYPO3 teams
TYPO3 teams
 
Web accessibility
Web accessibilityWeb accessibility
Web accessibility
 
TYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruikenTYPO3 FAL in TypoScript gebruiken
TYPO3 FAL in TypoScript gebruiken
 

TU/e - Back to the TYPO3 CMS basics

  • 1. TU/e: Terug naar de TYPO3 CMS basis Michiel Roos & Patrick Broens
  • 2. TU/e website Opgeleverd april 2010 Rapport eind 2011 2nd opinion eind 2012
  • 3. Problemen Performance Usability XClassing Upgrading Structuur
  • 4. Kick off Eerste helft 2013 Inventarisatie
  • 5. Aanbevelingen & eisen Frontend geen verschil Terug naar de basis van TYPO3 CMS core Gebruiksgemak Geen XML in DB Verwijder ongebruikte functionaliteit Documentatie
  • 6. Migratie Voorbereiden TypoScript van fileadmin en db -> extensie Herstructureren TypoScript (hiërarchie en naamgeving) Verplaatsen Resources van fileadmin -> extensie FCE elementen -> Content elementen Plugins -> Content elementen TemplaVoila pagina templates -> Backend Layouts
  • 7. Migratie One script to Cleanup One script to Prepare One script to Convert Plugins One script to Convert FCE’s One script to Convert Content elements
  • 8. One Script to rule them all #!/bin/bash runTask "cleaner cleanAll" runTask "preparation prepareAll" runTask "plugin convertAll" runTask "fce convertAll" runTask "cleaner removeLanguage1" runTask "cleaner resetDoktypes"
  • 9. Schoonmaken Verwijderen verwijderde records (pagina's en content) Verwijderen arme 'verweesde' records Verwijderen lege FCE containers Verwijdert ongeveer de helft van de pages en tt_content tabellen! Migratie loopt daarna een stuk sneller
  • 10. Basis Voorbereiden Schone Database import: productie -> dev Backend-Gebruikers en -Layouts Injecteren Bestands-Synchronisatie: productie -> dev Onnodige database tabellen en velden verwijderen Database collatie rechtzetten Nieuwe database tabellen en velden aanmaken
  • 11. Plugins Alle informatie uit FlexForms van custom plugins zijn omgezet naar extra tt_content velden. Een veld uitlezen uit de database is een stuk sneller dan een stuk XML uitlezen om dat vervolgens te gaan parsen. Aantal extensies teruggebracht van 58 naar 29
  • 12. Flexible Content Elements It’s magic! Je kunt er ALLES mee! Zelfs datum en tijd-velden in opslaan :-) 46 FCE types omzetten Zie vorige sheet!
  • 13. Rechten Voor een betere gebruikerservaring zijn zo veel mogelijk velden in de backend uitgeschakeld Per backend layout, Pagina type, colPos en userGroup wordt bepaald welke content elementen mogen worden geplaatst.
  • 14. // Access: Editor-in-Chief (role_eindredacteur) [usergroup = 77] && [userFunc = tx_wwwtuenl_hasBackendLayout(7)] && [userFunc = tx_wwwtuenl_hasColPos(12)] && [userFunc = tx_wwwtuenl_hasDoktype(1)] mod.wizards.newContentElement.wizardItems { common.show = image, text, textpic special.show = div, tuece_teaser } TCEFORM { tt_content { colPos { removeItems := addToList(13,14) removeItems := removeFromList(12) } CType.keepItems = 17, 2, image, text, textpic, div, tuece_teaser list_type.disabled = 1 } } [global]
  • 15. Visueel Testen Voor en Na de migratie moet de site er hetzelfde uitzien. Er zijn alleen wijzigingen 'under the hood' Lijst met pagina id’s opstellen die gemigreerde elementen bevatten en deze pagina’s op productie en dev met elkaar vergelijken VisualCompare.rb to the rescue
  • 16. Huidige status Stabiel Redacteuren blij Eigen distribution voor nieuwe websites
  • 17. Toekomst Finetuning performance Rechtenstructuur fijnmaziger Garbage cleanup voor verwijderde content en pagina’s Responsive layout Migratie naar 6.2 -> FAL
  • 18. Patrick Broens patrick@patrickbroens.nl @aurora_borealis @t3batman facebook.com/padraigbroens linkedin.com/in/typo3development
  • 19. Michiel Roos michiel@maxserv.nl @TuurlijkNiet facebook.com/typofree www.linkedin.com/in/tuurlijk