SlideShare ist ein Scribd-Unternehmen logo
1 von 30
„Waiting to start“-Folie

                                                                                     Die wird vor der Präsentation
                                                                                     gezeigt.

                                                                                     Vielleicht ein Waschsalon. Eine
                                                                                     Waschmaschine, die sich dreht?




Source: nplus - any given saturday (afternoon) http://www.youtube.com/watch?v=QrDsoj61bZc
Building bridges between AS3 & Typo3.
Building bridges between AS3 & Typo3.




‣   Studied MediaDesign at Bauhaus University in Weimar

‣   Founded wwsc Märkte & Medien GmbH in Y2K

‣   Today: Eight co-workers/each mad for T3 and AS3
Building bridges between AS3 & Typo3.




   Table of contents

1. Introduction

2. How it works

3. Real world example

4. Short Demo/Code example of a AS3-Project

5. Timetable

6. Discussion
Building bridges between AS3 & Typo3.




Introduction
Building bridges between AS3 & Typo3.




    Introduction

Expected aud ience for this talk:


•   Intermediate Typo3-User with some
    ActionScript3-Experience
Building bridges between AS3 & Typo3.




    Introduction

This talk:

•   What this talk is not about:
    (Flash vs. HTML(5) vs. SEO vs. Accesibility)
Building bridges between AS3 & Typo3.




    Introduction

                       e best of both worlds.
So metimes you want th

•   A rich user interface (RIA)

•   You want to provide access to widgets, etc

•   A persistent CMS

•   A backup HTML for SEO/ etc.
Building bridges between AS3 & Typo3.




 Introduction




„Typ o3 is a great framework to
 mana  ge any kind o  f content !“
Building bridges between AS3 & Typo3.




    Introduction

                                          t:
Our great goal is to provide a library tha


•   Provides a fast access to T3-Contents

•   Comes with support for the main extension (e.g.
    tt_news)

•   Is able to expand own AS3-Classes with T3-DB-Support

•   Uses as many T3-Functions as possible
Building bridges between AS3 & Typo3.




How it works
Building bridges between AS3 & Typo3.




    What you need

•   Download the getting started package

•   A working Typo3-setup with the t3flex-T3Ext installed

•   You might want to setup permissions in Typo3

•   Include T3Flex-Library (AS3-swc) in your Flex-Project
Building bridges between AS3 & Typo3.




    What you get

•   Access to your T3-Datastructures in AS3-Projects
    (CRUD)

•   Easy-to-learn syntax (incl. ASDoc)

•   UserRights can be set over FrontEnd-User-Rights
    and T3-Setup

•   A lot of Typo3-Objects are translated to AS3-Classes
Building bridges between AS3 & Typo3.




              How it works


                                           T3Flex-Brigde
                                  Communication via XML and HTTP-Requests




         T3Flex Extension                                                             T3Flex-Library (swc)



            ToDo‘s                                                                 What you get

                                                                                                   e.g.:
•   install extension                                                       Access to classes for
                                                                                                  /pages
    include the ext-Temp
                           late                                             tt_content/fe_user/tv
•
•    (setup access rights)
Building bridges between AS3 & Typo3.




   AS3-Classes


public class T3Flex   t3Standards     (extensions)

    T3Configuration    T3DbElement       tt_news

     T3FlexEvents      T3tt_content         cal

      Bulkloader        T3Fe_User       TemplaVoilá

     DataService        T3Image

       DB-Helper         T3Pages

                       T3Pagetree
Building bridges between AS3 & Typo3.




   Basic syntax


public class T3Flex     t3Standards           (extensions)

                          T3DbElement




    T3obj.getChildren(callBack:Function)
    T3obj.getChildFromUid(uid:uint,callBack:Function)
    T3obj.updateRecord(callBack:Function)
    T3obj.updateOneDataField(callBack:Function)
    T3obj.addARelation(class:Class,callBack:Function)
    T3obj.removeRecord(callBack:Function)
Building bridges between AS3 & Typo3.




      Handle MM-Relations
// class T3tt_news extends T3DbElement

// load all tt_news with given category UID
function getAllNewsOfCatUid(newsCatId:uint, callBack:Function):void
{
   this.uid= newsCatId;!   !
   this.fields.SELECT_FOREIGN_TABLE = true;
   this.fields.FOREIGN_TABLE = "tt_news";
   fields.SELECT_MM_COLUMN="category";

    var myDbHelper:DbHelper = new DbHelper;
    !    myDbHelper.SELECT_MM_CLASS= T3tt_news;
    !    !   !
    myDbHelper.getMMForUid(this,callBack);
}
Building bridges between AS3 & Typo3.




Complex SQL-Queries
Building bridges between AS3 & Typo3.




