- Shopping Bag ( 0 items )
The friendly, tutorial style of Sams Teach Yourself Active Server Pages 3.0 in 21 Days empowers you to create your own Active Server Pages quickly and easily. Using client-proven methods, and his award-winning advice to Web developers from around the world, ASP master Scott Mitchell provides you with an understanding of ASP and IIS fundamentals, and guides you through the use of VBScript and ASP's built-in objects, enabling you to create your own dynamic, database-driven Web solutions. You'll benefit from Scott's expert knowledge of topics including creating dynamic content, interacting with the user, reading and writing files on the Web server, creating personalized content with cookies, reading a database using ASP, and debugging your ASP scripts.
Active Server Pages are Microsoft's solution to creating dynamic Web pages. With the explosion of the Internet and the World Wide Web into our everyday lives, Web site creation is quickly becoming one of the fastest growing sectors.
In the early days of the World Wide Web, Web site design consisted primarily of creating fancy graphics and nice-looking, easy-to-read Web pages. As today's Web sites have become user interactive, the steps in Web site design have changed. Although creating a pleasant-looking Web site is still important, the primary focus has shifted from graphical design to programmatic design. For example, imagine that you wanted to create a Web site from which you could sell widgets. The programmatic design, creating the Web pages that will collect and store user billing information, for example, is more pressing than deciding what background color to use.
Enter Active Server Pages. If you need to build a dynamic Web site-one that can interact with users-Active Server Pages are an easy-to-use solution. Today, you take your first step into the world of Active Server Pages!
Today, you will learn the following:
Over the past couple of years, we have seen some major changes concerning the Internet. Initially, the Internet served as a medium for members of government and education institutions to communicate. With the advent of the World Wide Web, the Internet became a multimedia, user-friendly environment. Originally, the Internet served as a place for enthusiasts to create personal home pages, but as more people began going "online," the Internet transformed into an informational resource for the common man. When the number of people online reached a critical mass, companies that sold products and services began to spring up. These companies had no physical presence, only a virtual one. For example, you can buy a book from Amazon.com's Internet site, but you won't be able to find an Amazon.com bookstore in your neighborhood.
As the Internet has matured into a viable marketplace, Web site design has changed in step. In the early days of the World Wide Web, HTML was used to create static Web pages. Today, though, static Web pages are quickly becoming obsolete. Imagine if Amazon.com was composed of nothing but static Web pages-you couldn't search its inventory; you couldn't place an order online; you couldn't read other users' comments. It is a safe bet that Amazon.com wouldn't sell many books if it didn't use dynamic Web pages.
You can create dynamic Web pages in many ways. Microsoft's solution to building dynamic Web pages is through the use of Active Server Pages, commonly abbreviated ASP
Note:Many large Web sites use Active Server Pages to serve dynamic Web content. For example, Buy.com, HotBot.com, and Dell.com use Active Server Pages to build their interactive, dynamic Web sites.
Active Server Pages contain two parts: programmatic code and embedded HTML. The programmatic code can be written in a number of scripting languages.
New Term: A scripting language is a particular syntax used to execute commands on a computer.
A program composed of commands from a particular scripting language is referred to as a script.
Most ASP pages are created using VBScript. VBScript has the most English-like syntax of the four scripting languages and is similar to Visual Basic's syntax, which many Web developers have experience with.
Note: Throughout this book, we will present examples using VBScript.
Recall that an ASP page can contain embedded HTML. This allows for existing static Web pages to be easily converted into dynamic ASP pages. Finally, an ASP page must contain an . ASP extension.
Have you ever wondered what, exactly, happens when you type a URL into your browser's Address window? The Internet operates on a client-server model.
New Term: In a client-server model, two computers work together to perform a task. A client computer requests s computer. The server returns this information, and the client acts on it.
Many everyday activities mimic the client-server model. For example, a map at a large mall performs the role of the server, whereas those strolling through the mall are the clients. If one of these clients wants to know how to reach Sears, he would consult this map, requesting a particular piece of information-namely, "How do I get to Sears from here?" After the client (the mall shopper) has received the information from the server (the map), he leaves, headed in the correct direction. The client-server model typically has many more clients than servers. For example, many mall shoppers are requesting information from just a few maps spread throughout the mall.
The Internet runs on a client-server model as well. With the Internet, the server is a particular Web server.
Note: A Web server is a computer that contains all the Web pages for a particular Web site and has special software installed to send these Web pages to Web browsers that request them.
The client, on the Internet, is a Web browser. When you visit a static Web page through a Web browser, the following steps occur:
1. The client (the Web browser) locates the Web server specified by the first part of the URL (www.Something.com).
2. The client then requests the static Web page specified by the second part of the URL (/index.htm).
3. The Web server sends the contents of that particular file to the client in HTML format.
4. The client receives the HTML sent by the server and renders it for you, the user.
In this transaction, the Web server acts passively, like the mall map in the previous example. around idly, waiting for a client to request a static Web page. After such a page is requested, the Web server sends that page to the client and then returns to idly wait for the next request. With this series of steps, only static Web pages can be sent to the client. To allow for dynamic Web pages, the Web server must playa more active role...
Active Server Pages allows for powerful Web site creation by combining programmatic code with standard HTML. If you've never written a program before, you will successfully learn how to program using VBScript, the most commonly used Active Server Pages programming language.
Each of the 21 days is presented in a tutorial style that focuses on both theory and application. When a new topic is presented, the theory and background behind the topic are discussed first. Then real-world examples, accompanied by code, are examined. Commonly asked questions about the day's topics are addressed. At the end of each day's lesson, questions and exercises are presented to allow you to test your mastery of the topic before moving on.
The first seven lessons-Week 1-introduce you to Active Server Pages and VBScript, as well as important programming concepts. Week 2 looks at creating Web pages whose output is based on user input. Week 3 looks at databases and how your pages can use them to store and retrieve information. At the end of each week, you'll find a Bonus Project in the Week-in-Review section, which ties together the material learned throughout the week into a complete, real-world application.
As with most computer topics, much more information about ASP is availablethan you need to know in most real-world situations. The 21 days' tutorials strive to present as complete a picture as possible while focusing on the aspects of Active Server Pages used most in the real world. Such topics will be covered in detail, with numerous code examples. The exercises at the end of each hour-long day provide a chance for you to get your feet wet with the topics covered in the day's lesson. We think you'll find a nice balance between theory and application, with added focus on the topics and problems that most Active Server Pages developers face.
With the explosive growth of the Internet in our everyday lives, being able to create dynamic, user-responsive Web sites is one of the most in-demand technical skills. Not only is the dynamic Web site design market a hot one, but it is also a fun and interesting one! This book will serve as your guide to this exciting field, teaching you the ins and outs of Active Server Pages programming and data-driven Web site design.
If you're ready and excited to learn Active Server Pages, this book is for you! Whether you are a hobbyist or a professional, Sams Teach Yourself Active Server Pages 3.0 in 21 Days will provide the background needed to program just about any Active Server Pages application.
Posted February 1, 2006
One of the best programming books I have ever read. Easy to understand and has a lot of in depth coverage. I liked using Sams ASP in 24hours to jump start me for my work and used this bigger book to get a better understanding.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted December 2, 2005
The time frame was great for me to pace myself and it was reasonable for a first timmer to ASP... The material is easy to understand for almost everybody. I thought the book was a great way to transition from a beginner to Pro in ASP. If you need to program in ASP in a week, I recommend reading 'Sams ASP in 24 hours' and then read the details through this book...Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted February 5, 2001
I was hoping to get a book that would take me from being an ASP newbie (having had programs like Drumbeat write ASP for me) to being an intermediate developer. I found some the topics covered to be strictly for beginners. While I did find some use for the database information, they don't cover many other practical problems like sending e-mail (using CDONT's) which are relatively simple to learn.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted November 25, 2000
This book was very helpful. I went from knowing nothing about ASP to being a confident developer. A CD with the source code would've been nice, however it is all available online. It's step by step approach was logical and easy to follow. The authors enthusiasm for the topic really helps grip the reader.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted August 21, 2000
Posted June 19, 2000
This was a really terrific book. It explained everything very clearly and in detail(but not too much detail!), and showed all examples. I had tried ASP for Dummies, and was very unimpressed, but this was great!Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.