Libraries vs. Server-Side Inclues vs. Snippets

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

vance_iat

Thread Starter
Joined
Apr 17, 2006
Messages
78
I have a web site that's over 300+. I'm thinking of using libraries or snippets or server-side includes. in Dreamweaver. Which one would be more effective?
 
Joined
Oct 9, 2001
Messages
27,087
Why pick just one?

Snippets aren't really a "method", but combining includes with libraries is the proper way.
 

vance_iat

Thread Starter
Joined
Apr 17, 2006
Messages
78
in what kind of scenario can i combine includes and libraries? what would snippets be useful for? I was thinking copyright and special scripts. anything else?
 
Joined
Oct 9, 2001
Messages
27,087
Well, I tend to include a library for functions that go back to a database. Include files for anything relatively static that doesn't change like copyright, ad scripts, etc...but then, those includes might also be referencing what's in my library of functions.

In short, if it's a function/procedure/method/etc it goes in a library. If it's something that will be displayed in the page, it's an include, that may in fact use other includes, and functions from the library...

...in short, use whatever works for you.
 

vance_iat

Thread Starter
Joined
Apr 17, 2006
Messages
78
what would you use for menus? and i have a content box that will change once a week, what do you suggest? also just wondering about images. should i use includes? thanks.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top