Apache Flex - Enterprise ready GUI framework

22
Enterprise ready GUI framework Tomislav Pokrajčić Binaria d.o.o.

description

Presentation on Apache Flex from Java 2012 conference (May 2012, Tuheljske toplice, Croatia). Presenter: Tomislav Pokrajcic

Transcript of Apache Flex - Enterprise ready GUI framework

Page 1: Apache Flex - Enterprise ready GUI framework

Enterprise ready GUI framework

Tomislav PokrajčićBinaria d.o.o.

Page 2: Apache Flex - Enterprise ready GUI framework

Intro

Binaria d.o.o. Building for business, marketing,

entertainment and industry since 2007 Flash/AIR/Flex, Java, PHP, HTML5

Zagreb Flex User Group (www.zgflex.org) 2008

FlasHR (www.flashr.org) 2011

Page 3: Apache Flex - Enterprise ready GUI framework

What is Flex?

Open source GUI framework Easy to build new components

& complex interactivity Fancy performance Superpowers show up on

projects that require GUI beyond standard components

Page 4: Apache Flex - Enterprise ready GUI framework

Brief history

2004 - Macromedia Flex Server 1.0 i 1.5 2006 - Adobe Flex 2 2007 - Adobe Flex 3 (MPL) 2009 - Adobe Flex 3.5 2010 - Adobe Flex 4 2011 - Adobe Flex 4.5 2011 - Adobe Flex 4.6 2012 - Apache Flex 4.8 (4.6 parity

release)

Page 5: Apache Flex - Enterprise ready GUI framework

Runtimes

Flash Player browser plugin (desktop, mobile)

AIR desktop (Windows, Mac, Linux)

AIR mobile (iOS, Android, Blackberry tablet OS, TV)

Page 6: Apache Flex - Enterprise ready GUI framework

Languages

ActionScript3

Page 7: Apache Flex - Enterprise ready GUI framework

Languages

MXML

Page 8: Apache Flex - Enterprise ready GUI framework

Languages

FXG

Page 9: Apache Flex - Enterprise ready GUI framework

Web/deskop components

Page 10: Apache Flex - Enterprise ready GUI framework

Mobile components

Easy and powerful skinningOut of the box

Page 11: Apache Flex - Enterprise ready GUI framework

Examples

Page 12: Apache Flex - Enterprise ready GUI framework

Examples

Page 13: Apache Flex - Enterprise ready GUI framework

Examples

Page 14: Apache Flex - Enterprise ready GUI framework

Examples

Page 15: Apache Flex - Enterprise ready GUI framework

Framework features

Mature and well documented i18n and L10n support Dev process shielded from 99%

of the browser issues

Page 16: Apache Flex - Enterprise ready GUI framework

Development

Strong typing Namespaces support Compile time testing Easy refactoring Code obfuscation Unit testable (FlexUnit)

Page 17: Apache Flex - Enterprise ready GUI framework

Framework features

Powerful internal component lifecycle Invalidation

Events Easy drag n’ drop support Easy data binding Validators, formatters,

transitions, effects

Page 18: Apache Flex - Enterprise ready GUI framework

Connectivity

AMF remoting, WebServices, JSON, ...

Java ORB: BlazeDS, GraniteDS, ...

AS3 Object <-> Java object RPC

HTTP, polling, long polling, streaming

Page 19: Apache Flex - Enterprise ready GUI framework

Flex Ecosystem

350.000 <= Flex developers <= 500.000

Many good IoC / MVC frameworks (Swiz,Parsley,Mate,RobotLegs,...)

Lots of other open source code (maps, graphics, charts, …)

Many commercial components Active community

Page 20: Apache Flex - Enterprise ready GUI framework

Cons

Printing issues from browser Doesn’t work on mobile browsers Flex mobile apps performance not

blazing fast as native “Well, hello, it’s Flash!”

Page 21: Apache Flex - Enterprise ready GUI framework

Current state

Fresh blood / more developers on project

Full open source life Framework detached from corporate

strategy Tools in bloom from other vendors

(Jetbrains, FDT...) Awaiting new compilers (Falcon,

FalconJS)

Page 22: Apache Flex - Enterprise ready GUI framework

More

http://incubator.apache.org/flex flex-dev-

[email protected] www.zgflex.org www.flashr.org

[email protected]