Complex SQL-Queries
Building bridges between AS3 & Typo3.




Complex SQL-Queries

   // class myProjects.as

   // load all Projects including AREA from DB
   // AREAS are a MM-Relation in Typo3
   private function getAllProjectsWithAreas():void
   {
      // create T3DBObject to define the uid of query
      var myStoredQuery:T3DBElement = new T3DBElement();
          myStoredQuery.uid = 2;

       // send request to T3Flex
       var t3FlexDbHelper:DbHelper = new DbHelper();
           t3FlexDbHelper.getStoredQuery
       (myStoredQuery,callback);
   }
Building bridges between AS3 & Typo3.




Complex SQL-Queries

   // class myProjects.as

   // load all Projects including AREA from DB
   // AREAS are a MM-Relation in Typo3
   private function getAllProjectsWithAreas():void
   {
      // create T3DBObject to define the uid of query
      var myStoredQuery:T3DBElement = new T3DBElement();
          myStoredQuery.uid = 2;

       // send request to T3Flex
       var t3FlexDbHelper:DbHelper = new DbHelper();
           t3FlexDbHelper.getStoredQuery
       (myStoredQuery,callback);
   }
                                                              !
Building bridges between AS3 & Typo3.




Examples
Building bridges between AS3 & Typo3.




Landesentwicklungsgesellschaft Thüringen mbH
Building bridges between AS3 & Typo3.




Languages of Emotion - Berlin
Building bridges between AS3 & Typo3.




Code
Building bridges between AS3 & Typo3.




Timetable
Building bridges between AS3 & Typo3.




   Timetable

Q4- 2009
Closed alpha


Q1- 2010
Public beta


Q2- 2010
Release of V.1
Building bridges between AS3 & Typo3.




    ToDoS

Next up:
•   Do more demoProjects and involve
    external programmers (You?)

•   Reduce footprint & cleanup

•   Enable caching of queries (server-side)

•   Complete documentation

•   Implement Workspaces

•   Typo3-Logging

•   Lazy loading
Building bridges between AS3 & Typo3.




What do you think
Building bridges between AS3 & Typo3.




Stay in touch !

 Updates/Blog/Documentation via:
 www.t3flex.com


 Follow T3Flex:
 www.twitter.com/T3Flex

                              Contact me:
 Follow me:
                         k    kosack@wwsc.de
 ww w.twitter.com/reimar
                              Reimar Kosack

Weitere ähnliche Inhalte

Ähnlich wie T3Flex

27.1.5 lab convert data into a universal format
27.1.5 lab   convert data into a universal format27.1.5 lab   convert data into a universal format
27.1.5 lab convert data into a universal formatFreddy Buenaño
 
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015die.agilen GmbH
 
Java fx smart code econ
Java fx smart code econJava fx smart code econ
Java fx smart code econTom Schindl
 
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)Derek Callaway
 
Open splicedds espercep-webinar
Open splicedds espercep-webinarOpen splicedds espercep-webinar
Open splicedds espercep-webinarTomasz Waszczyk
 
This project explores usage of the IPC in the form of shared.pdf
This project explores usage of the IPC in the form of shared.pdfThis project explores usage of the IPC in the form of shared.pdf
This project explores usage of the IPC in the form of shared.pdfadinathfashion1
 
OpenInfra Summit Vancouver 2023 - SSoT
OpenInfra Summit Vancouver 2023 - SSoTOpenInfra Summit Vancouver 2023 - SSoT
OpenInfra Summit Vancouver 2023 - SSoTOhyama Hiroyasu
 
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flow
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 FlowT3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flow
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flowmhelmich
 
Understanding information content with apache tika
Understanding information content with apache tikaUnderstanding information content with apache tika
Understanding information content with apache tikaSutthipong Kuruhongsa
 
Understanding information content with apache tika
Understanding information content with apache tikaUnderstanding information content with apache tika
Understanding information content with apache tikaSutthipong Kuruhongsa
 
E(fx)clipse eclipse con
E(fx)clipse   eclipse conE(fx)clipse   eclipse con
E(fx)clipse eclipse conTom Schindl
 
Advanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing ProfileAdvanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing ProfileAxel Rennoch
 
FAIR Projector Builder
FAIR Projector BuilderFAIR Projector Builder
FAIR Projector BuilderMark Wilkinson
 
Storm@Twitter, SIGMOD 2014 paper
Storm@Twitter, SIGMOD 2014 paperStorm@Twitter, SIGMOD 2014 paper
Storm@Twitter, SIGMOD 2014 paperKarthik Ramasamy
 
WiMAX implementation in ns3
WiMAX implementation in ns3WiMAX implementation in ns3
WiMAX implementation in ns3Mustafa Khaleel
 
ACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsSrinath Perera
 
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsDEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsSriskandarajah Suhothayan
 
project introduction
project introductionproject introduction
project introductionstinmon
 

Ähnlich wie T3Flex (20)

27.1.5 lab convert data into a universal format
27.1.5 lab   convert data into a universal format27.1.5 lab   convert data into a universal format
27.1.5 lab convert data into a universal format
 
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015
What's new in TYPO3 6.2 LTS - #certiFUNcation Alumni Event 05.06.2015
 
Java fx smart code econ
Java fx smart code econJava fx smart code econ
Java fx smart code econ
 
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)
Tickling CGI Problems (Tcl Web Server Scripting Vulnerability Research)
 
Open splicedds espercep-webinar
Open splicedds espercep-webinarOpen splicedds espercep-webinar
Open splicedds espercep-webinar
 
This project explores usage of the IPC in the form of shared.pdf
This project explores usage of the IPC in the form of shared.pdfThis project explores usage of the IPC in the form of shared.pdf
This project explores usage of the IPC in the form of shared.pdf
 
OpenInfra Summit Vancouver 2023 - SSoT
OpenInfra Summit Vancouver 2023 - SSoTOpenInfra Summit Vancouver 2023 - SSoT
OpenInfra Summit Vancouver 2023 - SSoT
 
TYPO3 at UNESCO.org
TYPO3 at UNESCO.orgTYPO3 at UNESCO.org
TYPO3 at UNESCO.org
 
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flow
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 FlowT3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flow
T3CON14EU: Migrating from TYPO3 CMS to TYPO3 Flow
 
Understanding information content with apache tika
Understanding information content with apache tikaUnderstanding information content with apache tika
Understanding information content with apache tika
 
Understanding information content with apache tika
Understanding information content with apache tikaUnderstanding information content with apache tika
Understanding information content with apache tika
 
E(fx)clipse eclipse con
E(fx)clipse   eclipse conE(fx)clipse   eclipse con
E(fx)clipse eclipse con
 
Advanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing ProfileAdvanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing Profile
 
FAIR Projector Builder
FAIR Projector BuilderFAIR Projector Builder
FAIR Projector Builder
 
Storm@Twitter, SIGMOD 2014 paper
Storm@Twitter, SIGMOD 2014 paperStorm@Twitter, SIGMOD 2014 paper
Storm@Twitter, SIGMOD 2014 paper
 
WiMAX implementation in ns3
WiMAX implementation in ns3WiMAX implementation in ns3
WiMAX implementation in ns3
 
C++ Presentation
C++ PresentationC++ Presentation
C++ Presentation
 
ACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics Patterns
 
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsDEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
 
project introduction
project introductionproject introduction
project introduction
 

