SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Developing a TYPO3 Template Strategy




           BUSY NOGGIN DIGITAL
            serious websites for those who mean business
‣Concepts
              ‣Strategy
              ‣Tactics/Techniques




BUSY NOGGIN
DIGITAL
A Solid        ‣ Speeds up development
Template       ‣ Provides a base for efficient
                 future development
Strategy
               ‣ Makes it easier to involve
                 multiple developers




 BUSY NOGGIN
 DIGITAL
Last Man Wins




BUSY NOGGIN
DIGITAL
CSS            .my-class {
               	 background-color: blue;
               }




 BUSY NOGGIN
 DIGITAL
CSS            .my-class {
               	 background-color: blue;
               }


               .my-class {
               	 background-color: red;
               }




 BUSY NOGGIN
 DIGITAL
CSS            .my-class {
               	 background-color: blue;
               }


               .my-class {
               	 background-color: red;
               }


               #my-page-id .my-class {
               	 background-color: green;
               }
 BUSY NOGGIN
 DIGITAL
TypoScript      myObject = TEXT
                myObject {
                	 value = Hello World
                	 case = upper
                	 wrap = <h1>|</h1>
                }




  BUSY NOGGIN
  DIGITAL
TypoScript      myObject = TEXT
                myObject {
                	 value = Hello World
                	 case = upper
                	 wrap = <h1>|</h1>
                }

                myObject.case = lower




  BUSY NOGGIN
  DIGITAL
TSconfig        TCEFORM {
                 pages {
                    layout.disabled = 1
                    subtitle.disabled = 1
                    newUntil.disabled = 1
                    url_scheme.disabled = 1
                    alias.disabled = 1
                 }
               }




 BUSY NOGGIN
 DIGITAL
TSconfig        TCEFORM {
                 pages {
                    layout.disabled = 1
                    subtitle.disabled = 1
                    newUntil.disabled = 1
                    url_scheme.disabled = 1
                    alias.disabled = 1
                 }
               }

               TCEFORM.pages.subtitle.disabled = 0


 BUSY NOGGIN
 DIGITAL
Concept        ‣Base Configuration
                (shared among all installations)

               ‣Site Configuration
                (overrides base for specific site needs)

               ‣Page Configuration
                (overrides base & site for specific page needs)


 BUSY NOGGIN
 DIGITAL
Tip             ‣ As much as possible keep your
                  configuration in files not the database
                ‣ It will be easier to edit
                ‣ You can keep it in version control
                ‣ Multiple developers can work on the same
                  code locally
                ‣ It is easier to move it from installation to
                  installation.
  BUSY NOGGIN
  DIGITAL
Strategy




  BUSY NOGGIN
  DIGITAL
Strategy




  BUSY NOGGIN
  DIGITAL
Strategy




  BUSY NOGGIN
  DIGITAL
A TYPO3 template strategy
              does not start with TYPO3

         It all begins with front-end code


BUSY NOGGIN
DIGITAL
HTML           ‣ Categorizing Content
                Header
                Footer
                Main content
                Feature
                Additional content
                Generated content


 BUSY NOGGIN
 DIGITAL
HTML                F1        F2        F3


               Series




                         Series




                                   Series
 BUSY NOGGIN
 DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
BUSY NOGGIN
DIGITAL
HTML           ‣ Visualize in blocks according to function
               ‣ Recognize patterns
               ‣ Code pages and common snippets
                 to fit the patterns
               ‣ Standardize your markup conventions




 BUSY NOGGIN
 DIGITAL
CSS            ‣ Use the CSS cascade and inheritance
                 and “last man standing”
               ‣ Use common selectors but within the context
                 of a parent selector. Class names like .title,
                 description, .more-link, etc. But define as
                 “.news .title” and “.power-mail .title”
               ‣ Look into the use of CSS frameworks but not
                 at the expense of understanding CSS.
               ‣ Think about using Less or SASS.
 BUSY NOGGIN
 DIGITAL
TYPO3          ‣ Understand the TYPO3 template approaches
                 and differences between them.
               ‣ Pure TypoScript
               ‣ Auto Parser (Modern Template Building)
               ‣ TemplaVoila
               ‣ Fluid



 BUSY NOGGIN
 DIGITAL
TYPO3          ‣ Your template strategy must include how you
                 will handle:
               ‣ Page templates
               ‣ Special content elements
               ‣ Extension templates




 BUSY NOGGIN
 DIGITAL
TYPO3          ‣ Choose a TYPO3 template approach that fits
                 you. Combine them when it makes sense.




 BUSY NOGGIN
 DIGITAL
Developing a TYPO3 Template Strategy




           BUSY NOGGIN DIGITAL
            serious websites for those who mean business

Weitere ähnliche Inhalte

Ähnlich wie Developing a typo3 template strategy

Site Development Processes for Small Teams
Site Development Processes for Small TeamsSite Development Processes for Small Teams
Site Development Processes for Small Teams
Jeff Segars
 
Mongo Seattle - The Business of MongoDB
Mongo Seattle - The Business of MongoDBMongo Seattle - The Business of MongoDB
Mongo Seattle - The Business of MongoDB
Justin Smestad
 

Ähnlich wie Developing a typo3 template strategy (20)

Lunch & Learn BigQuery & Firebase from other Google Cloud customers
Lunch & Learn BigQuery & Firebase from other Google Cloud customersLunch & Learn BigQuery & Firebase from other Google Cloud customers
Lunch & Learn BigQuery & Firebase from other Google Cloud customers
 
Brujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalabilityBrujug Jenkins pipeline scalability
Brujug Jenkins pipeline scalability
 
stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...
stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...
stackconf 2020 | The path to a Serverless-native era with Kubernetes by Paolo...
 
73 Less Fugly Epicenter
73 Less Fugly   Epicenter73 Less Fugly   Epicenter
73 Less Fugly Epicenter
 
Site Development Processes for Small Teams
Site Development Processes for Small TeamsSite Development Processes for Small Teams
Site Development Processes for Small Teams
 
Serverless Chicago - Datomic Cloud and AWS AppSync - April 26 2018
Serverless Chicago - Datomic Cloud and AWS AppSync - April 26 2018Serverless Chicago - Datomic Cloud and AWS AppSync - April 26 2018
Serverless Chicago - Datomic Cloud and AWS AppSync - April 26 2018
 
Building powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLinesBuilding powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLines
 
Headless TYPO3 & PWA initiative | Web Camp Venlo 2020
 Headless TYPO3 & PWA initiative | Web Camp Venlo 2020 Headless TYPO3 & PWA initiative | Web Camp Venlo 2020
Headless TYPO3 & PWA initiative | Web Camp Venlo 2020
 
TYPO3 Headless & PWA - Webinar
TYPO3 Headless & PWA - WebinarTYPO3 Headless & PWA - Webinar
TYPO3 Headless & PWA - Webinar
 
Symfony Deployments on Heroku
Symfony Deployments on HerokuSymfony Deployments on Heroku
Symfony Deployments on Heroku
 
The Fast And The Fabulous
The Fast And The FabulousThe Fast And The Fabulous
The Fast And The Fabulous
 
The True Cost of NoSQL DBaaS Options
The True Cost of NoSQL DBaaS OptionsThe True Cost of NoSQL DBaaS Options
The True Cost of NoSQL DBaaS Options
 
Improving velocity through abstraction
Improving velocity through abstractionImproving velocity through abstraction
Improving velocity through abstraction
 
Oracle Primavera P6 Enterprise Project - Synergy
Oracle Primavera P6 Enterprise Project - SynergyOracle Primavera P6 Enterprise Project - Synergy
Oracle Primavera P6 Enterprise Project - Synergy
 
Introduction to Django
Introduction to DjangoIntroduction to Django
Introduction to Django
 
The path to a serverless-native era with Kubernetes
The path to a serverless-native era with KubernetesThe path to a serverless-native era with Kubernetes
The path to a serverless-native era with Kubernetes
 
Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019
Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019
Developer Experience at Zalando - Handelsblatt Strategisches IT-Management 2019
 
Mongo Seattle - The Business of MongoDB
Mongo Seattle - The Business of MongoDBMongo Seattle - The Business of MongoDB
Mongo Seattle - The Business of MongoDB
 
Moving away from legacy code with BDD
Moving away from legacy code with BDDMoving away from legacy code with BDD
Moving away from legacy code with BDD
 
Juraj vysvader - Python developer's CV
Juraj vysvader - Python developer's CVJuraj vysvader - Python developer's CV
Juraj vysvader - Python developer's CV
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Developing a typo3 template strategy

  • 1. Developing a TYPO3 Template Strategy BUSY NOGGIN DIGITAL serious websites for those who mean business
  • 2. ‣Concepts ‣Strategy ‣Tactics/Techniques BUSY NOGGIN DIGITAL
  • 3. A Solid ‣ Speeds up development Template ‣ Provides a base for efficient future development Strategy ‣ Makes it easier to involve multiple developers BUSY NOGGIN DIGITAL
  • 4. Last Man Wins BUSY NOGGIN DIGITAL
  • 5. CSS .my-class { background-color: blue; } BUSY NOGGIN DIGITAL
  • 6. CSS .my-class { background-color: blue; } .my-class { background-color: red; } BUSY NOGGIN DIGITAL
  • 7. CSS .my-class { background-color: blue; } .my-class { background-color: red; } #my-page-id .my-class { background-color: green; } BUSY NOGGIN DIGITAL
  • 8. TypoScript myObject = TEXT myObject { value = Hello World case = upper wrap = <h1>|</h1> } BUSY NOGGIN DIGITAL
  • 9. TypoScript myObject = TEXT myObject { value = Hello World case = upper wrap = <h1>|</h1> } myObject.case = lower BUSY NOGGIN DIGITAL
  • 10. TSconfig TCEFORM { pages { layout.disabled = 1 subtitle.disabled = 1 newUntil.disabled = 1 url_scheme.disabled = 1 alias.disabled = 1 } } BUSY NOGGIN DIGITAL
  • 11. TSconfig TCEFORM { pages { layout.disabled = 1 subtitle.disabled = 1 newUntil.disabled = 1 url_scheme.disabled = 1 alias.disabled = 1 } } TCEFORM.pages.subtitle.disabled = 0 BUSY NOGGIN DIGITAL
  • 12. Concept ‣Base Configuration (shared among all installations) ‣Site Configuration (overrides base for specific site needs) ‣Page Configuration (overrides base & site for specific page needs) BUSY NOGGIN DIGITAL
  • 13. Tip ‣ As much as possible keep your configuration in files not the database ‣ It will be easier to edit ‣ You can keep it in version control ‣ Multiple developers can work on the same code locally ‣ It is easier to move it from installation to installation. BUSY NOGGIN DIGITAL
  • 14. Strategy BUSY NOGGIN DIGITAL
  • 15. Strategy BUSY NOGGIN DIGITAL
  • 16. Strategy BUSY NOGGIN DIGITAL
  • 17. A TYPO3 template strategy does not start with TYPO3 It all begins with front-end code BUSY NOGGIN DIGITAL
  • 18. HTML ‣ Categorizing Content Header Footer Main content Feature Additional content Generated content BUSY NOGGIN DIGITAL
  • 19. HTML F1 F2 F3 Series Series Series BUSY NOGGIN DIGITAL
  • 46. HTML ‣ Visualize in blocks according to function ‣ Recognize patterns ‣ Code pages and common snippets to fit the patterns ‣ Standardize your markup conventions BUSY NOGGIN DIGITAL
  • 47. CSS ‣ Use the CSS cascade and inheritance and “last man standing” ‣ Use common selectors but within the context of a parent selector. Class names like .title, description, .more-link, etc. But define as “.news .title” and “.power-mail .title” ‣ Look into the use of CSS frameworks but not at the expense of understanding CSS. ‣ Think about using Less or SASS. BUSY NOGGIN DIGITAL
  • 48. TYPO3 ‣ Understand the TYPO3 template approaches and differences between them. ‣ Pure TypoScript ‣ Auto Parser (Modern Template Building) ‣ TemplaVoila ‣ Fluid BUSY NOGGIN DIGITAL
  • 49. TYPO3 ‣ Your template strategy must include how you will handle: ‣ Page templates ‣ Special content elements ‣ Extension templates BUSY NOGGIN DIGITAL
  • 50. TYPO3 ‣ Choose a TYPO3 template approach that fits you. Combine them when it makes sense. BUSY NOGGIN DIGITAL
  • 51. Developing a TYPO3 Template Strategy BUSY NOGGIN DIGITAL serious websites for those who mean business

Hinweis der Redaktion

  1. Who is this for? Those who build multiple TYPO3 sites every year.\n\nI will be here the rest of the conference. Feel free to visit with me about the concepts I will present.\n\n\n
  2. At most conferences everyone wants to see techniques, but using techniques without a strategy will result in chaotic code and a hard-to-maintain site.\n\nThis is about strategy and concepts not techniques\n\nGood strategy transcends techniques\n\n
  3. Demonstrate quicksites\n\ncolumn adjustments\nskin changes\n\n
  4. This is a very important concept that you will use in many contexts within a template strategy\n\n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. We use this in:\nCSS\nTypoScript\nPage TSconfig\nUser TSconfig\nServer / Environment config (localconf)\n\n
  13. \n
  14. \n
  15. \n
  16. \n
  17. Develop a front-end strategy first\n\nIt is portable to other systems including Phoenix\n\n
  18. The common structure of web pages\n\nThe six categories of content (explain each)\n\nHeader, footer and main content are on every page\n\nVisualizing HTML structure.\n\nThere are really only a handful of \npage structures on the web. Learn \nto recognize them.\n\n
  19. \n
  20. You see, 90% of all web pages have very similar structure.\n
  21. You see, 90% of all web pages have very similar structure.\n
  22. You see, 90% of all web pages have very similar structure.\n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. \n
  46. SASS\nTwitter Bootstrap, 960gs, Blueprint or roll your own\nStandarize your markup\n\nLook for patterns and common structures\n\nExample of columns and modules\n\ncommon classes using parent selectors to target\n.more-link\ndescription\n.title\n.item\n\nStandardization helps when you work in a multi-developer environment\n\nThe power of SASS. Again for developers building multiple sites per year.\n\nSASS\nBase Variables\nSite Variables\nBase CSS\nSite CSS\n\nInterleafing Bootstrap\n\n
  47. If you use TV look into static datastructures\n\nI now use a combination of TV and pure TS\n
  48. In extensions your approach will be dictated by the extension (marker-based or Fluid)\n
  49. Understand why you use you use the approach over the other approaches.\n
  50. Demo the QuickSite\n\n