View Single Post
  #15   Spotlight this post!  
Unread 27-06-2006, 09:46
GRaduns340 GRaduns340 is offline
The Fruit Man
AKA: Gary
FRC #0340 (Greater Rochester Robotics)
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Rochester, NY
Posts: 152
GRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura aboutGRaduns340 has a spectacular aura about
Send a message via AIM to GRaduns340
Re: Team 968 Website help

I am the webmaster for my team, and I started with something very similar to your site, as far as orientation, layout, and coding. However, as the site progressed, it became quite a pain to use HTML for every page. I understand that it might seem like a big step, but if you have another year you should try to learn a little bit of PHP.

Benefits:
- don't need to type the header on every. Just use one line
Code:
<? php require( 'header.php' ); ?>
, as an example.
- Server-side compilation: The server takes care of putting together the files. By the time it's done, the user just gets a standard HTML file anyway.
- You can still use all your CSS and standard HTML tags. You wouldn't even need to change your CSS file if you keep everything else the same.

This all makes it much easier to make broader changes. Rather than going through every page of your site to add one menu link, you could just add it to one file that will update for all pages. There is also a lot more to do with PHP, since it is more of a programming language. This isn't meant to put down your work. The look is good, probably better than ours, but coming from another webmaster, it does make it much simpler in the long run, even if you just get down some of the very basic parts oh PHP.
Reply With Quote