Show me the data
Data not available on the client is requested via web services from any type of server, including Linux or Windows, running Apache or IIS, and with PHP or Java or any other language processing the request. Usually however, a site that deploys a Silverlight app will have servers running .NET. This is what I meant by elegance above – it only makes sense to use the same languages and technologies at all tiers – and that’s one of the benefits Silverlight brings to the table. When you’re using Flex you still need something else on the back-end to process requests for data – your resources (you, your staff) must have knowledge of other technologies.
Connectivity from Flex to MV seems to be dirt-simple and I can easily see someone using Flex with or without FlexBuilder to create a rich front-end to an MV app. Heck, you can write and deploy a Flex app entirely from TCL and your MV editor if you’re really a masochist. The connection from client to server would be via common web services, using any OS or technology for a middle-tier or DBMS. How do you create a web service? I’ve written extensively about this (see Spectrum articles) here in this blog and elsewhere, and even provide a video to show you how. You can also find information at PickWiki.
Which is better, Flex or Silverlight?
I won’t touch that one. However, if given a choice, for MV people I think the best bet would be with Flex for now. This is for the following reasons:
Flex answers a lot of the questions I hear about support for different browsers, deployment outside of the intranet, choice of web server, and choice of operating systems on both servers and browser. And despite the fact that you can write and deploy a .NET solution completely for free, people still believe there are hidden costs somewhere – the only cost for Flex that I’m aware of is the $300 for the FB3 IDE.
Comparison with products in MV market
I won’t name specific products, but I think you can see some obvious advantages here to products in our market.
How tough a decision is that?
Connecting dots
OK, let’s say you download FlexBuilder 3. (450MB ouch) Go through some tutorials, have a look at some books in your local bookstore. Get a feel for how the thing works. The goal is to get into a mode where you can easily create SWF files that render in your browser. I did this in about an hour after looking at some basic web sites – YMMV.
After you get various controls on the screen to respond to one another in isolation (button clicks sending data to labels, grids filling with static data, etc) you will want to see your MV data. Look around for ways to connect to MV via a web service. You can do this for free or I can help for a fee. You can use free tools or I can sell you something inexpensive and ready-made to save you a lot of time and grief.
Somewhere before the 60 day trial is over, decide if you want to buy it. If you’d rather not spend $300, you can use your favorite text editor and the free SDK.
The ultimate goal is to look at this tool and decide if you think it’s worth your effort to use it to create a new front-end for your business application software. Will there be some cost? Sure, let’s not kid ourselves. I’m thinking connectivity licenses of some sort to facilitate the effort (compared to writing and maintaining your own connectivity), books, webinars or other training, consulting – and/or just your valuable time. Will it be worth it? Personally I don’t think you can go wrong with a Flex front-end. I’d recommend Silverlight for many of the same reasons but if you’re not compelled by anything above in favor of Silverlight then Flex is probably your solution.
Comments are welcome below. If you’d like to discuss the topic, please feel free to start a new topic on our connectivity forum.
[EDIT: Pricing for Flex is more complex than the general $300 number I used here. You can buy a standard edition for $249 or a full version for $699. They also have discounted upgrade pricing and special offers for students. There are also open source alternatives to FlexBuilder and you can build your own ActionScript editor with Eclipse using plugins. I'm sure I've missed other details and options - the information here should be enough to help kick off your research.]
5 Responses
symeonb
06|Feb|2009 1I for one will be using silverlight in the next 12 months – i already use both asp.net and javascript , tho the javascript is just fairly noddy web page stuff , so silverlight is the natural choice – to be able to code in .net inside the browser is pretty exciting stuff.
Tony Gravagno
06|Feb|2009 2I didn’t mention AIR for running Flex projects on the desktop, nor did I mention that the Silverlight XAML is the same code used for WPF – the .NET 3 thick-client way to create a desktop. These tools are sooo close in design. The choice is probably more a matter of comfort more than anything. Another colleague tells me he won’t ever touch SL. Great. As long as people are adding value and selling their MV apps, I don’t care what they’re using.
RossMorrissey
06|Feb|2009 3The only "problem" I can see with Flex is that it absolutely does not work on phones. "Web" apps can be written to degrade and work where there is no Flash. Of course you can send people different places, but then you’re into maintaining two apps.What I do like is the complete platform independence – Flash is Flash. And you get AIR too…
Tony Gravagno
06|Feb|2009 4The following is fairly recent Ross. It’s really tough to keep up with this stuff.
http://www.adobe.com/devnet/devices/index.html?navID=gettingstarted
http://www.readwriteweb.com/archives/flash_10_for_mobile_devices.php
Related: http://arstechnica.com/software/news/2008/11/adobe-to-close-desktop-mobile-flash-player-gap-with-arm-port.ars Note these mention AIR for mobile as well.
http://www.techcrunch.com/2008/03/17/microsoft-adopts-flash-lite-for-windows-mobile-as-a-stopgap-measure/
http://www.linuxdevices.com/news/NS5010205574.html
Tony Gravagno
06|Feb|2009 5Even given those links, there is a question about just how much can be done with Flash on a mobile device. More important is the question about whether Flex and RIA (business applications) can be deployed over mobile now or in the near future. Note the distinction between Flex and Flash in the blog/article – they both happen to deploy with the Flash plugin, but does Flash-Lite also support Flex? I have no clue. Given the lack of response to my blogs on PDA development I’m not sure how many people are even interested in mobile devices, so I won’t be doing any research on Flash/Mobile unless there is a business case. If someone has verified recent information about related details, please post here or email.
Leave a reply
You must be logged in to post a comment.
Search
Tony on Twitter...
Awesome! Gotta get me one tomorrow! http://t.co/xbpGrGNF INTRODUCING THE WORLD'S FIRST HOME MINI-NUCLEAR GENERATOR from @TigerDirect 2 months ago
Improve your OO coding with refactoring. Just take an hour or so to click through these tips: http://t.co/AghAGEbT 2 months ago
Fascinating blog/discussion on (C#) Enumeration classes to replace Enums, and related pros/cons: http://t.co/O2F5vh3M 2 months ago
@dwolt on snupnow: 1) create effective About page: what is it? 2) (advice given to me) get paying clients first, investors follow. 2 months ago
Archives by Tag
.NET AccuTerm AnzioWin API array avatar BASIC blog BlueFinity Caché CDP charts community correlative D3 dictionary distributed processing e-mail environment Excel Facebook file structure forum FOSS frames Google GPS graphs gravatar GUI images import/export item-id Java jBASE keys lists marketing memory mobile multivalues mv.NET mvBase MVSP mySQL NebulaXChange NebulaXLite NebulaXPlus OpenInsight OpenOffice Open Source Oracle PBX POS Postgres QM QMClient RDBMS relational SaaS SAPI savelist scanners select shell shutdown signature SMS SOA spam Spectrum speech SQL Server TAPI telephony tutorial Twilio U2 U2.NET UniObjects video Visual Studio voice Web Services wordpressCategories
Blogs
Forums
Sites
This Blog
A design creation of Design Disease
Copyright © 2007 - Neblog - is proudly powered by WordPress
InSense 1.0 Theme by Design Disease brought to you by HostGator Web Hosting.