Download presentation
Presentation is loading. Please wait.
1
Cross-Training in Silverlight and Flex Brian Genisio
2
What is Flex? What is Silverlight/WPF? What can we learn by studying both?
3
It Is OK To Be Curious!
4
Take Both Pills!
5
Toolset Overview Silverlight Application XAML/C#/VB.NET/F#/etc Silverlight Application XAML/C#/VB.NET/F#/etc Flex Application MXML/ActionScript Flex Application MXML/ActionScript Silverlight SDK Silverlight SDK Silverlight Runtime Flash Player Flex SDK Flex SDK Managed Code Resources Compiled AS3
6
Runtime Overview Browser Flash Player Silverlight Runtime Desktop Silverlight Out Of Browser Air Player iOS Android Blackberry Windows Phone 7 App 10001010 Air Player Silverlight Runtime Flash Player in Browser Flash/Air Player ? Flash Player in Browser
7
Side-By-Side
8
Declarative Story Flex – MXML – Flex Builder – Catalyst Silverlight XAML Visual Studio Expression Blend
9
Imperative Story Flex – ActionScript 3 – Haxe – C/C++ Alchemy – Converters Java C# Silverlight C# VB.Net F# Ruby Python
10
Primary Language ActionScript 3.0 – Dynamic by default – Static by option – Classes/Interfaces – MetaData Tags – Quazi-Generics – XML Literals C# Static by default Dynamic by option Classes/Interfaces Attributes Lambdas Generics
11
Integrated Development Environments (IDEs) Flash Builder – Designer – Refactoring tools JetBrains IDEA FlashDevelop Tofino Command line Visual Studio Designer Refactoring tools Rich plug-ins Mono Develop Sharp Develop Command line
12
SDKs & Toolkits Flex – Flex SDK – FlexLib – Cairgnorm – Robotlegs – Mockito – FlexUnit – Jasmine-Flex Silverlight Silverlight SDK Silverlight Toolkit Prism MEF Moq Nunit SpecFlow
13
Design Flex – Photoshop – Illustrator – Catalyst – Over-the-wall Silverlight Photoshop Illustrator Expression Blend Tight integration “The more designers are involved in the workflow, the more it looks like the original art” – Bill Wagner –
14
Flex Designer Developer Designer uses Photoshop/Illustrator to create mocks & assets Flex Project New Flex Project Designer uses Catalyst to apply design Designer makes changes using Catalyst Developer imports Flex project and works on it Developer imports Flex project and merges it into existing
15
Silverlight Designer Developer Project XAML, C#, assets Designer uses Expression Blend to apply design Designer uses Photoshop/Illustrator to create mocks & assets Developer uses Visual Studio to apply behavior and architecture
16
Separation Presentation Model View Model View Model
17
Data Binding Flex – Expression-based – [Bindable] – Execute Methods – Formatters Silverlight Declarative INotifyPropertyChanged ICommand Value Converters
18
Testing Flex – FlexUnit – Mockito / ASMocks – FB Runner – Jasmine-Flex Silverlight MSTest / Nunit Moq / Rhino Mocks VS Runner / TD.Net SpecFlow
19
XML Flex – ECMA 4 XML (E4X) – XML Literals – ActionLinq Silverlight LINQ to XML XDocument XML Literals in VB.Net
20
Data Display Flex – DataGroup – List – DropDownList – Item Renderers – Data Grid Silverlight ItemsControl ListBox ComboBox Data Templates Data Grid
21
State Management Flex – Current State – Inline Properties – Transitions Silverlight Visual State Manager (VSM) Visual States State Transitions
22
Mobile Flex – Air for Android – iOS Packager – Blackberry Playbook Silverlight Windows Phone 7
23
Top 5 Things Silverlight is Good At Designer-Developer Workflow Development Tools Language Support Third Party Support Performance (including mobile)
24
Top 5 Things Flex is Good At Data Binding Location, Location, Location Visual State Management Skinning Model Form Validation
25
Flex.org Get it! Try it! Learn it!
26
Questions – http://HouseOfBilz.com http://HouseOfBilz.com – Brian.Genisio@srtsolutions.com Brian.Genisio@srtsolutions.com – Twitter: @BrianGenisio@BrianGenisio Demos: – http://bitbucket.org/briangenisio/crosstraining http://bitbucket.org/briangenisio/crosstraining ActionLinq: – http://bitbucket.org/briangenisio/actionlinq http://bitbucket.org/briangenisio/actionlinq Jasmine-Flex – http://github.com/briangenisio/jasmine-flex
27
Smart People Developing Smart Software. www.srtsolutions.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.