header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Dave
Points:680
Posts:1

Flex vs Javascript HTML Ajax a comparison
Posted On: 10/15/2009 4:45:34 AM

/ Views: 3224




Topic: Comparison between Flex Vs. HTML, Javascript, Ajax

Briefing:What should I use for client side development Flex or HTML, Javascript, Ajax. This question is very common which comes to mind of clients and development companies. I am writing this comparison to highlight the differences, advantages and disadvantages among both the web technologies so that it makes easy for you to decide .


 

Flash/Flex

HTML, Javascript, Ajax

General

Flex framework is component-oriented and event-driven which helps in creating rich user interfaces (HTML was not really created to support application UI scenarios)

Javascript is a programming language

Usage

Flash is predominantly used to build a stateful application that runs completely client side

JavaScript is primarily used for cross-browser portability.

Debugging

Flex has a true debugger and profiler within the Flex Builder IDE. So debugging is far easier

Debugger might not be that helpful for JavaScript. As it involves different browser so a browser debugger might be of limited use.

Scripting

ActionScript is a nice mixture of Java and JavaScript so you get a familiar language with strong support for OOPs.

Javascript has different syntax and execution between browsers due to the nature of JavaScript engines in modern browsers

User friendly

Password manager doesn't work,
Text fields don't remember previous entries.
Browser shortcuts like Ctrl+T and middle-clicking doesn't work,
Ttext search doesn't work etc.

No such issue

Client side Reservations

Clients must have flash installed (might need to install, might not be able to)
Clients must download flex framework (though a few hundred kilobytes)

No such restriction exists for JavaScript

SEO

Flex content is not accessible like other content and is also not indexed by search engines (contrary to what Google might claim).
This not only affects people without flash but also search engine spiders. There may be some hacks to help get around this now, but I think that most flash content will never be indexed by Google.

Search engine friendly

Pricing

Flex is costly $$$

It’s free.



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions