Product Description
-
This Starter Kit serves as an entry-level introduction centered around prebuilt projects that developers can easily deploy and customize for their own sites
-
Explains how to build good basic Web sites, including design and architecture, for users who plan to build more complex sites in the future
-
Details the key site features that beginners like to implement, including catalogs, shopping carts, images, and secure site sections
-
The authors use very little code, but where coding is needed, they feature the simple Visual Basic language
-
The CD-ROM includes Visual Web Developer 2005 Express Edition
From the Back Cover
Whether you are new to web development or switching to
ASP.NET from another web language, you can use Visual Web
Developer to build amazing web sites using drop-and-drag
techniques and a wide range of developer-friendly tools and
controls. Written by two of the world's best known ASP.NET
authors, this book shows you how to create powerful and
interactive web applications that are also easy and
inexpensive to create using the Visual Web Developer 2005
Express Edition software included on the book's CD-ROM.
The authors use a step-by-step tutorial to focus on getting your site up and working quickly, without wasting time discussing code or theory. They use a simple, real-world example to show you how to build high quality and reliable web sites. This experience provides a convenient stepping-stone as you go on to build even more complex sites in the future.
What you will lean from this book
-
How to install Visual Web Developer
-
Tips onimplementing the database
-
Design tips for building dependable and accessible sites
-
How to display and edit data
-
Ways to publish your finished site
-
How to build a shopping cart
Who this book is for
This book is for anyone new to web programming or those moving from other web technologies such as ASP or PHP. This book will also be helpful for Windows developers who have never built web sites.
This Wrox Stater Kit gives you a CD-ROM
including Microsoft Visual Web Developer 2005 Express
Edition, SQL Server 2005 Express Edition, and the MSDN 2005
Express Edition library - all the tools you need to get
started programming right away - as well as a book featuring
structured tutorials that walk you through all the
techniques you need to know.
See all Editorial Reviews
Contents
Acknowledgments ix
Introduction xi
Chapter
1: Getting Started 1About the Example Application 2
Installing Visual Web Developer 3
Step by Step—Using the Setup Wizard 3
Step by Step—Installing the PPQ Example Files 7
Viewing the PPQ Example Database 10
Step by Step—Viewing the PPQ Database 10
Reading and Displaying Data with ASP.NET 20
Summary 30
Chapter 2: Designing a Web Site 31
Designing a Web Site 31
Making Web Sites Accessible 32
Multilingual Web Sites and Globalization 32
Designing the Appearance of the Site 33
Templates and Master Pages 34
Navigation and Menus 35
Text Styles and Style Sheets 35
Designing the Underlying Workings of the Site 36
Data Access 36
Building a Master Page and Content Page 37
Creating the Page Structure as a Master Page 37
Choosing the Correct Element and Control Type 48
Adding the Navigation Links 48
Building Your First Content Page 55
Converting an Existing Page to a Content Page 60
Checking for Accessibility 63
Summary 65
vi
Contents
Chapter 3: Building the PPQ Database 67
Designing the PPQ Database 68
Storing the Menu Items Data 68
Applying the Rules of Normalization 69
Applying the Remaining Normalization Rules 70
Storing the Orders Data 72
The OrderItems Table 73
The Final Database Design 74
Creating and Modifying Databases in VWD 76
The Table Designer Window 78
The Query Window 80
Creating a New Database 81
Creating the PPQ OrderItems Table 82
Defining Relationships between Tables 88
Defining Relationships in the Table Designer 88
Defining Relationships with a Database Diagram 90
Extracting and Displaying the Menu Items 94
Extracting Data with a Custom SQL Statement 94
Creating a Stored Procedure 101
Using a View Instead of a Table or Stored Procedure 104
Summary 105
Chapter 4: Accessing and Displaying Data 107
Data Source and Data Display Controls 108
The Object-Oriented and Event-Driven Architecture 109
About the GridView Control 110
Using Different Column Types in a GridView 111
Using Data Display Control Templates 117
The DetailsView and FormView Controls 123
Using a DetailsView and FormView Control 123
Summary 127
Chapter 5: Displaying Nested and XML Data 129
Building Nested Data Displays 130
Creating Nested Data Displays Declaratively 131
Writing Code to Access and Display Nested Data 143
The DataReader and DataSet Objects 144
Using a DataReader with a Data Source Control 144
Generating a Single DataSet with Relationships 145
How the Code in the ShowMenu.aspx Page Works 153
vii
Contents
User Controls and Binding to XML Data 157
Building the Delivery Costs Page 158
Building the Text Links User Control 162
Converting the XML with an XSLT Style Sheet 163
Creating the User Control 164
Converting Parts of a Page into a User Control 170
Summary 170
Chapter 6: Managing and Editing Data 173
Data Source Controls 173
Adding New Rows 186
Summary 193
Chapter 7: Placing an Order 195
The Order Process 196
Understanding Classes 197
Creating the Shopping Cart 198
The Shopping Cart Classes 198
The Shopping Cart Data Layer 212
The ObjectDataSource Control 212
The Data Layer Classes 213
Creating the Order Page 219
The Shopping Cart Page 225
Summary 234
Chapter 8: The Checkout Process 235
Paying for the Order 235
Collecting the Delivery Address 239
Collecting the Payment Details 245
Confirming the Order 248
Completing the Order 253
Understanding Exception Handling 260
Understanding Transactions 262
Summary 263
Chapter 9: Security and Deployment 265
Configuring Security 265
Modifying the Menu 273
viii
Contents
Publishing a Site 276
Summary 278
Index 281
format: eBook
our price=it's only rm15
(please support the author)
SELLER RATING, PLEASE CLICK BELOW:

(








, Others :, WANG POS ETC





