Kürzlich hochgeladen

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Kürzlich hochgeladen (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

T3Flex

  • 1. „Waiting to start“-Folie Die wird vor der Präsentation gezeigt. Vielleicht ein Waschsalon. Eine Waschmaschine, die sich dreht? Source: nplus - any given saturday (afternoon) http://www.youtube.com/watch?v=QrDsoj61bZc
  • 3. Building bridges between AS3 & Typo3. ‣ Studied MediaDesign at Bauhaus University in Weimar ‣ Founded wwsc Märkte & Medien GmbH in Y2K ‣ Today: Eight co-workers/each mad for T3 and AS3
  • 4. Building bridges between AS3 & Typo3. Table of contents 1. Introduction 2. How it works 3. Real world example 4. Short Demo/Code example of a AS3-Project 5. Timetable 6. Discussion
  • 5. Building bridges between AS3 & Typo3. Introduction
  • 6. Building bridges between AS3 & Typo3. Introduction Expected aud ience for this talk: • Intermediate Typo3-User with some ActionScript3-Experience
  • 7. Building bridges between AS3 & Typo3. Introduction This talk: • What this talk is not about: (Flash vs. HTML(5) vs. SEO vs. Accesibility)
  • 8. Building bridges between AS3 & Typo3. Introduction e best of both worlds. So metimes you want th • A rich user interface (RIA) • You want to provide access to widgets, etc • A persistent CMS • A backup HTML for SEO/ etc.
  • 9. Building bridges between AS3 & Typo3. Introduction „Typ o3 is a great framework to mana ge any kind o f content !“
  • 10. Building bridges between AS3 & Typo3. Introduction t: Our great goal is to provide a library tha • Provides a fast access to T3-Contents • Comes with support for the main extension (e.g. tt_news) • Is able to expand own AS3-Classes with T3-DB-Support • Uses as many T3-Functions as possible
  • 11. Building bridges between AS3 & Typo3. How it works
  • 12. Building bridges between AS3 & Typo3. What you need • Download the getting started package • A working Typo3-setup with the t3flex-T3Ext installed • You might want to setup permissions in Typo3 • Include T3Flex-Library (AS3-swc) in your Flex-Project
  • 13. Building bridges between AS3 & Typo3. What you get • Access to your T3-Datastructures in AS3-Projects (CRUD) • Easy-to-learn syntax (incl. ASDoc) • UserRights can be set over FrontEnd-User-Rights and T3-Setup • A lot of Typo3-Objects are translated to AS3-Classes
  • 14. Building bridges between AS3 & Typo3. How it works T3Flex-Brigde Communication via XML and HTTP-Requests T3Flex Extension T3Flex-Library (swc) ToDo‘s What you get e.g.: • install extension Access to classes for /pages include the ext-Temp late tt_content/fe_user/tv • • (setup access rights)
  • 15. Building bridges between AS3 & Typo3. AS3-Classes public class T3Flex t3Standards (extensions) T3Configuration T3DbElement tt_news T3FlexEvents T3tt_content cal Bulkloader T3Fe_User TemplaVoilá DataService T3Image DB-Helper T3Pages T3Pagetree
  • 16. Building bridges between AS3 & Typo3. Basic syntax public class T3Flex t3Standards (extensions) T3DbElement T3obj.getChildren(callBack:Function) T3obj.getChildFromUid(uid:uint,callBack:Function) T3obj.updateRecord(callBack:Function) T3obj.updateOneDataField(callBack:Function) T3obj.addARelation(class:Class,callBack:Function) T3obj.removeRecord(callBack:Function)
  • 17. Building bridges between AS3 & Typo3. Handle MM-Relations // class T3tt_news extends T3DbElement // load all tt_news with given category UID function getAllNewsOfCatUid(newsCatId:uint, callBack:Function):void { this.uid= newsCatId;! ! this.fields.SELECT_FOREIGN_TABLE = true; this.fields.FOREIGN_TABLE = "tt_news"; fields.SELECT_MM_COLUMN="category"; var myDbHelper:DbHelper = new DbHelper; ! myDbHelper.SELECT_MM_CLASS= T3tt_news; ! ! ! myDbHelper.getMMForUid(this,callBack); }
  • 18. Building bridges between AS3 & Typo3. Complex SQL-Queries
  • 19. Building bridges between AS3 & Typo3. Complex SQL-Queries
  • 20. Building bridges between AS3 & Typo3. Complex SQL-Queries // class myProjects.as // load all Projects including AREA from DB // AREAS are a MM-Relation in Typo3 private function getAllProjectsWithAreas():void { // create T3DBObject to define the uid of query var myStoredQuery:T3DBElement = new T3DBElement(); myStoredQuery.uid = 2; // send request to T3Flex var t3FlexDbHelper:DbHelper = new DbHelper(); t3FlexDbHelper.getStoredQuery (myStoredQuery,callback); }
  • 21. Building bridges between AS3 & Typo3. Complex SQL-Queries // class myProjects.as // load all Projects including AREA from DB // AREAS are a MM-Relation in Typo3 private function getAllProjectsWithAreas():void { // create T3DBObject to define the uid of query var myStoredQuery:T3DBElement = new T3DBElement(); myStoredQuery.uid = 2; // send request to T3Flex var t3FlexDbHelper:DbHelper = new DbHelper(); t3FlexDbHelper.getStoredQuery (myStoredQuery,callback); } !
  • 22. Building bridges between AS3 & Typo3. Examples
  • 23. Building bridges between AS3 & Typo3. Landesentwicklungsgesellschaft Thüringen mbH
  • 24. Building bridges between AS3 & Typo3. Languages of Emotion - Berlin
  • 25. Building bridges between AS3 & Typo3. Code
  • 26. Building bridges between AS3 & Typo3. Timetable
  • 27. Building bridges between AS3 & Typo3. Timetable Q4- 2009 Closed alpha Q1- 2010 Public beta Q2- 2010 Release of V.1
  • 28. Building bridges between AS3 & Typo3. ToDoS Next up: • Do more demoProjects and involve external programmers (You?) • Reduce footprint & cleanup • Enable caching of queries (server-side) • Complete documentation • Implement Workspaces • Typo3-Logging • Lazy loading
  • 29. Building bridges between AS3 & Typo3. What do you think
  • 30. Building bridges between AS3 & Typo3. Stay in touch ! Updates/Blog/Documentation via: www.t3flex.com Follow T3Flex: www.twitter.com/T3Flex Contact me: Follow me: k kosack@wwsc.de ww w.twitter.com/reimar Reimar Kosack