Popular Posts

Monday, April 13, 2009

ASP


ASP:-ACTIVE SERVER PAGE

  1. In the begining,there was HTML,HTML admirably serves the purpose of displaying information as long as you aren't too picky about exactly how that information looks.
  2. ASP is an attempt to merge the advantage of HTML with the need to provide up-to-date,individualized information & to make users active participants in the web rather than passive viewers.ASP takes the web which is a relatively passive medium like T.V. & provides the capability to make it an active medium like other computer application.
  3. At the same time,ASP gives developers a way to deliver such application in a centralized manner.Rather than installing a program on each user's machine,ASP lets people run program on a remote server.
  4. Finally there's a huge difference between providing content to users & obtaining information from users.HTML lets users send data to the server using forms.
HOW TO USE ASP:-


  • Simple Text Processing
  1. User ASP script for simple text processing.This is ASP's strong point,as it usually involve a series of simple decisions about how to format response.Avoid using ASP script for complex string manipulations.
  • Complex Decision Making
  1. Use ASP for complex decision making computers are extremely fast at making simple decision & ASP scripts although they are not the fastest language around are more than adequate for making such decisions.when you combine decision-making with text processing , you have the buiding blocks to create personalised interactive applications.
  • Intermediary Between Browser & COM compnents
  1. As your decision-making & data processing requirements grow,you can purchase or build COM components.AS you increase your use of server based COM component ASP becomes the intermediary between the browser & there back end components.
How Not to Use ASP :-
  • ASP is an interpreted ,not a compiled language therefore it's inherently slower than other, complied solution.
  • ASP doesn't have strong variable typing.All variables are variant are convenient but are also larger & slower than typed variables.
  • ASP must insert includes files each time they're used.
  • ASP to eats all objets variables as late bound objects.It must appear information about the objects for each property or method access, which slows down the response.
ASP Provides:-
  • A way to save individualized data for each user.
  • Access to file system.
  • Access to database.
  • A means to launch & control any component object model.
  • ASP address all of there concerns & that's one of the reason why the topic is so large HTML authors can use ASP as a decision maker.
Benefits of ASP:-
  • ASP is Language-Independent:-
  1. The ASP engine doesnt depend on a single language.In fact, the ASP engine doesn't actually execute the code you write.ASP is actually execute the code you write .ASP is a language-Independent scripting host.
  • ASP is For Non-Programmers:-
  1. Programmers used machine language ,fliping switches to manipulate bits & bytes assembly language changed all that assembler was the glue that let non-programmers manipulate the bits & bytes easily....

No comments: