Re: New class in PEAR: Translation

From: Date: Tue, 01 Oct 2002 12:58:46 +0000
Subject: Re: New class in PEAR: Translation
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9747@lists.php.net to get a copy of this message
Am Tue, 1 Oct 2002 14:01:55 +0200 schrieb "Lukas Smith" <smith@dybnet.de>: > actually what we use today is just associative arrays that are stored in > a file. so we are doing pretty much that today as well (and it works > nicely and performant too). > > We don’t have such a helper script however (eventhough I have been > meaning to write one). The nice thing about having it in the db is that > you can modify it easier and/or distribute it across a cluster ... You could pass either a DSN, PEAR::DB or MDB connection object or an array to the constructor of such a translation class and it would then detect what kind of data it is and act accordingly. That way everyone would be happy :-) Regards, Markus -- *21st Media* | Consulting, Konzeption, Produktion für die Bereiche: Markus Wolff | Internet, Intranet, eCommerce, Content Management, Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming http://21st.de | Tel. [+49](0)40/6887949-0, Fax: [+49](0)40/6887949-1

« previous php.pear.dev (#9747) next »