SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Cross-platform apps
with Adobe AIR
Yes or No?
Lviv Mobile Development Day 2013
Thursday, September 19, 13
Audience
• Decision Makers
• Mobile Developers
Thursday, September 19, 13
Why Adobe AIR?
• Full cross-platform solution
• Web/Desktop/Mobile (iOS/Android/BB)
• Adobe dropped mobile Flash?
• ActionScript developers are still there
Thursday, September 19, 13
Why Adobe AIR?
Conqu
Tablet
Desktop
Phone
Thursday, September 19, 13
Conqu
Why Adobe AIR?
Thursday, September 19, 13
Why Adobe AIR?
Check sheet
Desktop iOS Android
Thursday, September 19, 13
Service Desk (Proof of concept/Alpha)
Tablet
Web
Phone
Why Adobe AIR?
Thursday, September 19, 13
How to deal with UI?
Is Flex UI good?
Flex UI is not Native for most platforms
Runs in Flash Player or AIR Skinning rulez!!!
Thursday, September 19, 13
How to deal with UI?
Is Flex UI good?
Flex UI is Native for BlackBerry
BlackBerry 10 and Palybook OS have AIR runtime built-in
Thursday, September 19, 13
How to deal with UI?
Is Flex UI good?
Flex UI is not Native for OS
(remember BlackBerry?)
• Pros
• Same UI for all platforms
• Less training / support cost for big corporates
• Cons
• UI has to be perfectly designed to be adopted
Thursday, September 19, 13
Specifics of Flex
Requires AIR runtime
•Pros:
• Same codebase for all platforms
• Number of distribution options
•Cons:
• Performance issues, like with any other non-native solution
•Other:
• AIR runtime may be built in with executable
Thursday, September 19, 13
Performance?
• UI is slow
• Collections are common but not fast
• High memory usage (AIR runtime)
Thursday, September 19, 13
Slower than Native in most some cases
Math calculations are faster than native code on iPad!
Example:
f1(x) = 5.4321 * x 2 + 9.8765 * x
f2(x) = 5.4321 * cos(x)
• Results for
1,000,000 cycles:
C++ Builder XE4 C++ (XCode) Java (Eclipse) Flex
Web
Windows/Chrome
5156 ms 6819 ms
iPad2 24950 ms 26062 ms
iPad4 21306 ms 14064 ms
Nexus 7 14395 ms 18345 ms
Performance?
Thursday, September 19, 13
Performance?
Surflex
var sql:Surflex = new Surflex();
sql.CreateTable("Product", "ProductId", Product.generateTestData());
sql.CreateIndex("Product", "CategoryId");
sql.CreateTable("Category", "CategoryId", Category.generateTestData());
sql.CreateTable("Order", "OrderId", Order.generateTestData());
sql.CreateTable("OrderItem", "OrderItemId", OrderItem.generateTestData());
sql.CreateIndex("OrderItem", "ProductId");
sql.CreateIndex("OrderItem", "OrderId");
sql.Insert("Order", new Order(4, "NO 000459", null));
var orderItem:OrderItem = new OrderItem(15, 4, 8, 8, 400);
sql.Insert("OrderItem", orderItem);
orderItem.Price -= 100;
sql.Update("OrderItem", orderItem);
sql.Delete("Order", function(order:Order):Boolean{return order.OrderId == 4;});
sql.CreateTable("Category2", "CategoryId", Category.generateTestData());
var result:Array;
result = sql.Select("SELECT Category.Name AS Category, Product.Name AS Product,
OrderItem.Quantity AS Quantity"
        + ", OrderItem.Price AS Price, Category2.* AS Mistake"
        + " FROM Category"
        + " INNER JOIN Product ON Category.CategoryId = Product.CategoryId"
        + " INNER JOIN OrderItem ON Product.ProductId = OrderItem.ProductId"
        + " INNER JOIN Order ON OrderItem.OrderId = Order.OrderId"
        + " LEFT JOIN Category2 ON Product.ProductId = Category2.CategoryId"
        + " WHERE Product, Order"
        + " ORDER BY Category ASC, Product DESC", new <Function>[
                function(product:Product):Boolean{return product.Status;},
                function(order:Order):Boolean{return order.OrderId == 2;}
        ]);
