New Class Proposal
| From: | Yavor Shahpasov | Date: | Wed, 04 Dec 2002 10:12:11 +0000 |
| Subject: | New Class Proposal | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11342@lists.php.net to get a copy of this message | ||
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
NetSmart Internet Services
http://www.netsmart.com.cy
Tel: +35722452565
Fax: +35722452566
email: yavo@netsmart.com.cy