Web Development
  Home arrow Web Development arrow What are Active Server Pages?
Affiliate Promotion  
Blog Help  
Domain Name Tips  
How To  
Newsletter Marketing  
Online Business Help  
Search Engine Tricks  
Web Development  
Web Hosting  
Website Advertising  
Website Content  
Website Marketing  
 Webmaster Tools
 
Base64 Encoding 
Browser Settings 
CSS Coder 
CSS Navigation Menu 
Datetime Converter 
DHTML Tooltip 
Dig Utility 
DNS Utility 
Dropdown Menu 
Fetch Content 
Fetch Header 
Floating Layer 
htaccess Generator 
HTML to PHP 
HTML Encoder 
HTML Entities 
IP Convert 
Meta Tags 
Password Encryption
 
Password Strength
 
Pattern Extractor 
Ping Utility 
Pop-Up Window 
Regex Extractor 
Regex Match 
Scrollbar Color 
Source Viewer 
Syntax Highlighting 
URL Encoding 
Web Safe Colors 
Whois
 
Forums Sitemap 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB DEVELOPMENT

What are Active Server Pages?
By: Developer Shed
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating:  stars stars stars stars stars / 0
    2004-02-04

    Table of Contents:

    Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    What are Active Server Pages?
    by Steven Salmon

    Active Server Pages provide web developers with an exciting way to create dynamic web sites. Unlike HTML, Active Server Pages allow you to take the next step in creating exciting and interesting websites.

    HTML (HyperText Markup Language) has been around ever since the web browser first appeared all those years ago. HTML went from strength to strength until you really could not do any more with it. Active Server Pages (ASP) take over from where HTML left off in providing the web site creator with the tools and functionality to create rich and truly interactive websites.

    ASP is not the only technology that allows you to create these interactive websites. Allaire has also appeared with a technology called Cold Fusion, however, to many, ASP is voted the technology which produces the most rapid results and more importantly it is much easier to learn.

    So what are the differences between ASP and HTML? ASP is basically a scripting language that utilises VB Script. You can mix VB Script with HTML to produce web applications that offer an extra step in interactivity. The scripting language (VB Script) is processed by the server and not rendered by the web browser as HTML is. So HTML is very limited because the web browser must do all the work.

    When you program a website with ASP, the programming is executed by the server not the web browser. This gives you increased performance and most importantly allows you to do much more.

    So what can you do with ASP? In a nutshell Active Server Pages allow you to create dynamic forms that can return informative feedback to the user. You can access Databases via ASP, enabling you to sort database results and add new entries. You can update existing content on a website, and you can also remove content. Another excellent use of Active Server Pages is that you can even customize your website depending on which user is viewing it.

    HTML is great and it will always be needed but you are very limited in what you can do with it. You have all seen websites that have nice graphics and are nicely formatted, but this is all static stuff. ASP gives us a whole new technology which, when used correctly, you can use to implement some truly amazing features like shopping cart systems, information databases, mailing lists, latest news and customized feedback forms.

    Let's take a look at the Beginners Online Workshop site. It is connected to a central database that extracts information on demand. This article has been pulled out of the database by using ASP, and with a mixture of HTML, it is presented on your screen like this. We use the formatting of HTML and the power of ASP to deliver this article.

    There are actually three elements to writing an ASP pages. Firstly, we need the text to display. Secondly, we need the HTML tags to format the display. Lastly, we need to have ASP statements to process the results. The display that is shown on your web browser depends on what the ASP statements process.

    The ASP statements are very much like Visual Basic, in fact, VB Script is a cut-down subset of Visual Basic. So if you already know Visual Basic at an application level, moving to ASP will be a quick and painless transition.

    So what do you need to run ASP on your website? Most importantly your website host will need to support Active Server Pages. There are plenty of service providers popping up each day, however in some cases they can be expensive. Probably a 30% increase in your hosting cost can be endured. Thankfully, prices are really coming down as competition is becoming greater. I recommend shopping around for a host because prices do differ and it can save you money by just spending a little time looking around.

    The reason why prices are higher than standard hosting is because Active Server Pages require NT hosting to run. NT Hosting is more expensive than say UNIX hosting, so this is something to remember.

    To write ASP pages, you don't need to have an ISP host your website. Thankfully, Microsoft have produced a product called Personal Web Server which allows you to explore and work with ASP on your home computer. This is ideal when writing your website at home until it is time to launch it. When you are ready to launch you know jolly well that in most cases it will work almost straight away across the Internet. If you are hunting Microsoft's website, try looking out for the NT Option Pack 4. There are both NT Workstation and Windows 98 versions available for free download. The size of this download is a little large so you might be better ordering the CD from Microsoft's website.

    If you are a Netscape fan and you are wondering if Active Server Pages will work then you’re in luck. Active Server Pages are processed by the Server so whatever the ASP spits out, you are sure to know that your web browser will display it.

    So in summary, ASP is looking really good for the Internet. You can get results with the minimal amount of fuss and with the Net becoming a big place, it seems that dynamic sites are the order of the day. In the next couple of weeks we are starting a tutorial on ASP on the Beginners Online Workshop website. Look out for it.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

    More Web Development Articles
    More By Developer Shed

     

    IBM® developerWorks developerWorks - FREE Tools!


    Build Forge Express demo: Enabling software delivery excellence for small and midsized businesses

    This demonstration gives you an overview of IBM® Rational® Build Forge Express Edition, a global offering that provides a framework to automate and execute software processes. Rational Build Forge provides a software assembly line that can support all of your tools, technologies, and platforms so you can achieve a repeatable, reliable, and traceable build and release process.
    FREE! Go There Now!


    NEW! BlammoSplat: Build a community Web site of OpenLaszlo animations, Part 3: The community animation

    Learn to enable users to both rate existing animations and to combine existing animations into new snippets. This is the third in a series of three tutorials that chronicle the building of a site that enables collaborative discussion and animation building using Domino and OpenLaszlo.
    FREE! Go There Now!


    NEW! Develop Systems Software Assets with IBM Rational Asset Manager

    Join us for this on demand webcast to learn about developing complex systems more quickly and efficiently. We'll cover market drivers for developing, governing and reusing systems software assets and how you can develop system software assets with Rational Asset Manager.
    FREE! Go There Now!


    NEW! Download IBM Rational Developer for System z

    Download a free trial version of IBM Rational Developer for System z, software that can help you deliver core development capabilities; the power of Java Platform, Enterprise Edition (Java EE); and rapid application development support to diverse enterprise application development teams. With comprehensive development tools to help create, deploy and maintain traditional enterprise and composite applications, Rational Developer for System z enables developers with different technical backgrounds to easily participate in important technology projects.
    FREE! Go There Now!


    NEW! Hacking 101

    Join us for this web seminar to learn how you can defend your web applications from attack. Learn about the 3 most common web application attacks, including how they occur and what can be done to prevent them. We’ll also discuss manual versus automated approaches for scanning and identifying web application vulnerabilities and how IBM Rational AppScan, an automated vulnerability scanner, can help you automate more of what you are doing manually today.
    FREE! Go There Now!


    NEW! Innovate don't duplicate! Asset reuse strategies for success

    Asset Reuse is a key strategy for companies looking to create innovative solutions to solve complex software development problems. Searching for, identifying, updating, using and deploying software assets can be a difficult challenge. Listen to this webcast, to learn about strategies and tools that you can leverage for a successful project, including Rational Asset Manager, Rational Software Architect and WebSphere Service Registry and Repository.
    FREE! Go There Now!


    NEW! Krugle, developerWorks, and code search

    Ken Krugler, co-founder of code search company Krugle, and Laura Merling, vice president of Marketing and Business Development for Krugle, join to talk about the ins and outs of code search and what it means as a new feature for developerWorks users.
    FREE! Go There Now!


    NEW! Section 508 of the U.S. Rehabilitation Act: Web accessibility compliance

    Because access to government information continues to be an area of concern for many U.S. citizens with disabilities, the U.S. government enacted Section 508 of the Rehabilitation Act in 2001 to ensure that government agencies create accessible Web content, enabling all citizens to access the information they need. A fully accessible Web site makes Web content accessible to all individuals, including those with disabilities, who may be accessing Web content via a variety of user agents. Common user agents include standard Web browsers, text-only browsers, assistive devices and mobile devices such as cell phones or personal digital assistants (PDAs).
    FREE! Go There Now!


    NEW! Webcast: Striking the right balance between manual and automated testing

    Join this webcast to learn how IBM Rational's Functional Testing solution enables you to implement automation your way, at your pace, with your existing staff. In this webcast, you’ll learn how you can eliminate redundancy of manual test scripts, reduce errors, and increase test coverage through test automation. After this presentation you will understand how IBM Rational Functional Testing solution can streamline your manual testing and make test automation easily attainable.
    FREE! Go There Now!


    NEW! Webcast: What is new in Viper 2 for developers?

    Viper 2 brings a great value to developer communities including SQL, XML, PHP, Ruby, .NET and Java. You probably already know that DB2 Express-C is free for developers to develop, deploy and distribute. Viper 2 provides a variety of means that help move your application from the development stage to deployment more rapidly. This webcast shows how to best utilize the latest tools available for developing DB2 applications.
    FREE! Go There Now!



    All FREE IBM® developerWorks Tools!

       

    WEB DEVELOPMENT ARTICLES

    - Make Your WordPress Website Look Professional
    - How to Create a Mobile Web Site
    - Meta Tags: Still Useful?
    - Build a Completely Free Site
    - Is Your Site Secure?
    - What`s So Special About Your Site?
    - Add Games to Your Site
    - Should You Offer E-mail?
    - The Trouble with CAPTCHA
    - Add Images Responsibly
    - Is There a Science to Site Design?
    - Shortcuts for Page Design
    - Rebranding a Community
    - Firebug Firefox Extension Review
    - Is a CMS or Custom Code Better for Your Web ...

     
    Create the Optimal Architecture for your Critical Applications
    Warburton's the largest independently owned bakery in the UK faced a number of d....

     
    Five Best Practices for Deploying a Successful Service-Oriented Architecture
    This white paper describes the benefits you can expect with SOA, and how IBM can....

     
    Gartner Magic Quadrant for Application Delivery Controllers
    Gartner summarizes its view on Application Delivery Controllers, evaluates stren....

     
    Knowledge is Power
    What you don't know can hurt you, and is likely costing you money and increasing....

     
    Rationalizing the Multi-Tool Environment
    The rationalized multi-tool approach is flexible, scalable and cost effective. I....

     




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek