Function Libraries

Ask about general coding issues or problems here.

Moderators: egami, macek, 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:

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: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

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. :!:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests