[flexcoders] Re: Java developers: How do you organize your projects?

2006-08-07 Thread Dave Bobby
Thanks for your input guys. Helps a lot. I discovered something that 
was not covered in this topic.

If you right-click project and choose properties you will see under 
Flex Build Path and option for output folder. Since right now my 
development is under Windows and for a couple of gui developers its 
going to be the same, all you need to do is choose the output folder 
to be under the WebRoot of your app server. 

The way i have done it now.
FlexUI-output folder-c:\project\WebRoot\flex
Where project is my webapp project and so if i want to access my flex 
pages i do
http://localhost:8080/project/flex/main.html.

This solution works in development. I agree that we should keep 
FlexUI and Java backend separate during development, since data 
sources can be WebServices too, no need to tie them unless there is a 
specific need.

Later for deployment I will create an ant or maven build that will 
create the war under cruise control or something.

Thanks again.

Dave.

--- In flexcoders@yahoogroups.com, Franck de 
Bruijn [EMAIL PROTECTED] wrote:

 Hi Dave,
 
  
 
 I use Eclipse WTP with the Flex plugin.
 
  
 
 I develop my Flex application in a single Flex project.
 
  
 
 I then have a dummy Eclipse WTP Dynamic project, which is nothing 
more than
 an empty shell. I have than an ant script copying over all the 
binary files
 from the Flex project to the Dynamic project.
 
  
 
 After that I publish the dynamic web project to Tomcat.
 
  
 
 It's a little bit manual and sounds maybe tedious, but once you 
get the hang
 of it and define some shortcuts, it goes pretty slick and quick. 
You can
 also define a run-command to run your application remotely from 
within
 Eclipse.
 
  
 
 Cheers,
 
 Franck
 
   _  
 
 Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens
 Dave Bobby
 Verzonden: zondag 6 augustus 2006 23:41
 Aan: flexcoders@yahoogroups.com
 Onderwerp: [flexcoders] Java developers: How do you organize your 
projects?
 
 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, 
eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by 
just 
 saying http://localhost:
 http://localhost:8080/project/login.html?user=apass=b
 8080/project/login.html?user=apass=b
 
 .. but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 .. do you have ant builds that create a war with all the files 
copied 
 over?
 
 .. do you separate your flex builder from eclipse or run them 
together 
 as flex (plugin) and java (in eclipse) at one time
 
 .. if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that 
application 
 mxml be in the root of the project and say cairngorm files would 
be 
 in root/com/... 
 
 I need to set this up fast before other developers join the 
project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Java developers: How do you organize your projects?

2006-08-07 Thread Dave Wolf
I am an ANT bigot.  I like going in eclipse to the ant browser,
finding my build and deploy task, and clicking execute. 

We work very hard to have tasks that are as granular as possible to
keep us productive, and then assemble these very granular tasks into
aggregates that can do coarser grained tasks that can build and deploy
and reconfigure running servers.  We even have tasks that build out
the entire server.

It all works quite well with our approach to the process.


-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Franck de Bruijn
[EMAIL PROTECTED] wrote:

 Hi Dave,
 
  
 
 I use Eclipse WTP with the Flex plugin.
 
  
 
 I develop my Flex application in a single Flex project.
 
  
 
 I then have a dummy Eclipse WTP Dynamic project, which is nothing
more than
 an empty shell. I have than an ant script copying over all the
binary files
 from the Flex project to the Dynamic project.
 
  
 
 After that I publish the dynamic web project to Tomcat.
 
  
 
 It's a little bit manual and sounds maybe tedious, but once you get
the hang
 of it and define some shortcuts, it goes pretty slick and quick. You can
 also define a run-command to run your application remotely from within
 Eclipse.
 
  
 
 Cheers,
 
 Franck
 
   _  
 
 Van: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Namens
 Dave Bobby
 Verzonden: zondag 6 augustus 2006 23:41
 Aan: flexcoders@yahoogroups.com
 Onderwerp: [flexcoders] Java developers: How do you organize your
projects?
 
 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by just 
 saying http://localhost:
 http://localhost:8080/project/login.html?user=apass=b
 8080/project/login.html?user=apass=b
 
 .. but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 .. do you have ant builds that create a war with all the files copied 
 over?
 
 .. do you separate your flex builder from eclipse or run them together 
 as flex (plugin) and java (in eclipse) at one time
 
 .. if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that application 
 mxml be in the root of the project and say cairngorm files would be 
 in root/com/... 
 
 I need to set this up fast before other developers join the project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Java developers: How do you organize your projects?

2006-08-06 Thread Dave Wolf
We have a pretty unique approach to developing RIAs that we use here
at Cynergy called LookFirst.  We focus on doing the development
process from front-to-back whereby we develop the user experience,
using it to gather requirements, establish scope and drive back end
API and data model.  

The idea in front-to-back is that we start out with roughly developed
wireframes yet these wireframes are developed directly in Flex. 
Flex is such a productive canvas why go through the chore of using a
template solution like Visio.  This rough wireframe is then expanded
to inlcude art, validation, flow, etc.  Static data is then bound to
an object model and eventually to controls etc.  The goal is to create
effectively a fully functional application all bound to static data
and objects.  These objects become the API developed using POJOs in
Tomcat exposed as either (or sometimes both) SOAP and XML over HTTP
services.

From the development standpoint one big thing you will notice is that
this approach forces a very strong seperation of concerns, not just
architecturally but physically as well.  The RIA developers are
requesting the services they require and in the format they require
them in.  This assures that there is no tight coupling between the
tiers and creates an automatic seperation of concerns.  It also allows
the two sides to work quite autonomously.  Although in our offices the
folks might be sitting right side-by-side.

We use subversion for source control and do have a series of ANT
scripts that take the front end RIA and the back-end services, compile
them, create WARS, deploy the WARS etc.  (We also have some internal
tools that do some code generation for us, also hooked into the
automated ANT builds).  IMHO building and deploying full wars
significantly reduces the broken cycles caused by bad or partial
deploys.  Every developer in this way can update their source tree,
build and deploy both tiers of the application to their local
development Tomcat servers without any dependancy on a shared server
model.

We have well over half a dozen Flex projects under development in
parallel here at any given point.  For the most part they are all laid
out the same way, using the same builds scripts and same developer
model.  I'm presenting our approach at the Flex Seminar up in NYC next
week and will be showing off three or four of these projects.  Swing
on up and take a peek.

http://www.flexseminar.com


-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, Dave Bobby [EMAIL PROTECTED] wrote:

 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by just 
 saying http://localhost:8080/project/login.html?user=apass=b
 
 . but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 . do you have ant builds that create a war with all the files  copied 
 over?
 
 . do you separate your flex builder from eclipse or run them together 
 as flex (plugin) and java (in eclipse) at one time
 
 . if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that application 
 mxml be in the root of the project and say cairngorm files would be 
 in root/com/... 
 
 I need to set this up fast before other developers join the project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/