topleft topright

Welcome, Guest. Please login or register.
May 21, 2013, 04:40:39 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

Pages: [1]
Print
Author Topic: Module vs Application  (Read 2527 times)
deltajam
Courseware Beta
Full Member
***
Posts: 25


View Profile
« on: March 23, 2009, 05:48:49 AM »

When is the best time to use another Application container, and when is the best time to use Modules?  If I have an Application that has 5 main categories, should each category become a module, or another Application container?  And if I use Module, can I load multiple modules inside modules ... inside modules?  Is it possible to have 'n' number of modules loaded inside each other?

Just wondering what the best practice would be ..
Logged
Jason MacDonald
Sr. Member
****
Posts: 243


View Profile
« Reply #1 on: March 23, 2009, 06:10:30 AM »

I can't speak from the Flex side, but in Flash I have about 5 layers of modules in my app. So yes, modules inside modules works just fine. The difference is that a module can't function on it's own, it needs a parent to give it "instructions". However, an application should be able to function independently from anything else.

As an example, chapters of a book have no meaning without the book and other chapters. But a short story can live on it's own or in a book of other short stories.
Logged
deltajam
Courseware Beta
Full Member
***
Posts: 25


View Profile
« Reply #2 on: March 23, 2009, 10:52:07 AM »

Hey Jason,

Thanks for the reply, and great analogy.  I believe I remember seeing you post in the Fabrication forum, and I'm wondering if you have tried loading modules into a module, into a module.  How have you found this to work out with Fabrication?
Logged
Jason MacDonald
Sr. Member
****
Posts: 243


View Profile
« Reply #3 on: March 23, 2009, 11:26:07 AM »

Hey Jason,

Thanks for the reply, and great analogy.  I believe I remember seeing you post in the Fabrication forum, and I'm wondering if you have tried loading modules into a module, into a module.  How have you found this to work out with Fabrication?

Yes, I use Fabrication for this and it works great.
Logged
Pages: [1]
Print
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.