Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Function Libraries

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Function Libraries

Postby 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?
Joel
New php-forum User
New php-forum User
 
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand

Re: Function Libraries

Postby 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. :!:
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron