SlideShare a Scribd company logo
1 of 29
FLEX  4   ЧИ  HTML 5? Андрій Данилюк Артем Карявка
ВАМ СОРОЧКУ ЧИ ФУТБОЛКУ? FLEX HTML
RIA (RICH INTERNET APPLICATION) ,[object Object]
FLEX Flex 4 2010 ActionScript 3.0 Flash Player ActionScript 1.0 ActionScript 2.0 Flex 1.0 1997 2000 2003 2004 Flex 3.0 2006 Flex 2.0 Flex 4 2007 <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?>  <mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; >  <mx:Panel title=&quot;My Application&quot; >  <mx:Label text=&quot;Hello World!&quot;/>  </mx:Panel>  </mx:Application>
HTML HTML 1.0 HTML 2.0 HTML 3.2 HTML 4.0 HTML5 1991 1995 1997 XHTML 1.0 <!DOCTYPE HTML> <html> <head><title>HTML 5</title></head> <body>Hello World!</body> </html> 1999 HTML 4.1 2022? 2000
ПОШИРЕННЯ  FLEX
ПІДТРИМКА  HTML  5 (МУЛЬТИМЕДІА) Відео Theora Так Так Так Ні H.264 Так Ні Ні Ні Аудіо Vorbis Так Так Так Ні MP3 Так Ні Ні Ні WAV Ні Так Так Ні AAC Так Ні Ні Ні
ПІДТРИМКА  HTML  5 ( API ) Local Storage 3.0 3.5 10.5 8.0 Web Workers 3.0 3.5 Ні Ні Web Database 4.0 Ні 10.5 Ні Geolocation API 5.0 3.5 Ні Ні Web Sockets API 4.0 Ні Ні Ні SVG 1.1 1.0 Так 9.5 9.0 MathML Ні 1.5 Ні Ні WebGL 5.0 3.7 Ні Ні File API 5.0 3.6 Ні Ні
НОВІ МОЖЛИВОСТІ  FLEX 4 ,[object Object],[object Object],[object Object]
ПРИКЛАД НОВ ОЇ АРХІТЕКТУРИ <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;      layout=&quot;absolute&quot; width=&quot;400&quot; height=&quot;300&quot;>          <mx:states>         <mx:State name=&quot;State2&quot;>             <mx:SetProperty target=&quot;{button1}&quot;                  name=&quot;label&quot; value=&quot;Big&quot;/>             <mx:SetProperty target=&quot;{button1}&quot;                  name=&quot;width&quot; value=&quot;200&quot;/>             <mx:SetProperty target=&quot;{button1}&quot;                  name=&quot;height&quot; value=&quot;200&quot;/>             <mx:SetEventHandler target=&quot;{button1}&quot;                  name=&quot;click&quot; handler=&quot;currentState=''&quot;/>             <mx:AddChild relativeTo=&quot;{vbox1}&quot;                  position=&quot;lastChild&quot;>                 <mx:Label text=&quot;State 2 Only&quot;                      width=&quot;100%&quot;                      textAlign=&quot;center&quot;/>             </mx:AddChild>         </mx:State>     </mx:states>          <mx:VBox verticalCenter=&quot;0&quot;              horizontalCenter=&quot;0&quot;  id=&quot;vbox1&quot;>         <mx:Button label=&quot;Small&quot;              click=&quot;currentState='State2'&quot;              id=&quot;button1&quot;/>           </mx:VBox> </mx:Application> <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;      xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;      xmlns:mx=&quot;library://ns.adobe.com/flex/halo&quot;      width=&quot;400&quot; height=&quot;300&quot;>          <s:states>         <s:State name=&quot;State1&quot;/>         <s:State name=&quot;State2&quot;/>     </s:states>     <mx:VBox verticalCenter=&quot;0&quot;          horizontalCenter=&quot;0&quot; >              <s:Button label.State1=&quot;Small&quot;             width.State2=&quot;200&quot;              height.State2=&quot;200&quot;              label.State2=&quot;BIG&quot;              click.State1=&quot;currentState='State2'&quot;              click.State2=&quot;currentState='State1'&quot;/>                      <mx:Label includeIn=&quot;State2&quot;              width=&quot;100%&quot;              text=&quot;State 2 Only&quot;              textAlign=&quot;center&quot;/>                  </mx:VBox>      </s:Application>
НОВІ МОЖЛИВОСТІ  HTML5: ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ПРИКЛАД НОВОЇ РОЗМІТКИ  HTML5 З новими теґами ( section ,  article ,  aside ,  header ,  footer ) розмітка сторінки відбувається більш логічно, а семантична направленість такої розмітки у майбутньому покращить пошукову оптимізацію
КОРИСТУВАЦЬКИЙ ІНТЕРФЕЙС (ВІДЖЕТИ) Flex  HTML5 <datagrid></datagrid> <menu></menu> mx.controls.* HDividedBox TabNavigator Tree MenuBar DataGrid
ФОРМИ Flex  HTML5 mx.controls.ColorPicker, mx.controls.DateChooser input type=“list”, =“range”, =“date” input type=“email”, =“url” checkValidity mx.validators.PhoneNumberValidator formIsValid
ВЕКТОРНА ГРАФІКА Flex  HTML5 flash.display.Graphics <canvas></canvas>
ТРИВИМІРНА   ГРАФІКА Flex  HTML5 flash.geom.Matrix3D PaperVision3D,   Alternativa3D … canvas.getContext(‘3d’)
РОБОТА З БІТМАП Flex  HTML5 canvas.getImageData,setImageData,drawImage flash.filters.* mx.effects.* flash.geom.ColorTransform flash.display.BitmapData
ВІДЕО Flex  HTML5 OGG, MPEG4 Control Format mx.controls.VideoDisplay FLV <video src=“”></video>
ПОСТІЙНЕ З’ЄДНАННЯ Flex  HTML5 WebSocket flash.net.Socket
ДРАГ’Н’ДРОП Flex (AIR)  HTML5 DataTransfer, DragEvent flash.desktop.Clipboard flash.events.NativeDragEvent, flash.desktop.TransferableData
ФАЙЛОВА СИСТЕМА Read Write Flex (AIR)  HTML5 input type=“upload” File,  FileStream,  FileMode localStorage?
ІНСТРУМЕНТИ РОЗРОБНИКА Flex  HTML5 Flex Builder 3, Flash Builder 4 ,  Eclipse, Intellij Idea DreamWeaver, HomeSite etc.
ІНСТРУМЕНТИ ТЕСТУВАННЯ Unit Flex  HTML5 JSUnit ASUnit Selenium, WebDriver, Watir Fluint? Integration
СУМІСНІСТЬ З БРАУЗЕРАМИ Flex  HTML5 10, 9, 8, 7, 6, 5, …. 3, 2, .. 3, 2, .. 8, 7,  6 , .. 4,3,2,1  .. ?
ADOBE INTEGRATED RUNTIME (AIR) ,[object Object]
AIR: HELLO, WORLD! <application xmlns=&quot;http://ns.adobe.com/air/application/1.5&quot;> <id>test.html.HelloWorld</id> <version>0.1</version> <filename>HelloWorld</filename> <initialWindow> <content>HelloWorld.html</content> <visible>true</visible> <width>400</width> <height>200</height> </initialWindow> </application> < html> <head> <title>Hello, World!</title> </head> <body> <b>Hello, World!</b> </body> </html>
ПЕРЕВАГИ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Flex  HTML5
НЕДОЛІКИ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Flex  HTML5
ДЯКУЄМО ЗА УВАГУ! Артем Карявка http://artem.kariavka.info [email_address] @kariavka Андрій Данилюк http://dnlk.net [email_address] @stdbkr

More Related Content

Viewers also liked

Cessione del quinto dello stipendio
Cessione del quinto dello stipendioCessione del quinto dello stipendio
Cessione del quinto dello stipendioPrestitia
 
Prestiti pensionati
Prestiti pensionatiPrestiti pensionati
Prestiti pensionatiPrestitia
 
Prestiti dipendenti pubblici
Prestiti dipendenti pubbliciPrestiti dipendenti pubblici
Prestiti dipendenti pubbliciPrestitia
 
Cessione del quinto
Cessione del quintoCessione del quinto
Cessione del quintoPrestitia
 
Prestiti online
Prestiti onlinePrestiti online
Prestiti onlinePrestitia
 
Shiny new things or bells and whistles
Shiny new things or bells and whistles Shiny new things or bells and whistles
Shiny new things or bells and whistles Hannah Morgan
 
Networking Purposefully
Networking PurposefullyNetworking Purposefully
Networking PurposefullyHannah Morgan
 
Bullet proofing your career online 41812
Bullet proofing your career online 41812Bullet proofing your career online 41812
Bullet proofing your career online 41812Hannah Morgan
 

Viewers also liked (9)

Cessione del quinto dello stipendio
Cessione del quinto dello stipendioCessione del quinto dello stipendio
Cessione del quinto dello stipendio
 
