• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Flex 3 :Is it good to have a FrontController per Module??

 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,


Read that there should be a Single Front Controller per application .

But how to manage this as my application is having number of Modules .

Is it good to have a FrontController per Module??

Please share your ideas.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. Ginven what a FrontController is for why would you do this?

If you are worried about mixing view and business logic there are patterns for seperating these (see Cairgngorm or PureMVC etc. )
 
author
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ravi Kiran V wrote:Hi ,


Read that there should be a Single Front Controller per application .

But how to manage this as my application is having number of Modules .

Is it good to have a FrontController per Module??

Please share your ideas.



In a modular application you generally have a shell. The shell facilitates the communication between modules via interfaces. So when considering modules as independent sub-applications, having a FrontController (this is a Cairngorm approach) for each module with a top-level shell FrontController is a good approach.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic