Re: calling php functions as library or cmd line
| From: | Robert Cummings | Date: | Fri, 14 Jan 2005 07:00:11 +0000 |
| Subject: | Re: calling php functions as library or cmd line | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206367@lists.php.net to get a copy of this message | ||
On Thu, 2005-01-13 at 09:46, Cere Davis wrote:
> Does anyone know how to write php libraries in a modular way so that you
> can both test the libraries/functions on the command line with arguments
> and/or use the php library as a part of your web code with 'require_once()'
> syntax? Sort of like how Python or Ruby works?
Yes.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'