Data: 7 collections of 1-100K items each. 
Goal: find items based on some criteria.
Standard for loops: 4000 ms
Surflex query: 650 ms
Thursday, September 19, 13
Performance?
Collections
• Use proper Collections
Thursday, September 19, 13
Performance?
Other ways to improve
• Control memory usage with Profiler
• Use proper Collections: Array & Vector vs ArrayCollection
• Use optimized search algorithms (e.g. binary search) to find item
instead of “brute force” for each
• Surflex does its job
• Match class definitions when loading from server
• Read performance tuning tips / best practices
Thursday, September 19, 13
How to get data?
Backend?
• ADEP (Adobe Digital Enterprise Platform) /
LiveCycle ES4
• Data access with no line of Java code
• Expensive
• BlazeDS
• Java backend
• Free (reduced ADEP)
• Web services
• XML/AMF (FluorineFx)
Thursday, September 19, 13
Q/A
Thursday, September 19, 13
Useful links
• Adobe Mobile Development: http://www.adobe.com/devnet/devices/mobile-apps.html
• Adobe AIR Developer Center: http://www.adobe.com/devnet/air.html
• Tour de Flex: http://www.adobe.com/devnet-archive/flex/tourdeflex/
• Surflex: https://code.google.com/p/surflex/
• ADEP/LiveCycle: http://www.adobe.com/solutions/customer-experience/enterprise-
platform.html
• BlazeDS: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/
• FluorineFx: http://www.fluorinefx.com
• iOS Theme for Flex Mobile: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-
flex-mobile-projects-proof-of-concept.html
• Conqu: http://conqu.com
• 500px: http://500px.com/
Thursday, September 19, 13
About
Ivan Dulnyavka
Contacts:
email: ivand@devcom.com
Skype: id_skype_
in: http://www.linkedin.com/in/idulnyavka
Thursday, September 19, 13

Weitere ähnliche Inhalte

Andere mochten auch

101 MARAVILHAS DE DEUS - VOLUME II
101 MARAVILHAS DE DEUS - VOLUME II101 MARAVILHAS DE DEUS - VOLUME II
101 MARAVILHAS DE DEUS - VOLUME IIESCRIBAVALDEMIR
 
lifestyle modifications-a broad thinking
lifestyle modifications-a broad thinkinglifestyle modifications-a broad thinking
lifestyle modifications-a broad thinkingbasil0005
 
Educación y derechos humanos texto para la presentación
Educación y derechos humanos texto para la presentaciónEducación y derechos humanos texto para la presentación
Educación y derechos humanos texto para la presentaciónMiguel Morales
 
Standards of Medical Care in Diabetes 2016
Standards of Medical Care in Diabetes 2016Standards of Medical Care in Diabetes 2016
Standards of Medical Care in Diabetes 2016Utai Sukviwatsirikul
 

Andere mochten auch (6)

101 MARAVILHAS DE DEUS - VOLUME II
101 MARAVILHAS DE DEUS - VOLUME II101 MARAVILHAS DE DEUS - VOLUME II
101 MARAVILHAS DE DEUS - VOLUME II
 
lifestyle modifications-a broad thinking
lifestyle modifications-a broad thinkinglifestyle modifications-a broad thinking
lifestyle modifications-a broad thinking
 
Educación y derechos humanos texto para la presentación
Educación y derechos humanos texto para la presentaciónEducación y derechos humanos texto para la presentación
Educación y derechos humanos texto para la presentación
 
Ada In 2017
Ada In 2017Ada In 2017
Ada In 2017
 
Standards of Medical Care in Diabetes 2016
Standards of Medical Care in Diabetes 2016Standards of Medical Care in Diabetes 2016
Standards of Medical Care in Diabetes 2016
 
20 666_t
 20 666_t 20 666_t
20 666_t
 

Mehr von Lviv Startup Club

Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Lviv Startup Club
 
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)Anna Kompanets: PMO Maturity and Continuous Improvement (UA)
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)Lviv Startup Club
 
