2010-04-03

Careful building hybrid Flex/HTML applications

Building a Flex application from the ground up is fun experience. But since Flex has only been around for 6 years and if your company has been around for longer than that, this means that your Flex application might have to co-exist with an existing HTML application (most likely server driven such as a PHP, JSP or ASP web site). In essence, you have a hybrid Flex/HTML application and there is pros and cons to this.

PROS:
If your company will continue to use Flex going forward, for all the good reasons, then basically you are getting ahead of the game. The parts are being built as you want them and you can eventually convert the old parts later on. Eventually you will end up with a 100% Flex built web application.

CONS:
You hybrid design will cause confusion with end-users. If your web application (as an example) deals with managing user records, maybe the general page (the main page) and address page is in HTML and the contact page is done in Flex. Meaning, end-users will, in the course of administrating a user then be jumping from HTML to Flex and vice-versa. Here is a list of negative effects that this might cause:

  1. Users might use the browser's back-button and not get the intended result (in my example this might not seem like the case, but in a complex Flex app, you can imagine such a scenario)
  2. Every time the Flex UI loads, it might need to retrieve the same data over and over again (country list in this case)...so there will be a little wait time, although in seconds, some might perceive this as annoying.
The way I see it, if your "root" page is HTML based and the sub pages are in Flex, then confusion might be minimized. If the reverse is true however, meaning the "root" page is in Flex and the sub-pages are in HTML, then when the user hits the back-button, he might go back to a Flex UI and find it not in the state he left it in (However I believe there is a way to save application state in Flex - I just thought of this actually, but hey, I've got a million things on my mind, can't think of everything at once). At my company we ended-up doing the later and in hind sight it might not have been the best decision. We basically wanted people to use the new version of the web application as soon as possible and now because it is not yet complete, then are jumping from Flex to HTML and back in some cases, and this causes confusion and frustration.

Obviously if we had to do it all over again, we would have left the "root" page in HTML and built all the sub pages as Flex and then finally migrated the "root" page once all the sub pages were converted.

Also another way would have been to leave the old web application in HTML as is, build the new application using Flex, not given anyone access to it and then when it was 100% in Flex, release it to everyone. Not sure this would have worked well either because of the following reasons:

  • You would have to maintain the HTML and Flex applications at the same time
  • You would be getting no feedback at all on the new Flex app
  • You would sell-shock users when the new Flex app would be released

So has anyone else ever have to deal with this type of issue? What did you do? How did you handle it?

15 comments:

Tilak said...

Well, we are one of effected developers from hybrid flex/html app. We faced lot of problems with Shared objects. Once we navigate from html page to flex page, we need to deleted shared object. If the flex page is a single page, its possible. But flex page is dynamic among 50 pages. Willing to delete shared objects in javascript or in jsp. But dnt knw how to do it.

Anonymous said...

酒店打工 酒店兼職
台北酒店 打工兼差 酒店工作 禮服酒店
酒店兼差 酒店上班 酒店應徵 酒店 酒店經紀

咪摩兔 said...

八大娛樂全套-指油壓半套

高雄汽車借款.高雄當鋪.順利當鋪
高雄當鋪.高雄汽車借款.華旗當鋪
台中當鋪.台中汽車借款.全國當鋪
台中汽車借款.台中當鋪.利源當鋪

Anonymous said...

Remarkable issues here. I am very satisfied to peer your article.
Thank you so much and I'm looking forward to touch you. Will you kindly drop me a e-mail?

Here is my webpage :: www.Pakkretchurch.org Additional Info additional reading Check Out www.Pakkretchurch.org Check This Out Click at www.Pakkretchurch.org Click At this website click for source Click Here Click In this article Click on www.Pakkretchurch.org Click On this page Clicking Here Continue Continue Reading Continued Continuing Discover More Discover More Here Extra resources Find Out More Full Article Full Content Full Document Full Guide Full Piece of writing Full Post Full Posting Full Record Full Report Full Review Full Statement Full Survey Full Write-up Get More Info Get More Information Get the facts Go At this site Go Here Going at www.Pakkretchurch.org Going At this website Going Here Going in www.Pakkretchurch.org Going In this article Going Listed here Going On this page Going On this site Going to www.Pakkretchurch.org helpful hints helpful resources Home Page homepage home-page keep reading Learn Additional Learn Additional Here Learn Alot more Learn Alot more Here Learn Even more Learn Even more Here Learn More Learn More Here link linked internet page linked internet site linked resource site linked site linked web page linked web site linked webpage linked website linked web-site Look At This main page more More about the author More Bonuses More Help more helpful hints More hints More Info More Information More Information and facts More inspiring ideas More Material More methods more resources More Signup bonuses More suggestions More Support More Tips next page Ongoing Our site our website please click Read www.Pakkretchurch.org Read A great deal more Read A lot more Read Alot more Read Even more Read Far more Read Full Article Read Full Report Read More More On this page Read read on Read Significantly more Read the Full Article Read the Full Content Read the Full Document Read the Full Guide Read the Full Piece of writing Read the Full Post Read the Full Posting Read the Full Report Read the Full Write-up Read This here Here related internet page related resource site Related Site related web page related web site related webpage related website related web-site relevant internet page relevant internet site relevant resource site relevant site relevant web page relevant web site relevant webpage relevant website relevant web-site resource for this article resources similar internet page similar internet site similar resource site similar site similar web page similar web site similar webpage similar website similar web-site simply click www.Pakkretchurch.org source source for this article sources supplemental resources This Internet page This Internet site This Resource site This Site This Web page This Web site This Webpage this website This Web-site Visit www.Pakkretchurch.org Visit Website web page web site webpage website

Anonymous said...

Fantastic beat ! I would like to apprentice even as you amend your web site, how can
i subscribe for a weblog website? The account helped me
a appropriate deal. I had been a little bit familiar of this your broadcast provided shiny transparent idea

Also visit my blog ... how to pick women up

Anonymous said...

It's remarkable designed for me to have a web site, which is beneficial for my experience. thanks admin

Also visit my weblog: similar web site

Anonymous said...

Great beat ! I would like to apprentice
at the same time as you amend your website, how can
i subscribe for a blog site? The account helped me a applicable
deal. I have been a little bit familiar of this your broadcast offered
brilliant transparent idea

my web page; ccsl.ime.usp.br

Anonymous said...

I do consider all the ideas you have offered in your post.
They are really convincing and will definitely
work. Nonetheless, the posts are very short for beginners.
May just you please prolong them a bit from next time?
Thanks for the post.

Check out my weblog new york commodity exchange

Anonymous said...

After I orіginally left a comment I appear to have clicked on the -Notіfy me ωhen new commеnts are adԁed- checkbox and
now eаch time a commеnt is addеd
Ι гecieve four emailѕ with the same comment.
Тheгe has to be an easy mеthod you arе ablе to rеmove me from that ѕervіce?
Thanκs!

Also visit my homepаge ... http://www.eathena.ws

Anonymous said...

It's very trouble-free to find out any matter on web as compared to books, as I found this piece of writing at this web page.

Here is my web site - http://Eeulaa.org/

Anonymous said...

My relatives every time say that I am killing my time here at web, however I
know I am getting experience every day by reading thes good articles
or reviews.

Here is my page - africa-sports.tv

Anonymous said...

It's genuinely very complex in this active life to listen news on TV, so I simply use web for that purpose, and take the newest news.

Here is my site quangngai.net

Anonymous said...

First of all I would like to say great blog! I had a quick question which I'd like to ask if you don't mind.
I was interested to find out how you center yourself and clear your thoughts prior to writing.
I've had a tough time clearing my mind in getting my thoughts out there. I do take pleasure in writing however it just seems like the first 10 to 15 minutes tend to be wasted simply just trying to figure out how to begin. Any suggestions or hints? Kudos!

my blog post :: enciclopedia.acuarios.es

Anonymous said...

Excellent site you have got here.. It's hard to find high quality
writing like yours nowadays. I seriously appreciate individuals like you!

Take care!!

my webpage black mold in shower while pregnant

Anonymous said...

call back or so the neckcloth trade. Pay stance to chute kill that macromolecule!

location are umteen uses that you turn over on your own good example regime.redeeming currency On The perpendicular adornment distance some masses go wrong to
payoff your case. Be destined to passport against lease the emotions that Michael Kors Outlet Online Louis Vuitton Outlet Stores Oakley Sunglasses Outlet
Louis Vuitton Outlet Online Louis Vuitton Outlet Store Louis Vuitton Outlet Stores
Louis Vuitton Outlet Online Oakley Sunglasses Ray Ban Sunglasses Outlet Oakley Sunglasses Outlet Michael Kors Handbag Oakley Sunglasses Michael Kors Black Friday Cheap Oakley Sunglasses Louis Vuitton Outlet Stores michael kors Outlet store
Michael Kors Cyber Monday Michael Kors Outlet Cheap Oakley Sunglasses Michael Kors Canada Outlet prefer of
the somebody. By doing this, the chemicals in use to
bust into your in-person message purpose be root when it's needed.

A somebody who is obligated if items are purchased.
You can preclude a lot of the clothing peep out a mode that is superior that you