Prestiti pensionati
Prestiti pensionatiPrestiti pensionati
Prestiti pensionati
 
Prestiti dipendenti pubblici
Prestiti dipendenti pubbliciPrestiti dipendenti pubblici
Prestiti dipendenti pubblici
 
Cessione del quinto
Cessione del quintoCessione del quinto
Cessione del quinto
 
Prestiti online
Prestiti onlinePrestiti online
Prestiti online
 
Shiny new things or bells and whistles
Shiny new things or bells and whistles Shiny new things or bells and whistles
Shiny new things or bells and whistles
 
Networking Purposefully
Networking PurposefullyNetworking Purposefully
Networking Purposefully
 
Bullet proofing your career online 41812
Bullet proofing your career online 41812Bullet proofing your career online 41812
Bullet proofing your career online 41812
 
Is this negotiable
Is this negotiableIs this negotiable
Is this negotiable
 

Similar to Flex 4 чи Html 5

10 asp.net
10 asp.net 10 asp.net
10 asp.net eleksdev
 
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in production
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in productionJS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in production
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in productionJSFestUA
 
Роман Савіцький, "Webcomponents & lit-element in production."
Роман Савіцький, "Webcomponents & lit-element in production."Роман Савіцький, "Webcomponents & lit-element in production."
Роман Савіцький, "Webcomponents & lit-element in production."Sigma Software
 
Grok web application framework
Grok web application frameworkGrok web application framework
Grok web application frameworkQuintagroup
 
iPhone Objective-C Development (ukr) (2009)
iPhone Objective-C Development (ukr) (2009)iPhone Objective-C Development (ukr) (2009)
iPhone Objective-C Development (ukr) (2009)Anatoliy Okhotnikov
 
Порівняння Drupal та Typo3
Порівняння Drupal та Typo3Порівняння Drupal та Typo3
Порівняння Drupal та Typo3Drupal Camp Kyiv
 
порівняння Drupal та Typo3
порівняння Drupal та Typo3порівняння Drupal та Typo3
порівняння Drupal та Typo3Inna Tuyeva
 
Using Metatags in Flex Developing
Using Metatags in Flex DevelopingUsing Metatags in Flex Developing
Using Metatags in Flex DevelopingRoman Shuper
 
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Oleg Nazarevych
 
Cloud connected mobile apps
Cloud connected mobile apps Cloud connected mobile apps
Cloud connected mobile apps Dimko Zhluktenko
 
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...lisovvolod
 
Joomla 3. Що нового для розробників у новій версії - Віталій Маренков
Joomla 3. Що нового для розробників у новій версії - Віталій МаренковJoomla 3. Що нового для розробників у новій версії - Віталій Маренков
Joomla 3. Що нового для розробників у новій версії - Віталій МаренковIgor Bronovskyy
 
Корнілов Андрій
Корнілов АндрійКорнілов Андрій
Корнілов АндрійOleg Nazarevych
 
Caliburn Micro Overview
Caliburn Micro OverviewCaliburn Micro Overview
Caliburn Micro OverviewKiev ALT.NET
 

Similar to Flex 4 чи Html 5 (20)

Html5
Html5Html5
Html5
 
10 asp.net
10 asp.net 10 asp.net
10 asp.net
 
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in production
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in productionJS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in production
JS Fest 2019/Autumn. Роман Савіцький. Webcomponents & lit-element in production
 
Роман Савіцький, "Webcomponents & lit-element in production."
Роман Савіцький, "Webcomponents & lit-element in production."Роман Савіцький, "Webcomponents & lit-element in production."
Роман Савіцький, "Webcomponents & lit-element in production."
 
ASP.Net basics
ASP.Net basics ASP.Net basics
ASP.Net basics
 
Html5 - ready yet?(ukr)
Html5 - ready yet?(ukr)Html5 - ready yet?(ukr)
Html5 - ready yet?(ukr)
 
Grok web application framework
Grok web application frameworkGrok web application framework
Grok web application framework
 
iPhone Objective-C Development (ukr) (2009)
iPhone Objective-C Development (ukr) (2009)iPhone Objective-C Development (ukr) (2009)
iPhone Objective-C Development (ukr) (2009)
 
л пр№4
л пр№4л пр№4
л пр№4
 
Facebook - Vershynin
Facebook - VershyninFacebook - Vershynin
Facebook - Vershynin
 