Natalia Folgina: General state of IT talent market (UA)
Natalia Folgina: General state of IT talent market (UA)Natalia Folgina: General state of IT talent market (UA)
Natalia Folgina: General state of IT talent market (UA)Lviv Startup Club
 
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)Lviv Startup Club
 
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...Lviv Startup Club
 
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...Lviv Startup Club
 
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)Lviv Startup Club
 
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...Lviv Startup Club
 
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...Lviv Startup Club
 
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...Lviv Startup Club
 
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)Lviv Startup Club
 
Serhii Herasymov: Boost sales through Accelerators (UA)
Serhii Herasymov: Boost sales through Accelerators (UA)Serhii Herasymov: Boost sales through Accelerators (UA)
Serhii Herasymov: Boost sales through Accelerators (UA)Lviv Startup Club
 
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)Lviv Startup Club
 
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...Lviv Startup Club
 
Maksym Vyshnivetskyi: PMO KPIs ( UA ).
Maksym  Vyshnivetskyi:  PMO KPIs ( UA ).Maksym  Vyshnivetskyi:  PMO KPIs ( UA ).
Maksym Vyshnivetskyi: PMO KPIs ( UA ).Lviv Startup Club
 
Nataliia Bichan: PMO Quality Management (UA)
Nataliia Bichan: PMO Quality Management (UA)Nataliia Bichan: PMO Quality Management (UA)
Nataliia Bichan: PMO Quality Management (UA)Lviv Startup Club
 
Ihor Pavlenko: PMO Risk Management (UA )
Ihor Pavlenko: PMO Risk Management (UA )Ihor Pavlenko: PMO Risk Management (UA )
Ihor Pavlenko: PMO Risk Management (UA )Lviv Startup Club
 
Denis Shemyakin: Communication and Stakeholder Engagement (UA)
Denis Shemyakin: Communication and Stakeholder Engagement (UA)Denis Shemyakin: Communication and Stakeholder Engagement (UA)
Denis Shemyakin: Communication and Stakeholder Engagement (UA)Lviv Startup Club
 
Yuliia Pieskova: Cуперсили українських команд (UA)
Yuliia Pieskova: Cуперсили українських команд (UA)Yuliia Pieskova: Cуперсили українських команд (UA)
Yuliia Pieskova: Cуперсили українських команд (UA)Lviv Startup Club
 
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...Lviv Startup Club
 

Mehr von Lviv Startup Club (20)

Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)Michael Vidyakin: Introduction to PMO (UA)
Michael Vidyakin: Introduction to PMO (UA)
 
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)Anna Kompanets: PMO Maturity and Continuous Improvement (UA)
Anna Kompanets: PMO Maturity and Continuous Improvement (UA)
 
Natalia Folgina: General state of IT talent market (UA)
Natalia Folgina: General state of IT talent market (UA)Natalia Folgina: General state of IT talent market (UA)
Natalia Folgina: General state of IT talent market (UA)
 
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)
Andrii Burlutskyi: Емпатія та AI: секрет сучасного demand generation (UA)
 
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...
Maxim Pоchebut: Symphony of leadership: bridging the business and learning go...
 
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...
Kateryna Doroshevska: Побудова довіри та впізнаванності через персональний бр...
 
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)
Maryna Ruban: ТОП фішок, які використовують в IT у 2024 році (UA)
 
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...
Eldar Nagorniy: Стратегія хамелеона. Як просувати ІТ outsource, мімікруючи пі...
 
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...
Danylo Fedirko: Leveraging AI in SEO and optimizing for SRE (ChatGPT and Bard...
 
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...
Mykyta Polatayko: Головні новації законопроєкту про посилення мобілізації для...
 
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)
Daria Yaniieva: Corporate VC: driving Product and Service business synergy (UA)
 
Serhii Herasymov: Boost sales through Accelerators (UA)
Serhii Herasymov: Boost sales through Accelerators (UA)Serhii Herasymov: Boost sales through Accelerators (UA)
Serhii Herasymov: Boost sales through Accelerators (UA)
 
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)
Taras Bachynskyy: Як масштабувати ІТ компанію через M&A (UA)
 
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...
Ivan Verkalets: The Relevance of ISO 9001 & 27001 for Outsourcing Excellence ...
 
Maksym Vyshnivetskyi: PMO KPIs ( UA ).
Maksym  Vyshnivetskyi:  PMO KPIs ( UA ).Maksym  Vyshnivetskyi:  PMO KPIs ( UA ).
Maksym Vyshnivetskyi: PMO KPIs ( UA ).
 
Nataliia Bichan: PMO Quality Management (UA)
Nataliia Bichan: PMO Quality Management (UA)Nataliia Bichan: PMO Quality Management (UA)
Nataliia Bichan: PMO Quality Management (UA)
 
Ihor Pavlenko: PMO Risk Management (UA )
Ihor Pavlenko: PMO Risk Management (UA )Ihor Pavlenko: PMO Risk Management (UA )
Ihor Pavlenko: PMO Risk Management (UA )
 
Denis Shemyakin: Communication and Stakeholder Engagement (UA)
Denis Shemyakin: Communication and Stakeholder Engagement (UA)Denis Shemyakin: Communication and Stakeholder Engagement (UA)
Denis Shemyakin: Communication and Stakeholder Engagement (UA)
 
Yuliia Pieskova: Cуперсили українських команд (UA)
Yuliia Pieskova: Cуперсили українських команд (UA)Yuliia Pieskova: Cуперсили українських команд (UA)
Yuliia Pieskova: Cуперсили українських команд (UA)
 
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...
Jane Bodrichenko: Еволюція No-Code та Low-Code: Вплив на ІТ-галузь та Роль Пр...
 

Kürzlich hochgeladen

Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Winbusinessin
 
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for Business
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for BusinessQ2 2024 APCO Geopolitical Radar - The Global Operating Environment for Business
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for BusinessAPCO
 
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003believeminhh
 
Upgrade Your Banking Experience with Advanced Core Banking Applications
Upgrade Your Banking Experience with Advanced Core Banking ApplicationsUpgrade Your Banking Experience with Advanced Core Banking Applications
Upgrade Your Banking Experience with Advanced Core Banking ApplicationsIntellect Design Arena Ltd
 
MoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor PresentationMoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor Presentationbaron83
 
Team B Mind Map for Organizational Chg..
Team B Mind Map for Organizational Chg..Team B Mind Map for Organizational Chg..
Team B Mind Map for Organizational Chg..dlewis191
 
Mihir Menda - Member of Supervisory Board at RMZ
Mihir Menda - Member of Supervisory Board at RMZMihir Menda - Member of Supervisory Board at RMZ
Mihir Menda - Member of Supervisory Board at RMZKanakChauhan5
 
7movierulz.uk
7movierulz.uk7movierulz.uk
7movierulz.ukaroemirsr
 
Intellectual Property Licensing Examples
Intellectual Property Licensing ExamplesIntellectual Property Licensing Examples
Intellectual Property Licensing Examplesamberjiles31
 
Fabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsFabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsWristbands Ireland
 
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISING
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISINGUNLEASHING THE POWER OF PROGRAMMATIC ADVERTISING
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISINGlokeshwarmaha
 
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...TalentView
 
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfPDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfHajeJanKamps
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access
 
Live-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarLive-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarNathanielSchmuck
 
PDT 88 - 4 million seed - Seed - Protecto.pdf
PDT 88 - 4 million seed - Seed - Protecto.pdfPDT 88 - 4 million seed - Seed - Protecto.pdf
PDT 88 - 4 million seed - Seed - Protecto.pdfHajeJanKamps
 
A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.mcshagufta46
 
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...IMARC Group
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access
 
Entrepreneurship & organisations: influences and organizations
Entrepreneurship & organisations: influences and organizationsEntrepreneurship & organisations: influences and organizations
Entrepreneurship & organisations: influences and organizationsP&CO
 

Kürzlich hochgeladen (20)

Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024Ethical stalking by Mark Williams. UpliftLive 2024
Ethical stalking by Mark Williams. UpliftLive 2024
 
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for Business
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for BusinessQ2 2024 APCO Geopolitical Radar - The Global Operating Environment for Business
Q2 2024 APCO Geopolitical Radar - The Global Operating Environment for Business
 
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
The Vietnam Believer Newsletter_MARCH 25, 2024_EN_Vol. 003
 
