Results 1 to 14 of 14
-
ASP Tutorial Part 1 - Introducing ASP
Introduction
For any webmaster, once you have created a page with graphics and content, the next logical step is to make it interactive. You can, of course, go to one of the remotely hosted scripting sites who will provide you with a simple piece of code to put on your site, but there is a lot more flexibility if you can create and install your own scripts which will do exactly what you want.
It's thought by many that this 'server-side scripting' (it is processed by the server and not the browser, so unlike JavaScript the use of ASP doesn't depend on someone's browser supporting it) is very difficult to learn, and this has come from the early languages like Perl, which are difficult to write and even more difficult to debug. Over the past few years two new languages have emerged, PHP and ASP. These are easy enough for even the novice webmaser to learn.
-
12-07-2011 09:13 PM # ADSAdvertise here Circuit advertisement
- Join Date
- My Birthday
- Posts
- Million and counting
-
Re: ASP Tutorial Part 1 - Introducing ASP
What Is ASP?
ASP stands for Active Server Pages. It is basically a server-side scripting language designed for the Windows Platform, although it is available on Unix/Linux systems through new systems, although PHP is the more popular choice for this platform. Active Server Pages is based around VBScript, a variant of Visual Basic, which makes it very easy to use as the majority of the commands are plain English and simple to decipher.
As mentioned earlier, ASP is a server-side scripting language. Basically what this means is that if an ASP page is requested, the web server will process it and run all the ASP code, before sending the output to the browser. This has two major advantages over client-side (processed by the browser) scripts like JavaScript. The first is that there are no compatibility problems. It doesn't matter if the user is using the latest browser or the oldest, they will see the same output. The second is that your code is hidden. Because code is executed on the server, users only ever see the output, so it is safe to put passwords etc. in your ASP code.
-
Re: ASP Tutorial Part 1 - Introducing ASP
What Do I Need?
ASP is a server-side language, so you will need to make sure that your web server has the correct software for running it. The most common setup for running ASP scripts is on a Windows-based server running IIS (Internet Information Server). It is possible to use Linux-based systems, though, but they must have the Chillisoft ASP package installed. Most web hosts will publish whether they support ASP, but if in doubt contact your systems administrator. If you need a free web host supporting ASP, try visiting Free-Webhosting.info.
Once you have the server ready to accept scripts, running one is as easy as simply uploading and running the file. You don't need to put it in any particular place on the server or change any settings. Just upload and run.
-
Re: ASP Tutorial Part 1 - Introducing ASP
ASP Code
When writing ASP you don't need to worry about changing all your HTML, you simply add ASP code into your HTML pages where needed. YOu also don't need any special software on your computer, a simple text editor will do. To begin an ASP page you will first need to tell it what language you have written it in. The most common (and the one used in this tutorial) is VBScript. You should begin your page with:
<%@ Language=VBScript %>
All this code does is tell the ASP system that you are writing your page in VBScript. You will notice that the ASP code is enclosed in special tags. All ASP code should be enclosed in the 'percent sign tags' in the form:
<% ASP Code Here %>
Code can be written over multiple lines, but any code not enclosed in the ASP tags will simply be treated as HTML. Similarly and HTML inside these tags but not specifically sent as output by the code will cause an error.
-
Re: ASP Tutorial Part 1 - Introducing ASP
Testing ASP
Before you start writing scripts it is a good idea to test whether ASP will run correctly on your server. Make a simple page with the following:
<html>
n<head><title>Test Page</title></head>
<body>
This is some HTML. Below this I have ASP<br>
<%@ Language=VBScript %><br>
Nothing should appear above here.
</body>
</html>
and save it as test.asp. Then upload this to your server and access it with your browser. If it has worked correctly, the page should display and you should only see the lines:
This is some HTML. Below this I have ASP
Nothing should appear above here.
If the ASP appears in the page or the source of the page, something has gone wrong. Check the code and also the settings on your server. No ASP should appear as it should have been processed by the server before it was sent to the browser.
-
07-20-2012, 01:07 PM #6
MTV Regular
is just chillingI am:
- Join Date
- May 2012
- Location
- pasay city
- Posts
- 563
- MTV$
- -2
Re: ASP Tutorial Part 1 - Introducing ASP
thank for the information you share above atleast i have now my ideas about asp well i am planning to study and research about asp i found it very interesting programming language nowaadays.
-
08-30-2012, 07:37 PM #7
Banned
This user has no status.I am:----
- Join Date
- Aug 2012
- Posts
- 463
- MTV$
- 1,116
Re: ASP Tutorial Part 1 - Introducing ASP
May 26, 2012 ... Interviewing Tim Carter of AskTheBuilder on whether Google really ... one of the famous case studies for AdSense success that Google put a spotlight on for years . ... Do you think you can use SEO as a main traffic source, so long as you ... doing much more than white hat SEO; we believe they are engaging ...
-
09-03-2012, 03:50 PM #8
Banned
This user has no status.I am:----
- Join Date
- Aug 2012
- Posts
- 338
- MTV$
- 829
Re: ASP Tutorial Part 1 - Introducing ASP
As it is the server sites,It will be very comfortable to use now the ASP because the syntax which are use in the ASP are very difficult to understand and to know,Now it will be very easy to use because of the tutorial part 1.
-
09-09-2012, 06:28 PM #9
Banned
is who wander are lost!!!I am:
- Join Date
- Sep 2012
- Posts
- 1,704
- MTV$
- 5,031
Re: ASP Tutorial Part 1 - Introducing ASP
May 26, 2012 ... Interviewing Tim Carter of AskTheBuilder on whether Google really ... one of the famous case studies for AdSense success that Google put a spotlight on for years . ... Do you think you can use SEO as a main traffic source, so long as you ... doing much more than white hat SEO
-
09-14-2012, 12:58 AM #10
Banned
This user has no status.I am:----
- Join Date
- Sep 2012
- Posts
- 1,129
- MTV$
- 3,336
Re: ASP Tutorial Part 1 - Introducing ASP
For any webmaster, once you have created a page with graphics and content, the next logical step is to make it interactive. You can, of course, go to one of the remotely hosted scripting sites who will provide you with a simple piece of code to put on your site, but there is a lot more flexibility if you can create and install your own scripts which will do exactly what you want.
-
Re: ASP Tutorial Part 1 - Introducing ASP
ASP stands for Active Server Pages. It is basically a server-side scripting language designed for the Windows Platform, although it is available on Unix/Linux systems through new systems, although PHP is the more popular choice for this platform. Active Server Pages is based around VBScript, a variant of Visual Basic, which makes it very easy to use as the majority of the commands are plain English and simple to deciph.
-
10-04-2012, 10:22 AM #12
Banned
is is banned for copy pastingI am:----
- Join Date
- Oct 2012
- Posts
- 340
- MTV$
- 1,000
Re: ASP Tutorial Part 1 - Introducing ASP
An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are executed on the server.
What you should already know
Before you continue you should have some basic understanding of the following:
HTML / XHTML
A scripting language like JavaScript or VBScript
If you want to study these subjects first, find the tutorials on our Home page.
What is ASP?
ASP stands for Active Server Pages
ASP is a Microsoft Technology
ASP is a program that runs inside IIS
IIS stands for Internet Information Services
IIS comes as a free component with Windows 2000
IIS is also a part of the Windows NT 4.0 Option Pack
The Option Pack can be downloaded from Microsoft
PWS is a smaller - but fully functional - version of IIS
PWS can be found on your Windows 95/98 CD
-
11-27-2012, 02:10 PM #13
MTV Regular
This user has no status.I am:----
- Join Date
- Nov 2012
- Posts
- 323
- MTV$
- 863
Re: ASP Tutorial Part 1 - Introducing ASP
ASP Tutorial 1 provides all the basic information about the platforms of ASP, tools of ASP and different features of it. It contains the contents of basic learnings to the user. The book is good for the starter.
-
Re: ASP Tutorial Part 1 - Introducing ASP
asp basically means active server pages and provides all the information about tools and the features inside it which are basically many of them.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)































Reply With Quote



Bookmarks