SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Programmable Page & Content Layouts
Existing Functionality in Site Manager 7.3
            • Page Layouts (Styles) & Content Layouts
              (Template Formatters)
               • Made up of HTML with T4 Tags in them
               • On preview / publish, T4 Tags are parsed and
                  Brokers, written in Java are called to process
                  them




Programmable Layouts                                               2
Shortcomings of placeholders
            • Using token replacement is restrictive
               • No if / then / else logic
            Programmable Layouts
            • Can be applied to Page and Content Layouts
            • Initially implemented Javascript (Rhino)
               • Scope to extend to other scripting languages
            • Allow Layouts to be programmed
               • Turing Complete



Programmable Layouts                                            3
Programmable Layouts
            • All functionality in current Layouts available in
              Programmable Layouts

            document.write (BrokerUtils.processT4Tags (oStmt, oCache, oSection,
            oContent, sLang, fPreview, sTextToParse));


            • Process T4 Tags within the provided page and
              output the result to the current page
            • Using document.write writes text to the
              current page


Programmable Layouts                                                              4
Programmable Layouts
            • Simple if / then / else logic
            if (BrokerUtils.isFullTextPage (oCache)) {
                document.write ('<p>This is a full text page</p>');
            }
            if (sLang === 'es') {
                document.write ('<p>We're on the Spanish page.</p>');
            }
            else {
                document.write ('<p>We're NOT on the Spanish page.</p>');
            }


Programmable Layouts                                                         5
Sample Footer   6
Programmable Layouts
            • More Complex functionality possible
               • Prototype queries an external database &
                 outputs the results in a HTML table within the
                 published page
               • This has been done with less than 100 lines of
                 code within the Layout




Programmable Layouts                                              7
Benefits of Programmable Layouts
            • Applicable to Page and Content Layouts
            • Makes it simple to create complex pages
            • Hugely powerful
               • Provide simple if / then / else logic
               • Access to entire TERMINALFOUR API
               • Can access external database
               • Can read external web services




Programmable Layouts                                     8
• Will be available in Beta form in Site Manager
              7.4
            • Can be enabled on a per-Layout basis to ensure
              backwards-compatibility and performance
            • Security…




Programmable Layouts                                           9

Weitere ähnliche Inhalte

Andere mochten auch

TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...
TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...
TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...Terminalfour
 
World blood donor day 2014
World blood donor day 2014World blood donor day 2014
World blood donor day 2014Rory Mulligan
 
ZamCamp #4 - Gry MMORPG
ZamCamp #4 - Gry MMORPGZamCamp #4 - Gry MMORPG
ZamCamp #4 - Gry MMORPGzamcamp
 
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 World
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 WorldTERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 World
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 WorldTerminalfour
 
Ste Presentation To Crawley Manor Royal Ind Estate
Ste Presentation To Crawley Manor Royal Ind EstateSte Presentation To Crawley Manor Royal Ind Estate
Ste Presentation To Crawley Manor Royal Ind Estateguest746615
 
TERMINALFOUR t44u 2008 - The University Of Manchester Case Study
TERMINALFOUR t44u 2008 - The University Of Manchester Case StudyTERMINALFOUR t44u 2008 - The University Of Manchester Case Study
TERMINALFOUR t44u 2008 - The University Of Manchester Case StudyTerminalfour
 
TERMINALFOUR t44u 2011 - Did you know - Multiple media formatters
TERMINALFOUR t44u 2011 - Did you know - Multiple media formattersTERMINALFOUR t44u 2011 - Did you know - Multiple media formatters
TERMINALFOUR t44u 2011 - Did you know - Multiple media formattersTerminalfour
 
Ficha 2º eso 2011 12
Ficha 2º eso 2011 12Ficha 2º eso 2011 12
Ficha 2º eso 2011 12IES Heliche
 
TERMINALFOUR t44u 2009 - UI and Widgets New UI & Widgets
TERMINALFOUR t44u 2009 - UI and Widgets New UI & WidgetsTERMINALFOUR t44u 2009 - UI and Widgets New UI & Widgets
TERMINALFOUR t44u 2009 - UI and Widgets New UI & WidgetsTerminalfour
 
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS Update
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS UpdateTERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS Update
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS UpdateTerminalfour
 
TERMINALFOUR t44u 2010 - CMS Roadmap November2010
TERMINALFOUR t44u 2010 - CMS Roadmap November2010TERMINALFOUR t44u 2010 - CMS Roadmap November2010
TERMINALFOUR t44u 2010 - CMS Roadmap November2010Terminalfour
 
Childrens Letters God
Childrens Letters GodChildrens Letters God
Childrens Letters GodRussell Gray
 
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case Study
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case StudyTERMINALFOUR t44u 2011 - Going mobile, a INTO Case Study
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case StudyTerminalfour
 
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccess
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccessTERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccess
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccessTerminalfour
 
TERMINALFOUR t44u 2009 - University of York Case Study
TERMINALFOUR t44u 2009 - University of York Case StudyTERMINALFOUR t44u 2009 - University of York Case Study
TERMINALFOUR t44u 2009 - University of York Case StudyTerminalfour
 
STARAwards K12 Intro
STARAwards K12 IntroSTARAwards K12 Intro
STARAwards K12 Introgueste17d1d
 

Andere mochten auch (19)

TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...
TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...
TERMINALFOUR t44u 2008 - Piero Tintori - Integration Publishing To Share Poin...
 
World blood donor day 2014
World blood donor day 2014World blood donor day 2014
World blood donor day 2014
 
GROUBS
GROUBSGROUBS
GROUBS
 
ZamCamp #4 - Gry MMORPG
ZamCamp #4 - Gry MMORPGZamCamp #4 - Gry MMORPG
ZamCamp #4 - Gry MMORPG
 
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 World
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 WorldTERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 World
TERMINALFOUR t44u 2008 - Using TERMINALFOUR Site Manager In A Web 2.0 World
 
Ste Presentation To Crawley Manor Royal Ind Estate
Ste Presentation To Crawley Manor Royal Ind EstateSte Presentation To Crawley Manor Royal Ind Estate
Ste Presentation To Crawley Manor Royal Ind Estate
 
TERMINALFOUR t44u 2008 - The University Of Manchester Case Study
TERMINALFOUR t44u 2008 - The University Of Manchester Case StudyTERMINALFOUR t44u 2008 - The University Of Manchester Case Study
TERMINALFOUR t44u 2008 - The University Of Manchester Case Study
 
TERMINALFOUR t44u 2011 - Did you know - Multiple media formatters
TERMINALFOUR t44u 2011 - Did you know - Multiple media formattersTERMINALFOUR t44u 2011 - Did you know - Multiple media formatters
TERMINALFOUR t44u 2011 - Did you know - Multiple media formatters
 
Ficha 2º eso 2011 12
Ficha 2º eso 2011 12Ficha 2º eso 2011 12
Ficha 2º eso 2011 12
 
TERMINALFOUR t44u 2009 - UI and Widgets New UI & Widgets
TERMINALFOUR t44u 2009 - UI and Widgets New UI & WidgetsTERMINALFOUR t44u 2009 - UI and Widgets New UI & Widgets
TERMINALFOUR t44u 2009 - UI and Widgets New UI & Widgets
 
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS Update
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS UpdateTERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS Update
TERMINALFOUR t44u 2008 - Laura Murphy & Dorte Eriksen - CS Update
 
TERMINALFOUR t44u 2010 - CMS Roadmap November2010
TERMINALFOUR t44u 2010 - CMS Roadmap November2010TERMINALFOUR t44u 2010 - CMS Roadmap November2010
TERMINALFOUR t44u 2010 - CMS Roadmap November2010
 
Piel De Toro
Piel De ToroPiel De Toro
Piel De Toro
 
Childrens Letters God
Childrens Letters GodChildrens Letters God
Childrens Letters God
 
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case Study
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case StudyTERMINALFOUR t44u 2011 - Going mobile, a INTO Case Study
TERMINALFOUR t44u 2011 - Going mobile, a INTO Case Study
 
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccess
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccessTERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccess
TERMINALFOUR t44u 2011 - Did you know - Advanced access control and htaccess
 
TERMINALFOUR t44u 2009 - University of York Case Study
TERMINALFOUR t44u 2009 - University of York Case StudyTERMINALFOUR t44u 2009 - University of York Case Study
TERMINALFOUR t44u 2009 - University of York Case Study
 
STARAwards K12 Intro
STARAwards K12 IntroSTARAwards K12 Intro
STARAwards K12 Intro
 
Ekooli juhend
Ekooli juhendEkooli juhend
Ekooli juhend
 

Mehr von Terminalfour

Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Terminalfour
 
Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Terminalfour
 
Imperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsImperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsTerminalfour
 
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileRoundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileTerminalfour
 
T44u 2015, learning and development
T44u 2015, learning and developmentT44u 2015, learning and development
T44u 2015, learning and developmentTerminalfour
 
T44u 2015, imperial college
T44u 2015, imperial collegeT44u 2015, imperial college
T44u 2015, imperial collegeTerminalfour
 
T44u 2015, web development best practice
T44u 2015, web development best practiceT44u 2015, web development best practice
T44u 2015, web development best practiceTerminalfour
 
T44u 2015, upgrading to 8
T44u 2015, upgrading to 8T44u 2015, upgrading to 8
T44u 2015, upgrading to 8Terminalfour
 
T44u 2015, improving campaign performance
T44u 2015, improving campaign performanceT44u 2015, improving campaign performance
T44u 2015, improving campaign performanceTerminalfour
 
T44u 2015, marketing analytics data driven decision making
T44u 2015, marketing analytics   data driven decision makingT44u 2015, marketing analytics   data driven decision making
T44u 2015, marketing analytics data driven decision makingTerminalfour
 
T44u 2015, content migration
T44u 2015, content migrationT44u 2015, content migration
T44u 2015, content migrationTerminalfour
 
T44u 2015, sample data
T44u 2015, sample dataT44u 2015, sample data
T44u 2015, sample dataTerminalfour
 
Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Terminalfour
 
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...Terminalfour
 
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Terminalfour
 
Social media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uSocial media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uTerminalfour
 
Newcastle University: Content migration made easy
Newcastle University: Content migration made easyNewcastle University: Content migration made easy
Newcastle University: Content migration made easyTerminalfour
 
Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Terminalfour
 
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURBuilding a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURTerminalfour
 
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Terminalfour
 

Mehr von Terminalfour (20)

Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips Selecting a Digital Agency for Web Redesign - Top Tips
Selecting a Digital Agency for Web Redesign - Top Tips
 
Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...Let's get personal... Website personalisation and content targeting technique...
Let's get personal... Website personalisation and content targeting technique...
 
Imperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editorsImperial College London: Creating and managing a flexible site for 1,000 editors
Imperial College London: Creating and managing a flexible site for 1,000 editors
 
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobileRoundhouse Digital: Responsive Sites- Not just looking good on a mobile
Roundhouse Digital: Responsive Sites- Not just looking good on a mobile
 
T44u 2015, learning and development
T44u 2015, learning and developmentT44u 2015, learning and development
T44u 2015, learning and development
 
T44u 2015, imperial college
T44u 2015, imperial collegeT44u 2015, imperial college
T44u 2015, imperial college
 
T44u 2015, web development best practice
T44u 2015, web development best practiceT44u 2015, web development best practice
T44u 2015, web development best practice
 
T44u 2015, upgrading to 8
T44u 2015, upgrading to 8T44u 2015, upgrading to 8
T44u 2015, upgrading to 8
 
T44u 2015, improving campaign performance
T44u 2015, improving campaign performanceT44u 2015, improving campaign performance
T44u 2015, improving campaign performance
 
T44u 2015, marketing analytics data driven decision making
T44u 2015, marketing analytics   data driven decision makingT44u 2015, marketing analytics   data driven decision making
T44u 2015, marketing analytics data driven decision making
 
T44u 2015, content migration
T44u 2015, content migrationT44u 2015, content migration
T44u 2015, content migration
 
T44u 2015, sample data
T44u 2015, sample dataT44u 2015, sample data
T44u 2015, sample data
 
Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College Transforming your team & your tools to own the web: Connecticut College
Transforming your team & your tools to own the web: Connecticut College
 
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
University of Liverpool: TERMINALFOUR & App Development- Making the Most of y...
 
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014 Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
Personalised Portals: The Path to Student Engagement: EVMS- t44u 2014
 
Social media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44uSocial media: Connecting their networks with your website-mStoner: t44u
Social media: Connecting their networks with your website-mStoner: t44u
 
Newcastle University: Content migration made easy
Newcastle University: Content migration made easyNewcastle University: Content migration made easy
Newcastle University: Content migration made easy
 
Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital Collaborative Working: University of Sunderland & Roundhouse Digital
Collaborative Working: University of Sunderland & Roundhouse Digital
 
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOURBuilding a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
Building a research portal: Vidatum & NUIG - t44u - TERMINALFOUR
 
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
Responsive Retrofit-EVMS: tForum TERMINALFOUR 2014
 

Kürzlich hochgeladen

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdfMuhammad Subhan
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Hiroshi SHIBATA
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch TuesdayIvanti
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideStefan Dietze
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024Lorenzo Miniero
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxjbellis
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxFIDO Alliance
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctBrainSell Technologies
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentationyogeshlabana357357
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 

Kürzlich hochgeladen (20)

“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
“Iamnobody89757” Understanding the Mysterious of Digital Identity.pdf
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The InsideCollecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
Collecting & Temporal Analysis of Behavioral Web Data - Tales From The Inside
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 

TERMINALFOUR t44u 2012 - Programmable layouts

  • 1. Programmable Page & Content Layouts
  • 2. Existing Functionality in Site Manager 7.3 • Page Layouts (Styles) & Content Layouts (Template Formatters) • Made up of HTML with T4 Tags in them • On preview / publish, T4 Tags are parsed and Brokers, written in Java are called to process them Programmable Layouts 2
  • 3. Shortcomings of placeholders • Using token replacement is restrictive • No if / then / else logic Programmable Layouts • Can be applied to Page and Content Layouts • Initially implemented Javascript (Rhino) • Scope to extend to other scripting languages • Allow Layouts to be programmed • Turing Complete Programmable Layouts 3
  • 4. Programmable Layouts • All functionality in current Layouts available in Programmable Layouts document.write (BrokerUtils.processT4Tags (oStmt, oCache, oSection, oContent, sLang, fPreview, sTextToParse)); • Process T4 Tags within the provided page and output the result to the current page • Using document.write writes text to the current page Programmable Layouts 4
  • 5. Programmable Layouts • Simple if / then / else logic if (BrokerUtils.isFullTextPage (oCache)) { document.write ('<p>This is a full text page</p>'); } if (sLang === 'es') { document.write ('<p>We're on the Spanish page.</p>'); } else { document.write ('<p>We're NOT on the Spanish page.</p>'); } Programmable Layouts 5
  • 7. Programmable Layouts • More Complex functionality possible • Prototype queries an external database & outputs the results in a HTML table within the published page • This has been done with less than 100 lines of code within the Layout Programmable Layouts 7
  • 8. Benefits of Programmable Layouts • Applicable to Page and Content Layouts • Makes it simple to create complex pages • Hugely powerful • Provide simple if / then / else logic • Access to entire TERMINALFOUR API • Can access external database • Can read external web services Programmable Layouts 8
  • 9. • Will be available in Beta form in Site Manager 7.4 • Can be enabled on a per-Layout basis to ensure backwards-compatibility and performance • Security… Programmable Layouts 9