| View previous topic :: View next topic |
| Author |
Message |
cbz87
Joined: 14 Mar 2008
Posts: 25
|
| Posted: Thu Apr 10, 2008 1:42 pm Specific Website Design -- Few questions |
|
|
| I'm trying to design a website where you have a basic background solid color, and in the center of the page is your main body (it's going to be an pre-made image). Now what I'm trying to accomplish is have it so when you click a button on the navigation bar, the main body does not change but the content that I create and place inside does. So it's basically not reloading the page everytime, different content is just being displayed depending on the page. I'm still working on putting everything together so I won't have something live to show until maybe tomorrow but if someone knows what I'm talking about or where I can read about it that'd be great. |
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Thu Apr 10, 2008 3:15 pm |
|
|
It sounds like you are speaking about HTML Frames. But these are not good to use. They are being deprecated finally and if you are a beginner, they just make coding much more difficult.
Having said that, server side includes would be your better option if you are wanting some content to easily be changed.
As far as re-loading a page, etc - don't worry about that. If it is an image, chances are the browser will use its temporary cache. If not, the user might have a pretty good connection to the Internet so as not to worry about downloading.
_________________
Corey
My Merchant Account Blog | Merchant Accounts | Bookkeeper Program |
|
|
cbz87
Joined: 14 Mar 2008
Posts: 25
|
| Posted: Thu Apr 10, 2008 3:21 pm |
|
|
| I see. So in your opinion for what I'm trying to do, what do you think would be the best server side include to use? |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Apr 11, 2008 7:28 am |
|
|
Yes.
_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog |
|
|
cbz87
Joined: 14 Mar 2008
Posts: 25
|
| Posted: Fri Apr 11, 2008 10:21 am |
|
|
Corey Bryant wrote: Yes.
Hmm.. I'm confused haha. I was asking out of these server side options, which one do you think would work best for what I'm trying to do, and you simply stated "Yes." :) Care to clarify? :lol: |
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA
|
| Posted: Fri Apr 11, 2008 12:03 pm |
|
|
Sorry, I mis-read it, I thought you were asking if SSI was the best.
To determine which one will be best for you is dependent on what OS you will be hosting on and what server side languages you might be using in the future.
For me, I am a Microsoft guy, so I use ASP and some .NET. Keep in mind, that all the pages have that (.asp or .aspx) extension.
If you are on a *NIX machine, PHP will probably be the better option.
On both, you could always use SHTML as well - but as your website grows, you will probably find the need to communicate with a database. And this is done with a server side language (ASP, .NET, PHP, etc).
Choosing a server side language now, you do not need to worry about having to rename your webpages, etc.
So, if you are on a *NIX machine and think you will be using PHP / mysql - choose the PHP include. If you think you will be on a Windows server, choose ASP / .NET. (I would really consider .NET since it seems that Microsoft is trying to pull away from ASP.)
_________________
Corey
Payment Processing Forums | Mile High Merchant Accounts | Microsoft Expression Web Blog |
|
|
cbz87
Joined: 14 Mar 2008
Posts: 25
|
| Posted: Fri Apr 11, 2008 2:06 pm |
|
|
| alright I'm pretty sure were gonna use linux so I'll see what I can pull together in PHP. |
|
|
| |
|
|
|