Порівняння Drupal та Typo3
Порівняння Drupal та Typo3Порівняння Drupal та Typo3
Порівняння Drupal та Typo3
 
порівняння Drupal та Typo3
порівняння Drupal та Typo3порівняння Drupal та Typo3
порівняння Drupal та Typo3
 
Using Metatags in Flex Developing
Using Metatags in Flex DevelopingUsing Metatags in Flex Developing
Using Metatags in Flex Developing
 
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.Тема 12 - Ініціатива відкритих форматів. XML та метадані.
Тема 12 - Ініціатива відкритих форматів. XML та метадані.
 
Cloud connected mobile apps
Cloud connected mobile apps Cloud connected mobile apps
Cloud connected mobile apps
 
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML.  Форматуванн...
Module_01.pdf (Модуль 1. Вступ до вебтехнологій. Структура HTML. Форматуванн...
 
Joomla 3. Що нового для розробників у новій версії - Віталій Маренков
Joomla 3. Що нового для розробників у новій версії - Віталій МаренковJoomla 3. Що нового для розробників у новій версії - Віталій Маренков
Joomla 3. Що нового для розробників у новій версії - Віталій Маренков
 
Корнілов Андрій
Корнілов АндрійКорнілов Андрій
Корнілов Андрій
 
ASP.Net MVC
ASP.Net MVCASP.Net MVC
ASP.Net MVC
 
Caliburn Micro Overview
Caliburn Micro OverviewCaliburn Micro Overview
Caliburn Micro Overview
 

Flex 4 чи Html 5

  • 1. FLEX 4 ЧИ HTML 5? Андрій Данилюк Артем Карявка
  • 2. ВАМ СОРОЧКУ ЧИ ФУТБОЛКУ? FLEX HTML
  • 3.
  • 4. FLEX Flex 4 2010 ActionScript 3.0 Flash Player ActionScript 1.0 ActionScript 2.0 Flex 1.0 1997 2000 2003 2004 Flex 3.0 2006 Flex 2.0 Flex 4 2007 <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; > <mx:Panel title=&quot;My Application&quot; > <mx:Label text=&quot;Hello World!&quot;/> </mx:Panel> </mx:Application>
  • 5. HTML HTML 1.0 HTML 2.0 HTML 3.2 HTML 4.0 HTML5 1991 1995 1997 XHTML 1.0 <!DOCTYPE HTML> <html> <head><title>HTML 5</title></head> <body>Hello World!</body> </html> 1999 HTML 4.1 2022? 2000
  • 7. ПІДТРИМКА HTML 5 (МУЛЬТИМЕДІА) Відео Theora Так Так Так Ні H.264 Так Ні Ні Ні Аудіо Vorbis Так Так Так Ні MP3 Так Ні Ні Ні WAV Ні Так Так Ні AAC Так Ні Ні Ні
  • 8. ПІДТРИМКА HTML 5 ( API ) Local Storage 3.0 3.5 10.5 8.0 Web Workers 3.0 3.5 Ні Ні Web Database 4.0 Ні 10.5 Ні Geolocation API 5.0 3.5 Ні Ні Web Sockets API 4.0 Ні Ні Ні SVG 1.1 1.0 Так 9.5 9.0 MathML Ні 1.5 Ні Ні WebGL 5.0 3.7 Ні Ні File API 5.0 3.6 Ні Ні
  • 9.
  • 10. ПРИКЛАД НОВ ОЇ АРХІТЕКТУРИ <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;     layout=&quot;absolute&quot; width=&quot;400&quot; height=&quot;300&quot;>         <mx:states>         <mx:State name=&quot;State2&quot;>             <mx:SetProperty target=&quot;{button1}&quot;                 name=&quot;label&quot; value=&quot;Big&quot;/>             <mx:SetProperty target=&quot;{button1}&quot;                 name=&quot;width&quot; value=&quot;200&quot;/>             <mx:SetProperty target=&quot;{button1}&quot;                 name=&quot;height&quot; value=&quot;200&quot;/>             <mx:SetEventHandler target=&quot;{button1}&quot;                 name=&quot;click&quot; handler=&quot;currentState=''&quot;/>             <mx:AddChild relativeTo=&quot;{vbox1}&quot;                 position=&quot;lastChild&quot;>                 <mx:Label text=&quot;State 2 Only&quot;                     width=&quot;100%&quot;                     textAlign=&quot;center&quot;/>             </mx:AddChild>         </mx:State>     </mx:states>         <mx:VBox verticalCenter=&quot;0&quot;             horizontalCenter=&quot;0&quot;  id=&quot;vbox1&quot;>         <mx:Button label=&quot;Small&quot;             click=&quot;currentState='State2'&quot;             id=&quot;button1&quot;/>          </mx:VBox> </mx:Application> <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;     xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;     xmlns:mx=&quot;library://ns.adobe.com/flex/halo&quot;     width=&quot;400&quot; height=&quot;300&quot;>         <s:states>         <s:State name=&quot;State1&quot;/>         <s:State name=&quot;State2&quot;/>     </s:states>     <mx:VBox verticalCenter=&quot;0&quot;         horizontalCenter=&quot;0&quot; >             <s:Button label.State1=&quot;Small&quot;             width.State2=&quot;200&quot;             height.State2=&quot;200&quot;             label.State2=&quot;BIG&quot;             click.State1=&quot;currentState='State2'&quot;             click.State2=&quot;currentState='State1'&quot;/>                     <mx:Label includeIn=&quot;State2&quot;             width=&quot;100%&quot;             text=&quot;State 2 Only&quot;             textAlign=&quot;center&quot;/>                 </mx:VBox>     </s:Application>
  • 11.
  • 12. ПРИКЛАД НОВОЇ РОЗМІТКИ HTML5 З новими теґами ( section , article , aside , header , footer ) розмітка сторінки відбувається більш логічно, а семантична направленість такої розмітки у майбутньому покращить пошукову оптимізацію
  • 13. КОРИСТУВАЦЬКИЙ ІНТЕРФЕЙС (ВІДЖЕТИ) Flex HTML5 <datagrid></datagrid> <menu></menu> mx.controls.* HDividedBox TabNavigator Tree MenuBar DataGrid
  • 14. ФОРМИ Flex HTML5 mx.controls.ColorPicker, mx.controls.DateChooser input type=“list”, =“range”, =“date” input type=“email”, =“url” checkValidity mx.validators.PhoneNumberValidator formIsValid
  • 15. ВЕКТОРНА ГРАФІКА Flex HTML5 flash.display.Graphics <canvas></canvas>
  • 16. ТРИВИМІРНА ГРАФІКА Flex HTML5 flash.geom.Matrix3D PaperVision3D, Alternativa3D … canvas.getContext(‘3d’)
  • 17. РОБОТА З БІТМАП Flex HTML5 canvas.getImageData,setImageData,drawImage flash.filters.* mx.effects.* flash.geom.ColorTransform flash.display.BitmapData
  • 18. ВІДЕО Flex HTML5 OGG, MPEG4 Control Format mx.controls.VideoDisplay FLV <video src=“”></video>
  • 19. ПОСТІЙНЕ З’ЄДНАННЯ Flex HTML5 WebSocket flash.net.Socket
  • 20. ДРАГ’Н’ДРОП Flex (AIR) HTML5 DataTransfer, DragEvent flash.desktop.Clipboard flash.events.NativeDragEvent, flash.desktop.TransferableData
  • 21. ФАЙЛОВА СИСТЕМА Read Write Flex (AIR) HTML5 input type=“upload” File, FileStream, FileMode localStorage?
  • 22. ІНСТРУМЕНТИ РОЗРОБНИКА Flex HTML5 Flex Builder 3, Flash Builder 4 , Eclipse, Intellij Idea DreamWeaver, HomeSite etc.
  • 23. ІНСТРУМЕНТИ ТЕСТУВАННЯ Unit Flex HTML5 JSUnit ASUnit Selenium, WebDriver, Watir Fluint? Integration
  • 24. СУМІСНІСТЬ З БРАУЗЕРАМИ Flex HTML5 10, 9, 8, 7, 6, 5, …. 3, 2, .. 3, 2, .. 8, 7, 6 , .. 4,3,2,1 .. ?
  • 25.
  • 26. AIR: HELLO, WORLD! <application xmlns=&quot;http://ns.adobe.com/air/application/1.5&quot;> <id>test.html.HelloWorld</id> <version>0.1</version> <filename>HelloWorld</filename> <initialWindow> <content>HelloWorld.html</content> <visible>true</visible> <width>400</width> <height>200</height> </initialWindow> </application> < html> <head> <title>Hello, World!</title> </head> <body> <b>Hello, World!</b> </body> </html>
  • 27.
  • 28.
  • 29. ДЯКУЄМО ЗА УВАГУ! Артем Карявка http://artem.kariavka.info [email_address] @kariavka Андрій Данилюк http://dnlk.net [email_address] @stdbkr