Upgrade Your Banking Experience with Advanced Core Banking Applications
Upgrade Your Banking Experience with Advanced Core Banking ApplicationsUpgrade Your Banking Experience with Advanced Core Banking Applications
Upgrade Your Banking Experience with Advanced Core Banking Applications
 
MoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor PresentationMoneyBridge Pitch Deck - Investor Presentation
MoneyBridge Pitch Deck - Investor Presentation
 
Team B Mind Map for Organizational Chg..
Team B Mind Map for Organizational Chg..Team B Mind Map for Organizational Chg..
Team B Mind Map for Organizational Chg..
 
Mihir Menda - Member of Supervisory Board at RMZ
Mihir Menda - Member of Supervisory Board at RMZMihir Menda - Member of Supervisory Board at RMZ
Mihir Menda - Member of Supervisory Board at RMZ
 
7movierulz.uk
7movierulz.uk7movierulz.uk
7movierulz.uk
 
Intellectual Property Licensing Examples
Intellectual Property Licensing ExamplesIntellectual Property Licensing Examples
Intellectual Property Licensing Examples
 
Fabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and FestivalsFabric RFID Wristbands in Ireland for Events and Festivals
Fabric RFID Wristbands in Ireland for Events and Festivals
 
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISING
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISINGUNLEASHING THE POWER OF PROGRAMMATIC ADVERTISING
UNLEASHING THE POWER OF PROGRAMMATIC ADVERTISING
 
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...
TalentView Webinar: Empowering the Modern Workforce_ Redefininig Success from...
 
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdfPDT 89 - $1.4M - Seed - Plantee Innovations.pdf
PDT 89 - $1.4M - Seed - Plantee Innovations.pdf
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024
 
Live-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry WebinarLive-Streaming in the Music Industry Webinar
Live-Streaming in the Music Industry Webinar
 
PDT 88 - 4 million seed - Seed - Protecto.pdf
PDT 88 - 4 million seed - Seed - Protecto.pdfPDT 88 - 4 million seed - Seed - Protecto.pdf
PDT 88 - 4 million seed - Seed - Protecto.pdf
 
A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.A flour, rice and Suji company in Jhang.
A flour, rice and Suji company in Jhang.
 
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...
Boat Trailers Market PPT: Growth, Outlook, Demand, Keyplayer Analysis and Opp...
 
Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024Borderless Access - Global Panel book-unlock 2024
Borderless Access - Global Panel book-unlock 2024
 
Entrepreneurship & organisations: influences and organizations
Entrepreneurship & organisations: influences and organizationsEntrepreneurship & organisations: influences and organizations
Entrepreneurship & organisations: influences and organizations
 

Іван Дульнявка. Крос-платформенна розробка на Adobe air: за і проти?

  • 1. Cross-platform apps with Adobe AIR Yes or No? Lviv Mobile Development Day 2013 Thursday, September 19, 13
  • 2. Audience • Decision Makers • Mobile Developers Thursday, September 19, 13
  • 3. Why Adobe AIR? • Full cross-platform solution • Web/Desktop/Mobile (iOS/Android/BB) • Adobe dropped mobile Flash? • ActionScript developers are still there Thursday, September 19, 13
  • 6. Why Adobe AIR? Check sheet Desktop iOS Android Thursday, September 19, 13
  • 7. Service Desk (Proof of concept/Alpha) Tablet Web Phone Why Adobe AIR? Thursday, September 19, 13
  • 8. How to deal with UI? Is Flex UI good? Flex UI is not Native for most platforms Runs in Flash Player or AIR Skinning rulez!!! Thursday, September 19, 13
  • 9. How to deal with UI? Is Flex UI good? Flex UI is Native for BlackBerry BlackBerry 10 and Palybook OS have AIR runtime built-in Thursday, September 19, 13
  • 10. How to deal with UI? Is Flex UI good? Flex UI is not Native for OS (remember BlackBerry?) • Pros • Same UI for all platforms • Less training / support cost for big corporates • Cons • UI has to be perfectly designed to be adopted Thursday, September 19, 13
  • 11. Specifics of Flex Requires AIR runtime •Pros: • Same codebase for all platforms • Number of distribution options •Cons: • Performance issues, like with any other non-native solution •Other: • AIR runtime may be built in with executable Thursday, September 19, 13
  • 12. Performance? • UI is slow • Collections are common but not fast • High memory usage (AIR runtime) Thursday, September 19, 13
  • 13. Slower than Native in most some cases Math calculations are faster than native code on iPad! Example: f1(x) = 5.4321 * x 2 + 9.8765 * x f2(x) = 5.4321 * cos(x) • Results for 1,000,000 cycles: C++ Builder XE4 C++ (XCode) Java (Eclipse) Flex Web Windows/Chrome 5156 ms 6819 ms iPad2 24950 ms 26062 ms iPad4 21306 ms 14064 ms Nexus 7 14395 ms 18345 ms Performance? Thursday, September 19, 13
  • 14. Performance? Surflex var sql:Surflex = new Surflex(); sql.CreateTable("Product", "ProductId", Product.generateTestData()); sql.CreateIndex("Product", "CategoryId"); sql.CreateTable("Category", "CategoryId", Category.generateTestData()); sql.CreateTable("Order", "OrderId", Order.generateTestData()); sql.CreateTable("OrderItem", "OrderItemId", OrderItem.generateTestData()); sql.CreateIndex("OrderItem", "ProductId"); sql.CreateIndex("OrderItem", "OrderId"); sql.Insert("Order", new Order(4, "NO 000459", null)); var orderItem:OrderItem = new OrderItem(15, 4, 8, 8, 400); sql.Insert("OrderItem", orderItem); orderItem.Price -= 100; sql.Update("OrderItem", orderItem); sql.Delete("Order", function(order:Order):Boolean{return order.OrderId == 4;}); sql.CreateTable("Category2", "CategoryId", Category.generateTestData()); var result:Array; result = sql.Select("SELECT Category.Name AS Category, Product.Name AS Product, OrderItem.Quantity AS Quantity"         + ", OrderItem.Price AS Price, Category2.* AS Mistake"         + " FROM Category"         + " INNER JOIN Product ON Category.CategoryId = Product.CategoryId"         + " INNER JOIN OrderItem ON Product.ProductId = OrderItem.ProductId"         + " INNER JOIN Order ON OrderItem.OrderId = Order.OrderId"         + " LEFT JOIN Category2 ON Product.ProductId = Category2.CategoryId"         + " WHERE Product, Order"         + " ORDER BY Category ASC, Product DESC", new <Function>[                 function(product:Product):Boolean{return product.Status;},                 function(order:Order):Boolean{return order.OrderId == 2;}         ]); Data: 7 collections of 1-100K items each.  Goal: find items based on some criteria. Standard for loops: 4000 ms Surflex query: 650 ms Thursday, September 19, 13
  • 15. Performance? Collections • Use proper Collections Thursday, September 19, 13
  • 16. Performance? Other ways to improve • Control memory usage with Profiler • Use proper Collections: Array & Vector vs ArrayCollection • Use optimized search algorithms (e.g. binary search) to find item instead of “brute force” for each • Surflex does its job • Match class definitions when loading from server • Read performance tuning tips / best practices Thursday, September 19, 13
  • 17. How to get data? Backend? • ADEP (Adobe Digital Enterprise Platform) / LiveCycle ES4 • Data access with no line of Java code • Expensive • BlazeDS • Java backend • Free (reduced ADEP) • Web services • XML/AMF (FluorineFx) Thursday, September 19, 13
  • 19. Useful links • Adobe Mobile Development: http://www.adobe.com/devnet/devices/mobile-apps.html • Adobe AIR Developer Center: http://www.adobe.com/devnet/air.html • Tour de Flex: http://www.adobe.com/devnet-archive/flex/tourdeflex/ • Surflex: https://code.google.com/p/surflex/ • ADEP/LiveCycle: http://www.adobe.com/solutions/customer-experience/enterprise- platform.html • BlazeDS: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/ • FluorineFx: http://www.fluorinefx.com • iOS Theme for Flex Mobile: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for- flex-mobile-projects-proof-of-concept.html • Conqu: http://conqu.com • 500px: http://500px.com/ Thursday, September 19, 13
  • 20. About Ivan Dulnyavka Contacts: email: ivand@devcom.com Skype: id_skype_ in: http://www.linkedin.com/in/idulnyavka Thursday, September 19, 13