SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
Adobe’s MXML
          by Robert Barry




Saturday, July 30, 2011
What is MXML?

        MXML is a proprietary
     interface-markup language
     primarily used in the Adobe
     Flex framework ,along with
     ActionScript and CSS, and
        is used to layout user
              interfaces.

                                   Image from: http://help.adobe.com/en_US/FlashCatalyst/CS5/Using/
                                         WS46537afc5008d12d-22e1d8812381cd77f5-7fff.html


Saturday, July 30, 2011
What is MXML?

                   MXML is used to create user interfaces, and
                        is used in conjunction with Adobe
                   ActionScript, which is employed to buld the
                   program's logic. The 2 languages are then
                   complied into a .swf file for use in Adobe's
                                   Flash player.



Saturday, July 30, 2011
Who uses MXML?


               MXML is primarily used by web designers and
               developers to create Rich Internet Applications
                in the Adobe Flash format, and requires the
                            Adobe Flash player.




Saturday, July 30, 2011
Who uses MXML?

                                                                Flex has also been used
                                                                    to create desktop
                                                                 applications, including
                                                               the popular “TweetDeck”,
                                                                  a program created to
                                                                 manage multiple social
                                                                     networking sites.
                Image from:http://www.tweetdeck.com/desktop/




Saturday, July 30, 2011
History of MXML

                   MXML was developed by the Macromedia
                   company in 2004 as a declarative mark-up
                 language for building interfaces. Macromedia
                 was later bought by Adobe in 2005, and they
                     have since integrated MXML into other
                                  frameworks.



Saturday, July 30, 2011
A “Hello World” MXML Sample
       The following code is an example of a simple “Hello
                       World” application.
                              <?xml version="1.0"?>
                              <!-- mxmlHellowWorld.mxml -->
                              <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                  xmlns:mx="library://ns.adobe.com/flex/mx"
                                  xmlns:s="library://ns.adobe.com/flex/spark">
                                  <s:layout>
                                      <s:VerticalLayout/>
                                  </s:layout>
     Sample image from: http://
    help.adobe.com/en_US/flex/
              using/              <s:Panel title="My Application">
   WS2db454920e96a9e51e63e3d          <s:Label text="Hello World" fontWeight="bold" fontSize="24"/>
        11c0bf5f39f-7fff.html     </s:Panel>
                              </s:Application>
                             Code sample from http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf5f39f-7fff.html




Saturday, July 30, 2011
A “Hello World” MXML Sample
                          <?xml version="1.0"?>
                          <!-- mxmlHellowWorld.mxml -->
                          <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                              xmlns:mx="library://ns.adobe.com/flex/mx"
                              xmlns:s="library://ns.adobe.com/flex/spark">
                              <s:layout>
                                  <s:VerticalLayout/>
                              </s:layout>

                              <s:Panel title="My Application">
                                  <s:Label text="Hello World" fontWeight="bold" fontSize="24"/>
                              </s:Panel>
                          </s:Application>


      •XMLNS:fx - refers to top-level ActionScript elements
      •XMLNS:mx - namespace for MX components
      •XMLNS:s - refers to Spark components
      •Spark is the most recent MXML vocabulary, while MX is still used for older applications
      •MXML uses CSS property names for formatting text.

Saturday, July 30, 2011
The Future of MXML
                    With the imminent arrival of HTML5, the
                      future of Flex, Flash, and MXML are
                     uncertain. Adobe’s Flash platform still
                  provides solutions that are better for certain
                     complex problems than HTML5 and
                 JavaScript. Today there are many companies
                   who are hesitant to change to a new, still
                 unproven platform after investing millions into
                  developing Adobe MXML and ActionScript
                                   applications.

Saturday, July 30, 2011
Conclusion
                    Adobe’s MXML in Flex is a powerful tool for
                      creating advanced internet and desktop
                     applications. It is a simple XML vocabulary
                    that, combined with ActionScript and CSS,
                     can create impressive and immersive web
                    sites and programs. Even with an uncertain
                           future, MXML will be employed
                               for a long time to come.


Saturday, July 30, 2011
Web Samples

                    IBM ILOG Elixir World Factbook Dashboard

                          NASDAQ Market Replay (watch video)

                                   Screenergy.com

                                    Philips Lighting



Saturday, July 30, 2011
Bibliography
        •"Introducing the MXML and ActionScript Languages | Adobe Developer
           Connection."Adobe. Web. 30 July 2011. <http://www.adobe.com/devnet/flex/articles/
           fcf_mxml_actionscript.html>.


        •“About MXML.” Adobe Systems. 15 April 2010
           <http://help.adobe.com/en_US/flex/using/
           WS2db454920e96a9e51e63e3d11c0bf5f39f-7fff.html>


        •"Open Source Framework, Web Application Software Development | Flex." Adobe.
           Web. 30 July 2011. <http://www.adobe.com/products/flex/>.


        •"MXML." Wikipedia, the Free Encyclopedia. Web. 16 February 2011. <http://
           en.wikipedia.org/wiki/MXML>.


Saturday, July 30, 2011
Adobe’s MXML
          by Robert Barry




Saturday, July 30, 2011

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

Flex vs HTML5
Flex vs HTML5Flex vs HTML5
Flex vs HTML5
 
Flex Appeal
Flex AppealFlex Appeal
Flex Appeal
 
Open Source examples from Adobe : Oscon kiosk
Open Source examples from Adobe : Oscon kioskOpen Source examples from Adobe : Oscon kiosk
Open Source examples from Adobe : Oscon kiosk
 
Flex vs. HTML5 for RIAS
Flex vs. HTML5 for RIASFlex vs. HTML5 for RIAS
Flex vs. HTML5 for RIAS
 
Flex 4 Overview
Flex 4 OverviewFlex 4 Overview
Flex 4 Overview
 
Apache Flex: Overview
Apache Flex: OverviewApache Flex: Overview
Apache Flex: Overview
 
Opening the mobile web mozilla and firefox os-chit thiri maung
Opening the mobile web   mozilla and firefox os-chit thiri maungOpening the mobile web   mozilla and firefox os-chit thiri maung
Opening the mobile web mozilla and firefox os-chit thiri maung
 
Adobe flex an overview
Adobe flex  an overviewAdobe flex  an overview
Adobe flex an overview
 
Flex 4 Deep Dive
Flex 4 Deep DiveFlex 4 Deep Dive
Flex 4 Deep Dive
 
Flex 4 Deep Dive
Flex 4 Deep DiveFlex 4 Deep Dive
Flex 4 Deep Dive
 
Flex4 Component Lifecycle
Flex4 Component LifecycleFlex4 Component Lifecycle
Flex4 Component Lifecycle
 
Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5Cloud Apache OpenOffice based on HTML5
Cloud Apache OpenOffice based on HTML5
 
Better Drupal Interaction Design with Flex
Better Drupal Interaction Design with FlexBetter Drupal Interaction Design with Flex
Better Drupal Interaction Design with Flex
 
A Brief Intro to Adobe Flex
A Brief Intro to Adobe FlexA Brief Intro to Adobe Flex
A Brief Intro to Adobe Flex
 
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
PLASTIC 2011: "Enterprise JavaScript with Jangaroo"
 
AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )AIR - Framework ( Cairngorm and Parsley )
AIR - Framework ( Cairngorm and Parsley )
 
Adobe Flex builder by elmagnif
Adobe Flex builder  by elmagnifAdobe Flex builder  by elmagnif
Adobe Flex builder by elmagnif
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.
 
SilverlightCh01
SilverlightCh01SilverlightCh01
SilverlightCh01
 

Ähnlich wie Mxml

A Look at Flex and PHP
A Look at Flex and PHPA Look at Flex and PHP
A Look at Flex and PHP
elliando dias
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
ravinxg
 
Flex_Basic_Training
Flex_Basic_TrainingFlex_Basic_Training
Flex_Basic_Training
guest25cec3
 
Flex3中文教程
Flex3中文教程Flex3中文教程
Flex3中文教程
yiditushe
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
Subodh Pushpak
 

Ähnlich wie Mxml (20)

Adobe flex
Adobe flexAdobe flex
Adobe flex
 
Adobe Flex
Adobe FlexAdobe Flex
Adobe Flex
 
Flex & Drupal Integration
Flex & Drupal IntegrationFlex & Drupal Integration
Flex & Drupal Integration
 
A Look at Flex and PHP
A Look at Flex and PHPA Look at Flex and PHP
A Look at Flex and PHP
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Flex RIA
Flex RIAFlex RIA
Flex RIA
 
Flex_Basic_Training
Flex_Basic_TrainingFlex_Basic_Training
Flex_Basic_Training
 
Introduction to Adobe Flex
Introduction to Adobe FlexIntroduction to Adobe Flex
Introduction to Adobe Flex
 
Introduction to Flex
Introduction to FlexIntroduction to Flex
Introduction to Flex
 
Flex Introduction
Flex Introduction Flex Introduction
Flex Introduction
 
Difference between ajax and silverlight
Difference between ajax and silverlightDifference between ajax and silverlight
Difference between ajax and silverlight
 
Flex3中文教程
Flex3中文教程Flex3中文教程
Flex3中文教程
 
Silverlight Training
Silverlight TrainingSilverlight Training
Silverlight Training
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - Zaloni
 
Eclipse DemoCamp Toulouse 2017 - Mr. Robot : The modeling Society
Eclipse DemoCamp Toulouse 2017 - Mr. Robot : The modeling SocietyEclipse DemoCamp Toulouse 2017 - Mr. Robot : The modeling Society
Eclipse DemoCamp Toulouse 2017 - Mr. Robot : The modeling Society
 
