WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2007, 08:12 AM
dburdon's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2004
Location: Kent, England
Posts: 1,427
dburdon RepRank 1
Default Why .asp?

I've just done some work a .asp website.

The site is driven by .asp. I managed to do a reworking in xhtml and got exactly the same output. The original use of .asp seems an unnecessary complication for a fairly simple site. For the sake of consistency I've retained the .asp format but can't work out why the site would have been designed in .asp in the first place. See Event two way radio hire.

Have I missed some hidden benefit of .asp?
__________________
Simply Clicks | SEO | SEO Training| Pay Per Click Advertising | Search Engine Powered Marketing
Reply With Quote
  #2 (permalink)  
Old 04-03-2007, 01:40 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,066
kgun RepRank 3kgun RepRank 3
Default

I will foccus on these distinctions.
  • Static (X)HTML pages. No need for server scripting lik asp or php.
  • Static XML driven sites, like an XML CMS. No need for server scripting lik asp or php. XML driven sites can be great, since you can transform the same datasource (XML files) to different formats, HTML, PDF, WAP (for wireless applications), other XML formats like RSS and Atom etc. by using XSLT (Extensible Stylesheet Transformation Language). That makes XML driven sites very flexible. These technologies can of course be combined with the technologies mentioned below. That is the future and what I call web-, internet- or net 2. I am sure some webmasters are already writing all their sites in XML and trasforming it to (X)HTML by using XLST if / when needed. Note, you can get problems with older browsers with XML driven sites depending on how you transform the source file(s).
  • Dynamic sites based on browser scripting in JavaScript. No need for server scripting lik asp or php.
  • Dynamic database driven sites. Then you need a server scripting language like asp or php.
  • Web applications driven by an AJAX engine. Then you need to combine asynchronous (browser) JavaScript with serverscripting in asp, php or .NET
Reply With Quote
  #3 (permalink)  
Old 04-03-2007, 01:43 PM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,066
kgun RepRank 3kgun RepRank 3
Default Re: Why .asp?

Quote:
Originally Posted by dburdon
The original use of .asp seems an unnecessary complication for a fairly simple site.
Yes, it may be. Make it as simple as possible, but no simpler.

But sometimes you must prepare for future use. Then a database driven site may become a necessity.

Since you are working in the SEO business, I draw your attention to this thread:

Ajax Puts Web Ad Sales in Peril
Reply With Quote
  #4 (permalink)  
Old 04-03-2007, 02:13 PM
dburdon's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2004
Location: Kent, England
Posts: 1,427
dburdon RepRank 1
Default Complexity

Kjell,

I'm not a programmer or web designer. But managed to construct a functioning xhtml version of the home page fairly quickly.

However, to retain the integrity of the site I reverted to using .asp. This mean't altering the main .asp index page code, a CSS style file, a .asp navigation file, a .asp header file and a .asp footer file.

To me the use of .asp was over-engineering.
__________________
Simply Clicks | SEO | SEO Training| Pay Per Click Advertising | Search Engine Powered Marketing
Reply With Quote
  #5 (permalink)  
Old 04-03-2007, 08:06 PM
WebProWorld New Member
 

Join Date: Nov 2005
Location: Auckland, New Zealand
Posts: 16
rwil02 RepRank 0
Default Re: Complexity

Quote:
Originally Posted by dburdon
Kjell,

I'm not a programmer or web designer. But managed to construct a functioning xhtml version of the home page fairly quickly.

However, to retain the integrity of the site I reverted to using .asp. This mean't altering the main .asp index page code, a CSS style file, a .asp navigation file, a .asp header file and a .asp footer file.

To me the use of .asp was over-engineering.
You might consider that when you come to alter mypage1.asp and mypage2.asp, you have already altered the CSS file (required anyway I would imagine)
as well as the header, footer and navigation files
so all you have to worry about is the actual content section.

Hence from this description, I would pick they used ASP to take advantage of server side include files.
Reply With Quote
  #6 (permalink)  
Old 04-04-2007, 04:01 AM
WebProWorld Member
 

Join Date: Dec 2006
Posts: 48
dbramley RepRank 0
Default

Sometimes I build a fairly simply site in asp because somewhere down the line I know some database functions might be added such as a forum or shopping cart.

It would just save me a lot of work in the long run, all for the sake of a file extension.
__________________
Middlesbrough | Sunderland | Darlington | Hartlepool
Reply With Quote
  #7 (permalink)  
Old 04-04-2007, 04:10 AM
WebProWorld Pro
 

Join Date: Sep 2005
Location: Manchester, UK
Posts: 257
mikesmith76 RepRank 0
Default

Quote:

However, to retain the integrity of the site I reverted to using .asp. This mean't altering the main .asp index page code, a CSS style file, a .asp navigation file, a .asp header file and a .asp footer file.

