Re: [flexcoders] package structure for different programming languages

2008-09-07 Thread Douglas Knudsen
which I find interesting.  Early days showed folks mixing the two, I did in
fact on  couple a projects.  Perter Marin of Adobe even had a special plugin
for eclipse that made it possible to mix the Flex and J2EE natures in one
project.  This is wrapped into FB 3 now.  What was seen then is to have a
Flex *source* tree under flexsrc and Java source under *src*.  Having this
in one project allowed you to have your J2EE container running in Eclipse
and a Flex compile would build the swf and the run button would execute the
swf in the same J2EE container.  This also allowed for easy war or ear
building.

Why is it suggested now to separate these?  Do JSP folks really use a
project for the JSPs, and probably some HTML, and another project for
beans/EJBs?  Do PHP folks seperate the PHP code into one project and the
HTML in another?  Certainly Flex/AS is a compiled player in this arean, but
it si still just the UI.

Just stirring the pot for discussion on why this separation is recomended.

DK

On Sat, Sep 6, 2008 at 5:46 PM, Doug McCune [EMAIL PROTECTED] wrote:

   ditto, same structure but different actual locations on the drive.
 Usually when I have a java project and flex project that have mirrored
 classes (usually when using remoting), that means that I have one Flex
 project and one Java project, which exist as separate projects within
 Eclipse. I never have java source classes in my Flex projects and never have
 AS classes within my java projects.

 Doug

 On Sat, Sep 6, 2008 at 2:43 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote:

   completely separated, but the packages can have the same structure/name
 r.


 On Sat, Sep 6, 2008 at 11:37 PM, ibid049 [EMAIL 
 PROTECTED]ibid49%40gmail.com
 wrote:
  Just an organizational question.
 
  If you have a client-server app in flex, and you have your domain-
  specific package structure, e.g. com.yahoo.groups.tech.etc., Do you
  put your AS classes within the same structure as your server-side
  classes, whatever language they're written in, or do you keep you
  language-specific classes completely separate in duplicated
  com.yahoo.groups.tech folder structures elsewhere on the hard drive?
 
  I imagine this is a preference thing, but I wanted to know how
  everyone else usually does it, specifically for ease of development
  and setting up Flex Builder.


  




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] package structure for different programming languages

2008-09-06 Thread ibid049
Just an organizational question.

If you have a client-server app in flex, and you have your domain-
specific package structure, e.g. com.yahoo.groups.tech.etc., Do you 
put your AS classes within the same structure as your server-side 
classes, whatever language they're written in, or do you keep you 
language-specific classes completely separate in duplicated 
com.yahoo.groups.tech folder structures elsewhere on the hard drive?

I imagine this is a preference thing, but I wanted to know how 
everyone else usually does it, specifically for ease of development 
and setting up Flex Builder.

Forgive me if this is a duplicate question.  I've tried searching for 
it, but perhaps the terms are too generic to find me the answer.



Re: [flexcoders] package structure for different programming languages

2008-09-06 Thread Ralf Bokelberg
completely separated, but the packages can have the same structure/name
r.

On Sat, Sep 6, 2008 at 11:37 PM, ibid049 [EMAIL PROTECTED] wrote:
 Just an organizational question.

 If you have a client-server app in flex, and you have your domain-
 specific package structure, e.g. com.yahoo.groups.tech.etc., Do you
 put your AS classes within the same structure as your server-side
 classes, whatever language they're written in, or do you keep you
 language-specific classes completely separate in duplicated
 com.yahoo.groups.tech folder structures elsewhere on the hard drive?

 I imagine this is a preference thing, but I wanted to know how
 everyone else usually does it, specifically for ease of development
 and setting up Flex Builder.


Re: [flexcoders] package structure for different programming languages

2008-09-06 Thread Doug McCune
ditto, same structure but different actual locations on the drive. Usually
when I have a java project and flex project that have mirrored classes
(usually when using remoting), that means that I have one Flex project and
one Java project, which exist as separate projects within Eclipse. I never
have java source classes in my Flex projects and never have AS classes
within my java projects.

Doug

On Sat, Sep 6, 2008 at 2:43 PM, Ralf Bokelberg [EMAIL PROTECTED]wrote:

   completely separated, but the packages can have the same structure/name
 r.


 On Sat, Sep 6, 2008 at 11:37 PM, ibid049 [EMAIL 
 PROTECTED]ibid49%40gmail.com
 wrote:
  Just an organizational question.
 
  If you have a client-server app in flex, and you have your domain-
  specific package structure, e.g. com.yahoo.groups.tech.etc., Do you
  put your AS classes within the same structure as your server-side
  classes, whatever language they're written in, or do you keep you
  language-specific classes completely separate in duplicated
  com.yahoo.groups.tech folder structures elsewhere on the hard drive?
 
  I imagine this is a preference thing, but I wanted to know how
  everyone else usually does it, specifically for ease of development
  and setting up Flex Builder.