Re: No collection objects in PEAR?
| From: | Alan Knowles | Date: | Fri, 14 May 2004 02:30:22 +0000 |
| Subject: | Re: No collection objects in PEAR? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12482@lists.php.net to get a copy of this message | ||
Mike Zornek wrote:
I admit I'm no PEAR expert, so hopefully I'm just not seeing them--- Are there any collection objects in PEAR (or elsewhere, PHP5?) for things like arrays, dictionaries, sets, etc.? I'm trying to doing OOP obviously and whenever I have to put an array into a object as a property is make me do a lot more procedural stuff in my code than I'd like.Thats OK, the OO adiction is treatable.. - just remember PHP is a hybrid language.. - a few hours of treatment will reduce the necessity to type -> on every line, and replace it with the nice fast built in functions starting array_....... If you follow through and try and replace PHP built in functions with 'Design Patterns' textbook code, you will probably end up with very slow code. It also adds an extra layer of complexity which needs to be gone through to understand your application.. Regards Alan
~ Mike ----- Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com> New Project: <http://WebDevWiki.com>-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com