Web Apps with web2py: Decorators, Foreign Key Constraints, & Table Forms

web2py 2.21    |    Intermediate
  • 11 Videos | 1h 23m 7s
  • Includes Assessment
  • Earns a Badge
When it comes to creating fully-fledged, professional-looking e-commerce web applications, there are a lot of little details that come into play. For instance, it's important to have functionality such as a shopping cart, or perhaps the ability for a user to browse the category of merchandise they may be interested in. In this course, learn how to add product creation functionality for the admin of the e-commerce site. Then, practice implementing a shopping cart using foreign key constraints. Next, identify how to use web2py decorators such as a login decorator to ensure that a user has to log in before they can view certain functionality. Finally, examine how to add in filtering functionality so your users can select the category of products to browse.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    outline how to incorporate a SQLFORM into a web2py app to enable database inserts from the UI
    illustrate how to add rows to a database table using a SQLFORM and recognize its validation features
    demonstrate how to map a URL to an individual row in a relational database to enable access to resources
    identify how to render the data retrieved from individual rows in a database in a web2py app
    recognize how foreign key references can be implemented when defining a table for a web2py app
  • illustrate how to apply a web2py decorator to ensure only signed-in users can access sections of your web site
    outline how to display the contents of an e-commerce shopping cart
    list the steps to allow for removal of items from a shopping cart, while also updating the product inventory
    identify how to allow users to search for specific categories of products by defining a filter
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 8s
    UP NEXT
  • Playable
    2. 
    Using SQLFORMs
    9m 28s
  • Locked
    3. 
    Inserting Data into a Table Using a SQLFORM
    7m 43s
  • Locked
    4. 
    Accessing Individual Database Records
    6m 36s
  • Locked
    5. 
    Displaying Single Records
    8m 35s
  • Locked
    6. 
    Defining a Table with Foreign Key References
    7m 54s
  • Locked
    7. 
    Enabling Authenticated User Features
    9m 7s
  • Locked
    8. 
    Implementing a Shopping Cart
    9m 56s
  • Locked
    9. 
    Enabling Shopping Cart Item Removal
    8m 17s
  • Locked
    10. 
    Setting up Web Page Filters
    10m 37s
  • Locked
    11. 
    Course Summary
    2m 46s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.