Hal (or anyone else who might know),

I was playing with the MVC pattern again last night and created some 
nice little shopping cart and product list circuits that use MVC.  I 
have two questions:

First, when breaking these down into Model, View, and Controller 
circuits, is it better to do this:

parent
    model
        cart
        products
    view
        cart
        procucts
    controller
        cart
        products

or this:

parent
     mvccart
        model
        view
        controller
     mvcproducts
        model
        view
        controller

it seems to me the second one would make it easier to 'drag and drop' 
these mvc components because each is self contained.

My second question is, did anyone ever find a way around having to 
reference queries and result sets using "caller.myquery" and in the 
output using "caller.myquery.productid"?  Or is this just a side effect 
of the MVC setup and it must be that way?

Thanks,

Brian



---

==^================================================================
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
==^================================================================

Reply via email to