Is Flex for me?
Hello,
We have a large application that does project management,
time sheets and collaboration (calendars, web folders, etc.)
written in Spring and Hibernate and we are looking to move it to a
new UI framework. Flex looks interesting but I have a few questions
and I hope some flex gurus help me out:
1) Size
I noticed that a simple hello world swf file is about 200K.
Should I be concerned about size... since the server could be on
the internet and not necessarily on a local machine. If a person on
the internet is going to face several lag times... say when he
moves from his "View Project Tasks" screen to "My Calendar"... then
flex is not for me.
2) IDE
IDE is not cheap but worth buying for $500. But works only on
Windows... any plans for Linux? I have tried the linux hacks on the
net.. works some times... not enough for writing a serious
application.
2) Remoting.
Flex introduces a new set of issues with its web services
model. Web Services today suck. Nobody can write serious
applications using them... maybe a blog reader or some intranet
apps for fun. I have tried XFire and I couldn't get it to run with
Java generics and it had probems handling my object model (circular
references through getParent(), lazy proxies etc.). I have not
written my object model so that I can dumb it down again.. so that
it works with a web service. What's the point?
The only option being Remote Objects. Now there is a catch.
The open source alternatives have a BIG QUESTION MARK ATTACHED TO
THEM. GDS is 0.2 and looks like a couple of people are working on
it. OpenAMF has no news for the last one year and their
documentation sucks... both of them good for fun but not for real
stuff. I cannot invest time and energy in things that could crash
in the future. I have got burnt once big time... chasing
will-o-the-wisps.
I don't need the advanced features of FDS, just remoting but
FDS is no option because we sell our product and customers install
it thems elves. It would be ridiculous to make them pay for FDS
since our product sells for about 2.5k USD on average... and asking
them to install it on a one CPU machine...is taking them back to
the computer stone age.
My question comes down to whether Flex is meant for "fun" or
"small time" web applications or for some real serious ones and if
the answer is latter, then what are my alternatives? I got quite
excited reading Bruce Eckel's article and was even more excited
reading the components and getting started guide but it seems to me
that I am bound in chains.
Maybe it's not what I think it is and there is a nice path
out there. Can some one show me the light?
Thanks!
Regarding #1: Alot of people see "hello world" as a 200k app,
and figure twice the text would be 400k - it doesn't work that way.
No matter how large or small your application, a certain overhead
is incurred.
I would advise one SWF per application, but that would depend
on your particular situation, business rules, etc.
There is good documentation on the Adobe site, and on the
blogosphere for speeding up apps - it comes down to good coding
practices (just like in any language).
Also, you can stagger the items that are loaded, and when
they are loaded - all at once, or when needed. Because Flex is
asynchronous (unlike the traditional html web based apps we have
right now), you can load some design items and get the users
attention, while other items are loading in the background.
I don't know about dumbing down web services - depepnding on
whicha language you serve them in, they can be quite complex (I use
ColdFusion). They are public, though, and that may not be what you
want. You can look at the other manners of communication such as
HTTP headers (get, post, etc, look up REST - it's turning out to be
quite popular these days). You can call Java objects, or, if you
are a ColdFusion shop, get a direct link, if you are running
version 7.0.2+
Hope that helped some.
David
Similar Messages
-
Can I "do" Flex for free?
Excuse if I have posted this in the wrong area... I am
looking over all the Flex info and am a bit confused on
a) all the pieces involved to "do" Flex, and
b) what is free and what is going to cost big $$$.
I see there is an express (dumbed-down?) version of the
Eclipse IDE tool which appears to be free. And some components that
are free (for any use?) if they are limited to a single CPU . And I
also see there is a Flex server for $20,000! So if I wanted to
create an internal flex app for my small business, is that possible
for free? What if I wanted to create an app for our
"outward-facing" web site for our clients? and what if I wanted to
create a Flex app for another client for their web site? I guess I
am really asking what kind of $$$ would it cost to Live in Flex,
and if this is more for enterprise budgets and not small shops or
free lance developers.
Thanks!
[Hey Man,
I hear you it can be a bit confusing. So lets break it down a
bit. There are several flex products and each has a couple
versions. So the first one is the Flex 2 SDK. This is freely
available and includes all the framework files and a command line
compiler. This allows you to use notepad or any other text editor
to write your mxml and as code and compile it. This is completly
free on non-restrictice of what you do with the swf you create.
However tools are a big part of any development language so
the next product is Flex Builder 2. Flex Builder (FB) is an IDE
(Integrated Development Environment) that has all sorts of tools
for writing your code including a visual wysiwyg editor for your
flex application. Its has a built in debugger and lots of features.
Flex Builder 2 costs $499.
Both the flex sdk and flex builder allow you to create flex 2
swf applications which you can deploy to as many servers as you
like, they get uploaded just like a swf made in the Flash 8 IDE..
Or heck sell them at your discretion (the swf not the sdk or
flexbuilder ). With both of these you can communicate with a
backend server using RPC (remote procedure call) invocations. These
can be done over http using the httpService, soap using webService,
and AMF using RemoteObject to talk to ColdFusion.
Then next peice of the software puzzle is the Charting
Components. By themselves I think they are around 300 dollars. but
You can also buy them bundled with flex builder and get both
products for (I think) around 50 less than buying them seperate.
The last peice is the Flex Data Services. This is a J2EE
server and allows for exceptional functionality including
messaging, colloaboration, and data syncronization. There is a free
version of this application taht is limited to 1 cpu servers and
100 connections. This product is called FDS Express. Then there is
the full version of this server that costs in the range ow $20,000.
So as you see there are a couple routes you can take to use
Flex for free, but to get the "Enterprise" features and tooling you
will need to shell out a little dow. Depending on what you are
looking for, it could be alot of dow :)
Hope that helps,
simeon -
Is it possible to use Flex for developing RIAs for mobile
browsers?
From what I've read, Flex doesn't seem to be suitable for
creating applications on mobile phones. But I wanted to be sure
that's why raised this question here.Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Adobe - Flex 3:
Flex is a highly productive, free open source framework for
building and maintaining expressive web applications that deploy
consistently on all major
Link:
http://www.adobe.com/products/flex/
Adobe Flex 3 Language Reference:
Frame Alert. This document is designed to be viewed using the
frames feature. If you see this message, you are using a
non-frame-capable web client.
Link:
http://livedocs.adobe.com/flex/3/langref/
Flex.org - Rich Internet Application Development:
Welcome to the new Flex.org. This site aggregates Flex news
from a number of sources, and allows community members to
contribute their own content as well.
Link:
http://flex.org/
Flex 3 - Versioning:
You might encounter some versioning issues when working on
Adobe Flex applications. When compiling, you can choose the version
of the SDK to use and you
Link:
http://livedocs.adobe.com/flex/3/html/versioning_1.html
Adobe Flex - Wikipedia, the free encyclopedia:
Adobe Flex is a collection of technologies released by Adobe
Systems for the development and deployment of cross platform rich
Internet applications based
Link:
http://en.wikipedia.org/wiki/Adobe_Flex
Adobe - Flex Developer Center:
Check out the getting started guide on learn.adobe.com, with
special areas for developers using Flex with PHP, .NET, Java, and
ColdFusion.
Link:
http://www.adobe.com/devnet/flex/
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine. -
Flex for Touch Screen Interfaces
I am evaluating using Flex for the development of a couple of
touch screen kiosk projects. One major issue is the UI elements
like scroll bars. For both these projects, scroll bars are a design
necessity. (For better or for worse) Looking at the class
references it does not seem immediately clear that the scroll bars
can be modified in size. I do see that they can be skinned, but
there is no indication that I can go from the 16 px wide vertical
scroller to one say 48 px wide.
Any thoughts?I believe you can. If you lookup the source code you can
change these constants, create your own libraries and use them. you
will have to learn FLEX beyond evaluating it to prove this out, but
it could be done. It's open source, but you need to check out the
type of license. You may be able to sell it as a proprietary
component. -
I have 2 old sony ericsson units and i am in need of new parts (lcd for k800, ring flex for p1i). can i still order original parts from sony ericsson?
http://cnn.cn/shop/sonyericsson-k800i-c-28_168.html You can order the LCD screen for the K800 from here--I've used them before and their service is excellent.There are also some P1i spares on the same website.As far as I know, SE doesn't actually supply such spares.
-
Should I use flex for my website
Hey, I am having trouble figuring out if I should be using
flex for a site similar to the BBC site:
http://www.bbc.co.uk. I have
started the site in flex but I am running into a lot of problems.
It could be that I am a newbie to Flex, but wanted to make sure if
I should still be going a head with this in Flex. Any advice would
be appreciated.
Thank you,
Vinny"vinny31187" <[email protected]> wrote in
message
news:goaup9$9ta$[email protected]..
> Hey, I am having trouble figuring out if I should be
using flex for a site
> similar to the BBC site:
http://www.bbc.co.uk. I have
started the site in
> flex
> but I am running into a lot of problems. It could be
that I am a newbie to
> Flex, but wanted to make sure if I should still be going
a head with this
> in
> Flex. Any advice would be appreciated.
I would say that if you don't know the answer to that
question, then the
answer is probably no. You need to have a pretty firm
understanding of how
sites like that work under the hood before trying to build
one in Flex. -
Revision: 2903
Author: [email protected]
Date: 2008-08-19 12:09:07 -0700 (Tue, 19 Aug 2008)
Log Message:
Rename flex-for-cf.zip to Flex4_webtier_for_coldfusion.zip per Tom J's request. Build zip after webapps are built so it contains everything it should.
Modified Paths:
flex/sdk/trunk/modules/webtier/build.xml
flex/sdk/trunk/modules/webtier/coldfusion/build.xml -
New book download Foundation Flex for Designers
download < Learning ActionScript 3.0: A Beginner'sGuide
http://www.riabook.cn/en_book/learning_actionscript_3_a_beginners_guide.htm
download <Foundation Flex for Designers>
http://www.riabook.cn/en_book/foundation_flex_for_designers.htmYour best bet is just to go through the Flash Builder help system. It is well written and concise, and you can easily skim topics you already know.
I have 10+ years of programming experience, and I used the help sys to get Flex 2 and Flex 3 ACE certified.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex Training and Support Services -
Could anybody direct me to information about the development
of flex for macintosh? Thanks.Well I have blogged a lot about my working with flex on the
mac (
http://simb.net).
But the quick run down is that due to a bug in java on the
mac, flex builder is not due out for the mac until after the
initial release.
However because the sdk has been made available you can use
any text / xml editor you like to write and compile swf's using
flex on the mac. Because Flex Data Services are just a j2ee server,
you can already use it on the mac. And they do have the Flash 8.5
player for the mac as well.
So with the exception of Flex Builder as an IDE there is
nothing keeping us from developing on our macs -
Hi,
Is that a good idea to use flex for 3D gaming? if yes, please give me some links for resources.I don't think so
-
Set file filters in flex for save, not for browse
How can i set file filters in flex for save, not for browse?
Right now i am using filereferce class for saving purpose but i could
not able to set filter. We can easily do it for browse.You can try to delete [http://kb.mozillazine.org/mimeTypes.rdf mimeTypes.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
* http://kb.mozillazine.org/File_types_and_download_actions#Resetting_download_actions
Create a new profile as a test to check if your current profile is causing the problems.
See:
* [https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile Basic Troubleshooting: Make a new profile]
There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
See:
* http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Hey;
I've heard great stuff about flex but I've never seen it for sale. I've read that it is better for real time programs than flash. I don't know if thats true or not. What does flex offer that flash doesn't and how is the flex language better than the flash language? Or am I totally confused and is flex like an addon to flash??? any guidance would be really appreciated. I'm working on something Object oriented that needs to be in real time so I'm looking for the best program that offers that.I'm pretty new at all thsi stuff too, and all these terms killed me for my first few weeks in this arena, but I've got my feet under me now.
Flex is an opensource SDK provided by Adobe (previously Macromedia). It used to be something they sold, but they opensourced it, Hoorah!!
Flash is the set of APIs that start with flash.*, and you can fully create flash animations with just the standard flash APIs.
Flex comes with a ton of very useful components, features, and functionalities that are built on top of flash. You should definitely download and get familiar with flex.
The flex api's start with mx.*
Flex also provides the ability to compile MXML documents into flash. MXML documents make it very easy to build Flash, full with animations, customizations, etc. in an HTML-like format. Take a look at the component explorer link below and you'll see the MXML generated for the example components. You can copy and paste that MXML (simple looking stuff eh?) and get a working app that you can expand on and play with as you learn.
Here are a few helpful links to get you moving in the right direction:
An interactive list of GUI components available in Flex (Flex isn't limited to just GUI components, but this is a nice place to whet your appetite):
http://examples.adobe.com/flex3/componentexplorer/explorer.html
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html
A good list of Flex links:
http://seantheflexguy.com/blog/2009/02/27/how-do-i-learn-flex/
The documentation available from Adobe is second to none:
http://www.adobe.com/devnet/flex/quickstart.html
http://livedocs.adobe.com/flex/3/html/help.html?content=Part2_DevApps_1.html -
I'm launching a new project and I'm considering using Flex.
I'm hoping you can provide me with some feedback on viability and
perhaps some guidance.
The project would be for building dyanamic, database-driven
websites in the recreation industry and a content management
systems to configure the sites. One code base for multiple,
customized sites. They would share components (weather, map, ads,
etc) and templates to make building them faster and updating them
universal. The site would search inventory, provide for checkout /
purchase, recognize users' account balances, things like that.
If, for instance, we were going to do a website for a golf
course, we would use the content management system to:
1. Add a site to the system
a. Designate the URL
b. Designate style elements
c. Designate header, footer and menu
2. Add a page to the site
a. Choose (or build a new one) a template
b. Add components to the template (prebuilt or freeform
html)
c. Designate its position in the menu
The website would be accessing data through web services.
I'm in the process of writing specifications and I feel a
need to have more information.
1. Is Flex a good choice?
2. Is the model of sites/pages/templates/components
appropriate? Would flex be able to create these based on database
settings? I'm probably not saying that the right way. A site
(abc.com) has a page (Map and Weather) with a template (Template A)
which has 4 forms (Form A across the top, Form B down the left
side, Forms C & D in the center of the page) and components
Header, Menu, Map and Weather assigned to these Forms. All
designated in the database.
3. How should style elements be included? (background color,
font family, etc., etc.)
4. Web services? Is there an advantage to using Cold Fusion?
ASPX? The backend will be MS SQL.
5. Language sensitization issues?
Any help you could provide would be greatly
appreciated.We are introducing a new feature in Flex 2.0.1 that's due out
early next year. The feature is called "Modules" and it was
discussed at this year's MAX 2006. You can read more about it on
Roger Gonzalez's blog:
http://blogs.adobe.com/rgonzalez/
- check the "Modular Applications" articles. I think this will go a
long way to making the reusable parts you are talking about.
Flex does not build things from instructions unless they are
written in ActionScript. We have customers that do create dynamic
interfaces based on data loaded from a database, so it is possible.
But if you have pre-built templates and all you need to do is
change certain aspects at runtime, it should be pretty easy with
Flex. Take a look at the Flex documentation, especially the part
about the Flex framework and how Flex sources are compiled into
SWFs.
You style Flex components using style sheets (CSS files).
This also includes specifying skins for components if you decide to
give something a whole new look.
I'm a bit biased here, but I think using ColdFusion (version
7.0.2) with Flex 2 is very easy. But it depends on your needs,
budget, deployment, etc. WIth CF 7.0.2 and Flex Builder 2 you get
wizards to be build both CFC (ColdFusion components) and matching
ActionScript objects so that you exchange objects, not just data,
between Flex and CF.
WebServices can also be used (with CF, too). This gives you
more choices to the backend. If you have a large amount of data or
it is complex, consider Flex Data Services as that has data
management capabilities.
Flex 2 has localization capabilties. You create a 'resource
bundle' in various languages and build SWFs for each one. When the
end user choses their preference, take them to the page that loads
the appropriate SWF.
HTH -
Hi,
I don't know if anybody will be able to help. I use a company to create software for me. They have been using Flex to create a menu system that runs in the Air application. The software was running fine when using Air 1.5. However, since the update to 2.0 there are now issues with the software.
Are the coding practices of the company I am using wrong? Should they be designing with Air 2.0 in mind?
Obviously i understand that this isn't an issue with Adobe. But I am concerned that this company will not tell me the whole truth and if this would be better solved using legal advice?
I appreciate any help you can give.
Thanks!Hi,
Sorry your running into problems with Voddler. There aren't any known issues with AIR on Danish XP systems. Have you tried contacting Voddler to see what they have to say?
Chris -
How to display rich content with URL in adobe flash builder and flex for mobile apps?
Hi,
In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
Clicking on the URLs automatically opens the respective webpage in Safari.
In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
How to implement the same using adobe and flex?Thanks for your reply, its nice to know its not just me.
the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
the error is always the same (snippet shown below):
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
"__ZN7avmplus8Debugger9debugLineEi", referenced from:
__ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
__ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
cheers
Toby -
Flex for Java Developer?
I am working on flex 1.5 from last 7 months.Ealier i hv
worked on Java (1.5 Yr)
I hv created an application in flex sucessfully.
My Qtn is:
Whether i have to continue with flex or move to another
technologies like Struts etc.
Because i have nil knowlwge of FLASH.
or
I hv to start learning FLASH MX. Is it necessary for
Flex/Java Developer.
I am comfortable with action script if uses for Business
Application but
unable to produce better designs using it.
Please Suggest.
with Regards
Vinaywell vinay if u r thinking about -- Flex Front End to Your
Struts Applications
then ,,
Struts is an open source framework that facilitates the
development of web applications based on Java servlets and other
related technologies. Because it provides a solution to many of the
common problems developers face when building these applications,
Struts has been widely adopted in a large variety of development
efforts, from small projects to large-scale enterprise
applications.
Although Struts greatly facilitates the task of developers,
it doesn't do much to improve the end-user experience: the
end-result is still an application delivered in HTML and using the
traditional HTTP request/response mechanism.
Developers—and organizations in general—are
increasingly looking for solutions to provide their applications
with a more engaging user experience that overcomes the limitations
of HTML.
Macromedia Flex is a presentation server that addresses this
requirement and allows developers to build a new generation of Rich
Internet Applications (RIAs) that combine the usability of desktop
applications with the reach of traditional web applications.
Maybe you are looking for
-
I purchased this app July 5, 2013 and was charged 2 times that day. Now it keeps telling me I have run out uses and i need to renew. It has charged me 4 times on July 20, 3013. The app is a crook, please remove all the charges from my account. Two o
-
I'm new to mac. I haven't used one since the apple II. Here is my problem - I have a HP PCS 1300 printer attached to a pc running windows xp connected via wireless. I set the imac up to print to the pc printer and the print job makes it (no errors on
-
How can i reformat my harddrive using the recovery disk stored in partition drive?
hi guys! i need help. i need to reformat my harddrive and i will do this for the first time. however, i was not ablt to make the recovery disk since i purchased the tx2 1275dx laptop last july 2009. what i have is a recovery disk stored in a partitio
-
How do I create this form?
How is this form created? I thought it was flash but it's not. What is this style of from called & are there any tutorials for this? http://www.plus.approvedprintingcompanies.co.uk/UK/questionnaire6/uk-companies.aspx?gclid= CI_ku7L5850CFU0B4wodDDjIIw
-
Problems Undeploying on Application Server
I am having problems with the "asant undeploy" command because after I try to re-deploy a .war file, I get the error message below in the servers log. I'm guessing the original undeploy was not completed successfully despite what it says at the comma