On Wed, Dec 3, 2008 at 3:44 AM, aliaspooryorik <[EMAIL PROTECTED]> wrote: > Just curious what directory structure people use to organise their > CFCs. It makes sense to me to organise classes into packages. For > instance business object, service method and DAO for each domain > object into their own directory (product, order), and all Utils in > another folder.
Here's how the Broadchoice Workshop (our 2.0 "CMS" product) is organized: ./config ./controller ./model ./model/beans ./model/command ./model/data ./model/events ./model/service ./model/transfer ./tests ./tests/beans ./tests/data ./tests/service ./views Here's how the Broadchoice Workspace is organized (it's a mostly Groovy project): ./.apt_generated ./.externalToolBuilders ./.settings ./ant ./bin ./build ./build/apache ./build/apache/conf ./build/apache/conf/ssl.crt ./build/apache/conf/ssl.key ./build/apache/conf.d ./build/war ./src ./src/com ./src/com/broadchoice ./src/com/broadchoice/bcp ./src/com/broadchoice/bcp/facade ./src/com/broadchoice/bcp/model ./src/com/broadchoice/bcp/model/beans ./src/com/broadchoice/bcp/model/data ./src/com/broadchoice/bcp/model/data/hibernate ./src/com/broadchoice/bcp/model/data/impl ./src/com/broadchoice/bcp/remoting ./src/com/broadchoice/bcp/remoting/assemblers ./src/com/broadchoice/bcp/remoting/assemblers/flex ./src/com/broadchoice/bcp/scheduled ./src/com/broadchoice/bcp/services ./src/com/broadchoice/bcp/services/remote ./src/com/broadchoice/bcp/services/remote/flex ./src/com/broadchoice/bcp/services/remote/flex/dto ./test ./test/com ./test/com/broadchoice ./test/com/broadchoice/bcp ./test/com/broadchoice/bcp/test ./test/com/broadchoice/bcp/test/facade ./test/com/broadchoice/bcp/test/model ./test/com/broadchoice/bcp/test/model/beans ./test/com/broadchoice/bcp/test/model/data ./test/com/broadchoice/bcp/test/services ./test/com/broadchoice/bcp/test/services/remote ./test/com/broadchoice/bcp/test/services/remote/flex And here's how the iPhone web version of the Workshop (a MG3 app) is organized: mobile mobile/config mobile/controller mobile/css mobile/css/iphone mobile/css/iphone/navigation_files mobile/helpers mobile/images mobile/js mobile/model mobile/views mobile/views/pages mobile/views/templates but it draws all of its model from the Groovy project above (see Ray's blog post about using Groovy classes in MG via ColdSpring and Joe's Spring adapter). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
