ASP.NET MVC 5 with Bootstrap and Knockout.js: Building Dynamic, Responsive Web Applications

Front Cover
"O'Reilly Media, Inc.", May 18, 2015 - Computers - 278 pages

Bring dynamic server-side web content and responsive web design together to build websites that work and display well on any resolution, desktop or mobile. With this practical book, you’ll learn how by combining the ASP.NET MVC server-side language, the Bootstrap front-end framework, and Knockout.js—the JavaScript implementation of the Model-View-ViewModel pattern.

Author Jamie Munro introduces these and other related technologies by having you work with sophisticated web forms. At the end of the book, experienced and aspiring web developers alike will learn how to build a complete shopping cart that demonstrates how these technologies interact with each other in a sleek, dynamic, and responsive web application.

  • Build well-organized, easy-to-maintain web applications by letting ASP.NET MVC 5, Bootstrap, and Knockout.js do the heavy lifting
  • Use ASP.NET MVC 5 to build server-side web applications, interact with a database, and dynamically render HTML
  • Create responsive views with Bootstrap that render on a variety of modern devices; you may never code with CSS again
  • Add Knockout.js to enhance responsive web design with snappy client-side interactions driven by your server-side web application
 

Contents

Chapter 1 Introduction to MVC
1
Chapter 2 Introduction to Bootstrap
11
Chapter 3 Introduction to Knockoutjs
21
Chapter 4 Working with a Database
31
Part II Working with Data
45
Chapter 5 Listing Sorting and Paging Through Tables
47
Chapter 6 Working with Forms
67
Chapter 7 ServerSide ViewModels
91
Chapter 11 URL Routing Using Attributes
153
Chapter 12 Fat Model Skinny Controller
163
Part IV A Practical Example
177
Chapter 13 Building a Shopping Cart
179
Chapter 14 Building the Data Model
185
Chapter 15 Implementing the Layout
197
Chapter 16 Lists of Books
213
Chapter 17 Adding Items to the Cart
223

Chapter 8 Introduction to Web API
99
Part III Code Architecture
117
Chapter 9 Creating Global Filters
119
Chapter 10 Adding Authentication and Authorization
137
Chapter 18 Updating and Deleting Cart Items
239
Index
253
About the Author
257
Copyright

Other editions - View all

Common terms and phrases

About the author (2015)

The author of 20 Recipes for Programming MVC 3 from O'Reilly Media, Jamie Munro has been developing websites and web applications for over 15 years. For the past 6 years Jamie has been acting as a lead developer by mentoring younger developers to enhance their web development skills. Taking his love of mentoring people, Jamie began his writing career on his personal blog ( http://www.endyourif.com ) back in 2009. As Jamie's blog grew in success, he turned his writing passion to books about web development. As well as writing books, Jamie is currently in the process of starting a new website ( http://www.webistrate.com ) that is geared towards helping web developers further expand their experience with many online examples using MVC3, CakePHP, CodeIgniter, Jquery, Database Optimzation, and Search Engine Optimization.

Bibliographic information