Using ASP highly interactive pages can be developed independent of the type of browser that will be used to access these pages - from Lynx to Internet Explorer 3.0. ASP encompasses the capabilities of both JavaScript and VBScript with the added bonus that components can be easily added to extend the Internet/intranet application. Using ASP as part of your development not only means that you can initially develop in Microsoft`s Access and scale up to a Microsoft SQL Server 6.5 database; but that you can access other vendor databases that are ODBC compliant. Its faster that using Visual Basic and the WinCGI interface - it will be interesting to compare performance with IDC and the use of an ISAPI filter to access a ODBC database. Needless to say, anyone who likes programming in Visual Basic is going to have a ball using ASP.
Our friend Jonathan Eisenzopf has done a brilliant job building a Yahoo like directory in PERL. The problem though is that I run NT, and IIS. I tried to install PERL and all the necessary files, but was not able to get it to work. Than I remembered one of the criteria was it had to be developed in less than a week.
I thought it should be easy maybe even easier to write the same Yahoo like directory in ASP. ASP happens to be Microsoft`s Server Side Scripting language for their Web server IIS. However, before I go into the code let us first look at the criteria.
1. Organizes information hierarchically
2. Contains information about resources on the Internet
3. Allows users to suggest new resources
4. Allows editors to modify the directory content
5. Is simple to maintain
6. Takes less than 1 week to develop
7. Exports and imports directory content from/to multiple sources
In the course of my Web page work I often have used JavaScript and VBScript on Active Server Pages (ASP). While searching the Web for references to help solve programming problems, it is easy to find pages to give examples on using one or the other, but rarely do you see information regarding using them both together.
Using VBScript to control JavaScript can be as simple as using the VBScript to determine whether the JavaScript will be presented to the client browser at all. For instance, you may decide that unless a browser is at least compatible with Mozilla version 4, a given JavaScript function will not be written. In this example, we check the browser information sent by the client before writing our function.
Well lets take a couple of examples. People renting their holiday homes might like to display a picture of the property on a Web site. News sites might like to allow people to send them pictures of events in their area. Ideally we would like the visitor to be able to upload these pictures themselves using their standard Web browser.
Unfortunately images come in thousands of different formats, shapes, colors and sizes; almost none of which will mesh in with your beautifully designed site. This article is about how we can best solve this problem. To do this we will have to search down into the depths of HTML and ASP.
For a Web developer, discovering the scripting object model, or SOM, is a lot like having a brand new baby dropped in your lap - it`s new, beautiful, and exciting, but unfortunately, it doesn`t come with any directions. So you, the doting Web developer, strive to learn how to work with this wonderful addition through trial-and-error, and wind up with a lot of sleepless nights! Where is Dr. Spock`s guide for making the SOM a mature member of your family of development technologies? I can at least tell you that the first chapter is right here. My goal in this article is to make you familiar with the SOM, and in the process show you the incredible capabilities it can add to your Web projects. I`ll also be sure pass along a couple of tips I`ve discovered - while chugging coffee and listening to the late, late show in the background.
Learning ASP
Some time ago I wrote an article for WebReference called `10 Reasons To Develop in ASP`. After publication I received several e-mails from people telling me that I`ve convinced them to give ASP a try, but they didn`t know where to start. So now in this article, I will try to give some paths to learning ASP.
Let`s start with explanation of what ASP is all about. ASP (Active Server Pages) is a server-side scripting technology, enabling developers to generate dynamic content for their Web sites. You just embed ASP code into your HTML pages, name them with `.asp` extension and place on the server. Sounds simple - and it really is, but some background knowledge will help you develop ASPs faster and more efficiently.
All the classes required for logging events to the windows event log are in the System.Diagnostics package. The most important class is the EventLog class. This allows reading and writing of event log entries. However, before any logs can be written an EventSource must be defined. Thus, in the simplest of scenarios, the following needs to be done
A primary definition of good object-oriented design is to promote true encapsulation of objects. Within the confines of an application dedicated for multi-user sites, this requirement becomes much more than a theoretical requirement, and can be the `make-or-break` difference in whether you are able to reach a customer.
Before Web development was popular and most applications were stand alone programs debugging strategies depended a lot on how and where they were being developed. When developing in C/C++ printf(...) was a favorite debugging tool on both UNIX and DOS environments for programmers. That changed when Integrated Development Environments--IDEs--like Borland`s Turbo C++ and Microsoft`s Visual Studio came along. These allowed stepping through code and watching local and global variables in a GUI as each line of code was executed. Suddenly, debugging was much more efficient. All that changed once again with the Web programming model. Debugging was once again much harder and reduced to print statements. Server side debugging before Visual Studio .NET was never up to the mark. Even with Visual Studio .NET server side debugging still does not have all the bells and whistles that the older IDEs had while developing stand-alone applications. On the brighter side the .NET framework comes with an enhanced library to aid in debugging and performance monitoring that makes debugging Web applications easier than before.
In this article, I will try to show you how to implement some of today`s most popular site features in ASP. Let`s start with working examples of three commonly used features: a feedback form, a `recommend to a friend` feature and a 404 error reporter. The main function in the implementation of these three features is sending email from the ASP script. There are no built-in capabilities to send email from ASP, but there are lots of free and commercial components enabling you to do this. In this article, I`ll use the JMail component available for free from www.dimac.net. You may use any other component available on your host; it shouldn`t be difficult to adapt these examples to work on your site.
Thinking about using ASP? Still looking to be convinced? Author Alan Mendelevich provides a personal top 10 list of reasons to make the leap. From the Webreference Update newsletter.
In this tutorial we will create a regular HTML page with a small javascript code, and we will use this javascript code to include in the page new information from a `.asp` file.
Cookies method is very similar to Session method: the basic difference is that with Cookies method the information is save in the clients computer and not in the server, so it is more suitable for sites with a lot of visitors. This method implies sending information to the client and requesting it whenever the information is needed. Additionally, we will learn how to delete the information save in the clients computer when it is not necessary anymore.
Home -
Add a Link -
Modify a Link -
Login -
Register -
Advertise -
About Us
php, asp.net, perl cgi, wi unix hosting best hosting asp hosting
windows hosting, server, webhosting, reseller, domain hosting, javascript
Powerful Scripts - Oscommerce Templates - Java Scripts (C) 2002-2005. All Rights Reserved