Re: shopping carts
Re: shopping carts
- Subject: Re: shopping carts
- From: email@hidden
- Date: Mon, 25 Aug 2003 19:52:23 -0700
Check:
http://developer.apple.com/documentation/WebObjects/JavaForWODev/
JavaForWODev.pdf
Go down to the "Test My Java Skills" Section. This document teaches the
core WO concepts using a shopping cart application as an example.
- I
On Monday, August 25, 2003, at 07:32 PM, Arturo Pirez wrote:
On Monday, August 25, 2003, at 09:23 PM, Art Isbell wrote:
On Monday, August 25, 2003, at 11:22 AM, Dev WO wrote:
-Is there a sample shopping cart for WO available somewhere to see
how it works?
Because a shopping cart page is usually designed specifically for
the intended use, a generic shopping cart implementation may not be
too useful.
Basically, a shopping cart can be implemented by declaring in your
Session class a NSMutableArray instance variable with appropriate
accessor methods ... This isn't difficult to implement in WO.
<diatribe>
You know just about every WO newbie asks this cart question. And just
about every time the answer is the same:
It's really easy! You just ...
Now, personally, I agree that it's easy (having done it). 99.99% of
the effort in making the shopping cart
is in getting it to meet the desires of the people asking for the
cart. But I also watched a senior engineer
struggle with a cart for over 2 months. Part of it was that I gave
him a framework that did all the validation
and database work. He spent at least 4 weeks trying to understand the
validation logic. To me it was strange
because it was
instantiate one of these do addOtBSoRwK, instantiate one of those do
addOtBSoRwK, etc.
save it and catch the validation errors and make the user do it right.
But he didn't get it. So now I'm not too sure that it is as easy as
we all know it to be.
</diatribe>
All that hot air being vented is it really as easy as pointing the
newbies to WOPetStore?
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.