Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Old 11-17-2006, 04:24 PM asp versus htm
Junior Talker

Posts: 2
Name: Jen
Trades: 0
I am revamping a current website that was initially designed as asp; however, the site has only 10 pages total. All are static pages with no asp coding...yet all the pages are saved as .asp. My question is, what is the advantage of .asp over .htm if the pages are static?
Newbee is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-18-2006, 11:35 AM Re: asp versus htm
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
There is none. ASP is a server side scripting language, it allows you more interaction with your visitors, it is similar to PHP.

If your pages contain no ASP scripting (found between <% %> tags) then it is semantically incorrect to use the extension .asp. If they are static HTML pages (with no ASP inside) simply have them as .html

You can't compare ASP and HTML because they are two different things. HTML often contains ASP within it, and ASP can be used to generate HTML.
__________________

Please login or register to view this content. Registration is FREE
- Tumblog with thoughts, quotes, links, videos, images and my creations.

Please login or register to view this content. Registration is FREE
- The best free web browser.

Please login or register to view this content. Registration is FREE
- Firefox is now Firefail.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 11-23-2006, 06:24 AM Re: asp versus htm
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
If your pages contain no ASP scripting (found between <% %> tags) then it is semantically incorrect to use the extension .asp.
Nope. it doesn't matter whether a page with a .asp extension contains any asp code or not. There's no "semantically correct" reason to use any extension.
If you want to have .asp pages with no asp code you can.

Quote:
If they are static HTML pages (with no ASP inside) simply have them as .html
Nope leave them as .asp it will save grief and extra work if at some point you need scripting on them.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-23-2006, 01:04 PM Re: asp versus htm
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
Actually, there is a use for ASP that contains no ASP coding: server-side include layout files.

Theoretically, you could see something along the lines of

<!--#include file="header.asp"-->
Body code.
<!--#include file="footer.asp"-->

Which would work fine, have no timestops and allow for quick and easy layout changes. Mind you, the pages could have also been created in .SHTML (assuming the server supports it...I suppose there COULD be a case where it isn't and ASP is, but that's very unlikely.)

I would suggest that the idea of separating layout from content would be the most likely reason ASP was used if no scripting was involved, and that's something plain ol' HTML just won't do.

It won't hurt anything to leave it the way it is, as chrishirst pointed out. If it ain't broke, don't mess with it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to asp versus htm
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14153 seconds with 12 queries