Where to place your custom code or library

Hi, all.

Sometime we will write my custom code that maybe is a class or function,
and
then use this code we need at certain moment.
So, where to store the code ? how and where to import my custom code?
Could
you give a example for explaining ?

Thanks to discussion.

On Thu, Sep 8, 2011 at 7:00 AM, coolesting [email protected] wrote:

Hi, all.

Sometime we will write my custom code that maybe is a class or function, and
then use this code we need at certain moment.
So, where to store the code ? how and where to import my custom code? Could
you give a example for explaining ?
Place it on the lib/ directory.
Then, require it where you need it.

Hope it helps.


Leonardo M…
There’s no place like ~