here's a more concrete question...
I have a project that involves a very involved backend
business application, which will be built using Flex2/Builder. The
persistence will be handled by reactor and SQL 2000.
The website for this same company will need to use data
from this same database, but this frontend public website will exist as a
fusebox 5 application, and may need the some of the same assets and certainly
all of the object cfcs created by reactor as well.
So in Eclipse, I anticipate having two actual projects -
the Flex application, and the website. Both of which need to share the
same model/objects.
Given this scenario, how should I lay out my
application? Flex will be calling web services from a web application, and
fusebox will be using the same CFCs as the model. But flex will not be
calling the web services via the fusebox app, correct? Instead, flex will
call the cfc's directly?
Does anyone else here have a similar situation, or has
worked on a similar situaiton in the past?
Peter,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Teddy Payne
Sent: Thursday, September 14, 2006 10:49 AM
To: [email protected]
Subject: Re: [Reactor for CF] CF7/fusebox5/reactor/flex2
You are right. I was not trying to be overly specific on a general question.
Marc,
Well, I would recommend learning how to use the Master/Detail in Flex Builder. The wizard creates a directory structure that will give you some insight.
I have not tried to link Reactor into Flex as yet.
You have to choose what is right for you. Flex vs. Fusebox. Fusebox is more of a procedural programming style where Flex is more event driven, which would be more akin to Model-Glue or Mach-II.
There are advantages with having a SWF over HTML rendering. You know the SWF will look homogenous on browsers that support the Flash Player plugin.
I believe there are pros and cons for both and solutions are viable in each.
Whatever framework you choose, you need to learn the lingua franca and always depend on your CF knowledge to try and keep things as maintainable as possible.
Teddy
On 9/14/06, Marc <[EMAIL PROTECTED]> wrote:so should I not try using fusebox if I am using 100% flex - and instead just call my CFCs directly as web services? What if later i also need to build a "regular" html site using those same cfcs?Aside from the wrapper that delivers the swf file to the user's browser, what would the application directory structure look like for a 100% flex-based app wth a coldfusoin/reactor backend, WITHOUT fusebox?The more I learn, the more confused I get... framework overload!
Fusebox is an HTML framework.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Teddy Payne
Sent: Thursday, September 14, 2006 9:53 AM
To: [email protected]
Subject: Re: [Reactor for CF] CF7/fusebox5/reactor/flex2
Flex is primarily a Flash framework.
The MXML in Flex references the model, which is typically remote objects (CFC, WebServices, XML) and defines the view, so it is an MVC onto itself.
Reactor is essence is the model.
Teddy
On 9/14/06, Marc <[EMAIL PROTECTED] > wrote:A more general question on the use of multiple frameworks at the different
application tiers... The amount of career development going on with me is
beyond words... ;)
I am a newbie to reactor, and also to flex2. I'm curious to know if others
are using FUSEBOX with reactor AND flex2, or if the use of flex2 makes
fusebox kinda unnecessary. What is the best use/layering of these
frameworks? Does flex become the controller and the view, thereby
eliminating the need for the MVC architecture of fusebox? Is reactor simply
the model behind the entire flex application?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
<cf_payne />
Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
<cf_payne />
Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
