Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Easy Date   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-22-2004, 07:53 PM   #1 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
too many include files?

Has anyone every had a problem with using too many include files?

How many would be too many?

Reason I ask is because on a site I'm building I have 4 includes. Left Nav, header1, header2, and a footer.


thnx
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-22-2004, 08:19 PM   #2 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,512
iTrader: 3 / 100%
Latest Blog:
17?????

John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
www.internet-marketing-blog.com

I have the footer inc, topnav inc, leftnav inc, ads inc. Maybe even a couple others. :

It shouldn't be a problem.
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 09:07 PM   #3 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
thought so...thans John
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 09:14 PM   #4 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
ok that was just an unconcealed effort to gain a link to that site. jk
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 11:09 PM   #5 (permalink)
Inactive
 
Join Date: 02-29-04
Location: Indiana
Posts: 464
iTrader: 0 / 0%
Latest Blog:
None

alpha3m is on the right pathalpha3m is on the right path
Send a message via ICQ to alpha3m Send a message via AIM to alpha3m Send a message via MSN to alpha3m Send a message via Yahoo to alpha3m
lol. i havent run into any problems using includes.. YET
alpha3m is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 11:16 PM   #6 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,512
iTrader: 3 / 100%
Latest Blog:
17?????

John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Quote:
Originally Posted by RonHollingsworth
ok that was just an unconcealed effort to gain a link to that site. jk
Actually, no. I just want everybody to know how many includes files I had to make in doing that site. I think that is the most includes files I've ever used on a site.
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 11:19 PM   #7 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 42,512
iTrader: 3 / 100%
Latest Blog:
17?????

John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Quote:
banner.php
footer.php
leftnav.php
slogan.php
topnav.php
5 incudes per page.
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-22-2004, 11:57 PM   #8 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
Yeah includes ROCK...esp if you have a *hit load of pages.
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2004, 03:32 AM   #9 (permalink)
Inactive
 
Join Date: 02-27-04
Location: Next Door Really? Yes
Posts: 268
iTrader: 0 / 0%
Latest Blog:
None

Dazzla is just really niceDazzla is just really niceDazzla is just really niceDazzla is just really niceDazzla is just really niceDazzla is just really niceDazzla is just really niceDazzla is just really nice
A page can possibly never have too many includes. Basically all you are doing is get another page to be displayed within your page.
Dazzla is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2004, 03:49 AM   #10 (permalink)
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,137
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
I've got 6 and 7 includes on some of my administration pages for Protoolreview.
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2004, 04:16 AM   #11 (permalink)
Inactive
 
Join Date: 10-12-03
Location: Cranberry Township
Posts: 275
iTrader: 0 / 0%
niceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really niceniceguyeddie is just really nice
Send a message via ICQ to niceguyeddie
An include uses a portion of memory. Eventually there will be too much memory usage due to the processing that you are doing, but you aren't going to hit that with four or five includes, trust me on that one.
niceguyeddie is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-25-2004, 07:59 AM   #12 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,819
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
If you might accidentally include() a file more than once, it would be a waste of memory. If you use include_once() it will only load the file if it has not alraedy loaded it, (but always load it if it hasn't already).
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-12-2004, 12:57 PM   #13 (permalink)
v7n Mentor
 
imaginemn's Avatar
 
Join Date: 02-18-04
Location: Minneapolis, Minnesota
Posts: 1,940
iTrader: 0 / 0%
imaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to allimaginemn is a name known to all
Send a message via MSN to imaginemn Send a message via Yahoo to imaginemn Send a message via Skype™ to imaginemn
Not sure if you are still interested in this but I worked on a huge project and some of the pages had anywhere from 15 - 25 include files based on the language the user was viewing. Some of the pages were over 100kb in size once you added all the file sizes together.

This was never an issue with our site as far as performance.

The site was setup specifically to separate the code from the content based on different languages. It worked well for us, because the programmers coded and the content managers only had access to the content without always breaking the code. Especially when translating.

The only limitation with include files is that all the include files are downloaded with the page every time. If for some reason you did add the same include file more than once then the file would be served up twice.

ImagineMN
__________________
Need a project done? - Set Your Own Price!
Imagine Creative Services
- Design : Marketing : Multimedia : More
imaginemn is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO and include files needtheheat SEO Forum 7 02-22-2006 08:25 AM
Include SN3 Coding Forum 11 06-12-2005 11:46 AM
PHP Include DOS Coding Forum 3 02-12-2005 12:40 AM
Large site, lots of include files mckots SEO Forum 3 02-08-2005 10:40 AM
div include? Pretend Coding Forum 15 10-21-2003 02:35 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:21 PM.
© Copyright 2008 V7 Inc