You are previewing 20 Recipes for Programming MVC 3.
O'Reilly logo
20 Recipes for Programming MVC 3

Book Description

The goal of this book is to provide web developers a "cookbook" of "recipes" that are required by many developers on a day-to-day basis. Each code sample contains a complete working example of how to implement authentication, email, AJAX, data validation, and many other examples. You will quickly find yourself referring to one of these samples for every website that you will build.

Table of Contents

  1. Dedication
  2. Special Upgrade Offer
  3. A Note Regarding Supplemental Files
  4. Preface
    1. About The Book
    2. Prerequisites
    3. Conventions Used in This Book
    4. Tools
    5. Using Code Examples
    6. SafariĀ® Books Online
    7. How to Contact Us
  5. 1. The Recipes
    1. 1.1. Restricting Access to Views with Password Protection
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    2. 1.2. Automating Generation of Controllers and Views
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    3. 1.3. Validating User Input
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    4. 1.4. Implementing Multiple Languages
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    5. 1.5. Sending a Welcome Email
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    6. 1.6. Retrieving a Forgotten Password
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    7. 1.7. Sorting a List of Results
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    8. 1.8. Paging Through a List of Results
      1. Problem
      2. Solution
      3. Discussion
    9. 1.9. Filtering a List of Results
      1. Problem
      2. Solution
      3. Discussion
    10. 1.10. Searching a List of Results by Keyword
      1. Problem
      2. Solution
      3. Discussion
    11. 1.11. Uploading a File Through a Form
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    12. 1.12. Resizing an Image to Create a Thumbnail
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    13. 1.13. Implementing Ajax to Enhance the User Experience
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    14. 1.14. Submitting a Form with Ajax
      1. Problem
      2. Solution
      3. Discussion
    15. 1.15. Enabling a CAPTCHA
      1. Problem
      2. Solution
      3. Discussion
    16. 1.16. Mobilizing Your Website
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    17. 1.17. Paging Through Content Without the Pages
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    18. 1.18. Displaying Search Results While Typing
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    19. 1.19. Routing Users to a Specific Controller and Action
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    20. 1.20. Caching Results for Faster Page Loads
      1. Problem
      2. Solution
      3. Discussion
      4. See Also
    21. 1.21. Going Further
  6. About the Author
  7. Special Upgrade Offer
  8. Copyright