Adobe Flash History and Basics
Adobe Flash History and BasicsAdobe Flash History and Basics
Adobe Flash History and Basics
 
A Look At Flex And Php
A Look At Flex And PhpA Look At Flex And Php
A Look At Flex And Php
 
Apache Flex and the imperfect Web
Apache Flex and the imperfect WebApache Flex and the imperfect Web
Apache Flex and the imperfect Web
 
Dot Net Training Dot Net35
Dot Net Training Dot Net35Dot Net Training Dot Net35
Dot Net Training Dot Net35
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

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
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
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, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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
 
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
 
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?
 
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...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Mxml

  • 1. Adobe’s MXML by Robert Barry Saturday, July 30, 2011
  • 2. What is MXML? MXML is a proprietary interface-markup language primarily used in the Adobe Flex framework ,along with ActionScript and CSS, and is used to layout user interfaces. Image from: http://help.adobe.com/en_US/FlashCatalyst/CS5/Using/ WS46537afc5008d12d-22e1d8812381cd77f5-7fff.html Saturday, July 30, 2011
  • 3. What is MXML? MXML is used to create user interfaces, and is used in conjunction with Adobe ActionScript, which is employed to buld the program's logic. The 2 languages are then complied into a .swf file for use in Adobe's Flash player. Saturday, July 30, 2011
  • 4. Who uses MXML? MXML is primarily used by web designers and developers to create Rich Internet Applications in the Adobe Flash format, and requires the Adobe Flash player. Saturday, July 30, 2011
  • 5. Who uses MXML? Flex has also been used to create desktop applications, including the popular “TweetDeck”, a program created to manage multiple social networking sites. Image from:http://www.tweetdeck.com/desktop/ Saturday, July 30, 2011
  • 6. History of MXML MXML was developed by the Macromedia company in 2004 as a declarative mark-up language for building interfaces. Macromedia was later bought by Adobe in 2005, and they have since integrated MXML into other frameworks. Saturday, July 30, 2011
  • 7. A “Hello World” MXML Sample The following code is an example of a simple “Hello World” application. <?xml version="1.0"?> <!-- mxmlHellowWorld.mxml --> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"> <s:layout> <s:VerticalLayout/> </s:layout> Sample image from: http:// help.adobe.com/en_US/flex/ using/ <s:Panel title="My Application"> WS2db454920e96a9e51e63e3d <s:Label text="Hello World" fontWeight="bold" fontSize="24"/> 11c0bf5f39f-7fff.html </s:Panel> </s:Application> Code sample from http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf5f39f-7fff.html Saturday, July 30, 2011
  • 8. A “Hello World” MXML Sample <?xml version="1.0"?> <!-- mxmlHellowWorld.mxml --> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark"> <s:layout> <s:VerticalLayout/> </s:layout> <s:Panel title="My Application"> <s:Label text="Hello World" fontWeight="bold" fontSize="24"/> </s:Panel> </s:Application> •XMLNS:fx - refers to top-level ActionScript elements •XMLNS:mx - namespace for MX components •XMLNS:s - refers to Spark components •Spark is the most recent MXML vocabulary, while MX is still used for older applications •MXML uses CSS property names for formatting text. Saturday, July 30, 2011
  • 9. The Future of MXML With the imminent arrival of HTML5, the future of Flex, Flash, and MXML are uncertain. Adobe’s Flash platform still provides solutions that are better for certain complex problems than HTML5 and JavaScript. Today there are many companies who are hesitant to change to a new, still unproven platform after investing millions into developing Adobe MXML and ActionScript applications. Saturday, July 30, 2011
  • 10. Conclusion Adobe’s MXML in Flex is a powerful tool for creating advanced internet and desktop applications. It is a simple XML vocabulary that, combined with ActionScript and CSS, can create impressive and immersive web sites and programs. Even with an uncertain future, MXML will be employed for a long time to come. Saturday, July 30, 2011
  • 11. Web Samples IBM ILOG Elixir World Factbook Dashboard NASDAQ Market Replay (watch video) Screenergy.com Philips Lighting Saturday, July 30, 2011
  • 12. Bibliography •"Introducing the MXML and ActionScript Languages | Adobe Developer Connection."Adobe. Web. 30 July 2011. <http://www.adobe.com/devnet/flex/articles/ fcf_mxml_actionscript.html>. •“About MXML.” Adobe Systems. 15 April 2010 <http://help.adobe.com/en_US/flex/using/ WS2db454920e96a9e51e63e3d11c0bf5f39f-7fff.html> •"Open Source Framework, Web Application Software Development | Flex." Adobe. Web. 30 July 2011. <http://www.adobe.com/products/flex/>. •"MXML." Wikipedia, the Free Encyclopedia. Web. 16 February 2011. <http:// en.wikipedia.org/wiki/MXML>. Saturday, July 30, 2011
  • 13. Adobe’s MXML by Robert Barry Saturday, July 30, 2011