To me the use of .asp was over-engineering.
Even with very simple sites I alsways make use of php includes as most of the "header" html will usually be the same across multiple files. It's always handy to have sites built like this for future proofing, as one poster has suggested already.
Reply With Quote
  #8 (permalink)  
Old 04-04-2007, 11:51 AM
DrTandem1's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2003
Location: Encinitas, CA
Posts: 1,908
DrTandem1 RepRank 2
Default

I think the main reason for using ASP is so that a novice may be allowed to change the content without disrupting the design. Similar to SSI.

Say you have a large site that needs to be updated by many different departments. Not each department will have someone versed in web design. There may be so many updates, that even a full-time webmaster would not be able to maintain it. However, if each department is allowed access to their specific content, it can be updated by them.
__________________
DrTandem's San Diego Web Page Design, drtandem.com
Reply With Quote
  #9 (permalink)  
Old 04-04-2007, 11:54 AM
dburdon's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2004
Location: Kent, England
Posts: 1,427
dburdon RepRank 1
Default Design brief

DR.T,MikeSmith,

I guess you're both right. I just found working in .asp a little more complex than usual.
__________________
Simply Clicks | SEO | SEO Training| Pay Per Click Advertising | Search Engine Powered Marketing
Reply With Quote
  #10 (permalink)  
Old 04-04-2007, 10:22 PM
WebProWorld Member
 

Join Date: Mar 2005
Location: US midwest
Posts: 32
florabalance RepRank 0
Default

Some functions such as form handling and db connections require server side scripting and it is often useful to create dynamic pages based on user circumstances which is easily handled on the server side.

I just redid pages that were originally .asp/microsoft access with .php/mysql. The .php/mysql performed ten times better than .asp.. and were easier to implement. I have dropped .asp, it is yet another mediocre microsoft implementation.

Server side scripting has its place but I would look for other solutions than .asp.
__________________
Candida cleanse
Reply With Quote
  #11 (permalink)  
Old 04-06-2007, 06:02 PM
WebProWorld Pro
 

Join Date: Apr 2004
Posts: 288
imvain2 RepRank 0
Default

Quote:
Originally Posted by florabalance
I just redid pages that were originally .asp/microsoft access with .php/mysql. The .php/mysql performed ten times better than .asp.. and were easier to implement. I have dropped .asp, it is yet another mediocre microsoft implementation.

Server side scripting has its place but I would look for other solutions than .asp.
I love ASP, but I hate access. Access is the real problem with your combos. We use ASP with mysql and it works great. We have built a search engine that currently holds over 13,000 records and a custom search algo. and it all works great.

But back to the original post, I would have to agree with other posters. Even though your site may not require server side programming (like DB access), when you have seperate header include files, it makes site wide changes so much easier and efficient.

Before, I got into the server side programming world (ie. CF, ASP, PHP etc..), I had a large website to make changes to and it was a nightmare, but now its a breeze.

I believe all new technologies at some point seemed to someone that they were just overkill. For that matter, XHTML to this day many people see it as overkill,
Reply With Quote
  #12 (permalink)  
Old 04-07-2007, 04:20 AM
dburdon's Avatar
WebProWorld 1,000+ Club
 

Join Date: Oct 2004
Location: Kent, England
Posts: 1,427
dburdon RepRank 1
Default Flexibility

Imvain2,

I agree with your remarks regarding the headers and footers. It means one change can simultaneously take place across many pages. Maybe I like the flexibility of working page by page for SEO purposes. Targeting each page for a separate set of words. But I can see your point and the advantages that .asp offers.
__________________
Simply Clicks | SEO | SEO Training| Pay Per Click Advertising | Search Engine Powered Marketing
Reply With Quote
  #13 (permalink)  
Old 04-07-2007, 08:06 AM
WebProWorld Pro
 

Join Date: Apr 2004
Posts: 288
imvain2 RepRank 0
Default

In case of SEO, what I started awhile ago and it works great is, within my header include file, my header is actually within a function. And on each page, I simply pass that header a title tag and meta description and the function places the title tag and meta description in the correct locations.[/code]
Reply With Quote
  #14 (permalink)  
Old 04-22-2007, 06:44 AM
kgun's Avatar
WebProWorld 1,000+ Club
 

Join Date: May 2005
Location: Norway
Posts: 5,066
kgun RepRank 3kgun RepRank 3
Default

Quote:
Originally Posted by florabalance
I just redid pages that were originally .asp/microsoft access with .php/mysql. The .php/mysql performed ten times better than .asp.. and were easier to implement. I have dropped .asp, it is yet another mediocre microsoft implementation.

Server side scripting has its place but I would look for other solutions than .asp.
You can come to London City via many streets. For me PHP is good enough and there is a large and growing online community. I also have the impression that PHP is the fastest developing oop scripting language. The language is flexible, there are a lot of libraries and extensions.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags:



Thread Tools
Display Modes

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

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


Search Engine Optimization by vBSEO 3.2.0