Function Libraries

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
Joel
New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand
Contact:

Function Libraries

Post by Joel » Mon Jun 09, 2003 9:37 pm

Which is the most efficient way of including functions to be used which you have written. And also classes.

Should I be keeping a library with all the functions and classes which is included on every page, or including each function by itself when it needs to be used?

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Function Libraries

Post by WiZARD » Mon Jun 09, 2003 11:05 pm

Joel wrote:Which is the most efficient way of including functions to be used which you have written. And also classes.

Should I be keeping a library with all the functions and classes which is included on every page, or including each function by itself when it needs to be used?

IMHO
i create some like library for SQL, template, common,
and than need including in project.....
in some situation people create shortest lib and use in other project....
P.S.
You may download phpBB forum and see ctructude of project.... i recommend. :!:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest