RE: [PEAR-DEV] New Class Proposal
| From: | LIMBOURG Arnaud | Date: | Wed, 04 Dec 2002 10:49:32 +0000 |
| Subject: | RE: [PEAR-DEV] New Class Proposal | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11343@lists.php.net to get a copy of this message | ||
Hello,
That would be a good addition to pear indeed.
I don't know enough about e-commerce to be of any help in the design though.
I like the idea anyway.
Arnaud.
> I have to write a simple e-commerce application. I was
> thinking about having
> the shopping cart part PEARized. My general idea is to follow
> the container
> paradigm used in many pear classes, a main class, a container
> class, and two
> containers at this stage session and DB. Would this be acceptable for
> inclusion in PEAR. I will be follwoing the nessesary code etc
> requirements.
>
> the container api am thinking about is
>
> Cart::add()
> Cart::remove()
> Cart::get()
> Cart::getList()
>
> Shout if am missing somthing obvious :)
>
> Yavor Shahpasov