Craig,
Hal's comment to situations like this is is the function always going to be the same for all three classes of users and it just "happens" to be the same right now? If there is a possibility of the function diverging at a later date for the three user classes, it is better to go ahead and declare it three different times right now. Otherwise, just like Jeff said, use SuperQ to run the function at the application level where it can be used by all three user classes. -- Jeff -----Original Message----- From: craig girard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 12:45 PM To: [EMAIL PROTECTED] Subject: MVC question I have a question concerning MVC I am hoping someone might be able to shed some light on. In the example documentation on techspedition.com Hal shows there being three roles for using the fictional site. Those roles are Admin/CSR/Guest. He also shows there being three controller directories , one for each role. What I am curious about is, what do you do when you have a fuseaction that all three roles can use exactly the same? Do you replicate this fuseaction across each controller? That would seem inefficiant. Would you place the fuseaction in the Guest controller and have the other two access this fuseaction from there? If so, how does the flow for this work. I am lazy and trying to get out of replicating logic that is used by all user roles. What is the best way to go about this? Thanks, Craig ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
