Create dynamic web pages

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
18,826
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 14, 2009

The goal of this video is to teach you that being dynamic is a good thing. If your making a large scale website you need to include your menus and other code that is going to be on every page. If you've ever been a web developer and had to do updates for a client and their site is not dynamic, its absolute hell when you have to change one thing on every page.

I think i failed to mention why making a constant ABSLPATH was important. 2 reasons for that. Since there are 7 includes on every page, they all need a path to the included file. You can either use a relative path or an absolute path. The way it used to be was just doing ../file on every single include. The problem with that, if I need to make a page that is say 2 folders deep then every single include (all 7) would need to be ../../ instead of ../ So in order to not redo all 7 includes everytime i add a page, i use that constant at the top, so all I have to change when I make a new page is that constant. for the root ill use / for 1 folder deep ill use /../ for 2 folders deep ill use /../../ and so on.

I'm going to do a video on sessions, site users, and the next video I make will probably be how to make an XML site map to make your site much more findable on google.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (optikalefxx)

  • Your website is horribly unusable. At 1440 res and 100%, the content link in your nav is cut off.

  • @jmagAltDel care to extrapolate?

  • @optikalefxx Yes, your links are cut off on my computer. Care to explain why your making vids on youtube?

  • @jmagAltDel Send me a screenshot and ill make sure it works for you. :)

see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • Good web site.

  • Hi, we would like to hire you for some work, please reply with your email thanks

  • NICE JOB

  • wow this is really clever, good work

  • wow. Your code structure is very impressive.

  • @Angelfirebeat ok just watched the end again, you mean all that CSS? Its not hard, its a CSS Sprits, and its for making the menu load super fast with all the hover and click states. I have a video on that

  • Loading comment...
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more