Proposal: recursive classes in detachable shopping cart model
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Proposal: recursive classes in detachable shopping cart model




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Proposal: recursive classes in detachable shopping cart model  
Matthew T. Adams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-21-06 01:45 AM

Hi everyone,

Craig asserted on the conference call today that we would probably need a
new object model that contained recursive references since the shopping cart
object model didn't have any classes that exhibit this feature.  Since the
shopping cart model does have class Product, it seems that there could be
two places to add recursive references:  on Product itself, so that a
Product could be defined as a bundle of other Products, and/or we could add
a class ProductCategory that could be used to categorize Products, and
Products could be placed into zero or more ProductCategories.

This would change the current model, depicted in the attached file
ShoppingCartClassDiagram.png, to the one depicted in the attached
ProposedShoppingCartClassDiagram.png.

Thoughts?

Note:  I've added and committed an ArgoUML project to tck20 at
trunk/tck20/src/uml/org/apache/jdo/tck/pc/shoppingcart/shoppingcart.argo.uml
if you want to see the model yourself.  I used the Open Source ArgoUML
0.18.1 (http://argouml.tigris.org) to create it.

--matthew

Matthew T. Adams
Corporate Technical Advisor & Senior Consultant
Mobile:  +1 253 732 1051
Phone:  +1 206 331 3833
Fax:  +1 815 331 0952
matthew.adams@xcalia.com
P.O. Box 24163
Federal Way, WA  98093
www.xcalia.com



Xcalia makes implementing SOA easy with agile business intermediation
software that combines heterogeneous data with services to easily develop
and deploy transactional composite applications.  Enterprises can quickly
respond to changing business requirements and dramatically reduce the costs
of data access and service integration.






[ Post a follow-up to this message ]



    RE: Proposal: recursive classes in detachable shopping cart model  
Matthew T. Adams


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-21-06 01:45 AM

Sorry, attachments got nixed.  Use the text description or ArgoUML and open
the project file.

--matthew

>-----Original Message-----
>From: Matthew T. Adams [mailto:matthew.adams@xcalia.com]
>Sent: Friday, January 20, 2006 5:09 PM
>To: jdo-dev@db.apache.org
>Subject: Proposal: recursive classes in detachable shopping cart model
>
>
>Hi everyone,
>
>Craig asserted on the conference call today that we would
>probably need a
>new object model that contained recursive references since the
>shopping cart
>object model didn't have any classes that exhibit this
>feature.  Since the
>shopping cart model does have class Product, it seems that
>there could be
>two places to add recursive references:  on Product itself, so that a
>Product could be defined as a bundle of other Products, and/or
>we could add
>a class ProductCategory that could be used to categorize Products, and
>Products could be placed into zero or more ProductCategories.
>
>This would change the current model, depicted in the attached file
>ShoppingCartClassDiagram.png, to the one depicted in the attached
>ProposedShoppingCartClassDiagram.png.
>
>Thoughts?
>
>Note:  I've added and committed an ArgoUML project to tck20 at
>trunk/tck20/src/uml/org/apache/jdo/tck/pc/shoppingcart/shopping
>cart.argo.uml
>if you want to see the model yourself.  I used the Open Source ArgoUML
>0.18.1 (http://argouml.tigris.org) to create it.
>
>--matthew
>
>Matthew T. Adams
>Corporate Technical Advisor & Senior Consultant
>Mobile:  +1 253 732 1051
>Phone:  +1 206 331 3833
>Fax:  +1 815 331 0952
>matthew.adams@xcalia.com
>P.O. Box 24163
>Federal Way, WA  98093
>www.xcalia.com
>
>
>
>Xcalia makes implementing SOA easy with agile business intermediation
>software that combines heterogeneous data with services to
>easily develop
>and deploy transactional composite applications.  Enterprises
>can quickly
>respond to changing business requirements and dramatically
>reduce the costs
>of data access and service integration.
>








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register