Leanpub Header

Skip to main content

Hello Web App: Intermediate Concepts

Add in the components you need to build a successful and profitable web app.

You've deployed your first web app! Now what? Hello Web App: Intermediate Concepts builds upon the original Hello Web App web app tutorial. We'll learn about adding new features such as user-uploaded images, create an API, and take payments; as well as more conceptual concepts like databases and proper schema design and intermediate programming techniques.

Minimum price

$14.95

$24.95

You pay

$24.95

Author earns

$19.96

Packages

Details
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
182
Pages
About

About

About the Book

Hello Web App was released in May 2015, dedicated to introducing new programmers and front-end developers to the joys of web app development. In 144 pages, readers were taken from ideation to deployment, getting them on the path of successful web app development.

Hello Web App: Intermediate Concepts follows up on Hello Web App and helps readers add more difficult web app features, such as:

  • Working with custom forms.
  • Integrating payments (using Stripe).
  • Adding an API.
  • Setting up Sass and Bootstrap for more efficient front-end development.
  • Adding user-uploaded images.
  • And more!

Hello Web App: IC also covers more intermediate programming theory, such as:

  • Databases, schema design, and queries.
  • Class-based views.
  • The importance of reading source code.

Take your web app skills to the next level with this book.

Share this book

Categories

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF, EPUB, and Web

The Book

Minimum price

Suggested price$14.95

$9.95

    Add the Custom Designed PDF

    Minimum price

    Suggested price$24.95

    Add the custom designed Hello Web App Intermediate Concepts PDF to your order!

    $14.95

    • The Custom Designed PDF
      The custom designed Hello Web App Intermediate Concepts PDF — the same design that is in the printed paperback.

    This book is also available in the following packages:

    • Complete Hello Web App: IC Package

      The entire Hello Web App collection — Leanpub PDF, .mobi, and .ePub files, custom designed PDF, and 11 instructional screencasts to walk you through Hello Web App: Intermediate Concepts.

      • The Custom Designed PDF
        The custom designed Hello Web App Intermediate Concepts PDF — the same design that is in the printed paperback.
      • Instructional Videos
        10 videos walking through every chapter of the book.
      Minimum price
      $79.00
      Suggested price
      $79.00

    Author

    About the Author

    Tracy Osborn

    Designer, developer, author, entreprenerd. Program manager at TinySeed. Author of Hello Web Books. Blogging at tracyosborn.com.

    Leanpub Podcast

    Episode 74

    An Interview with Tracy Osborn

    Contents

    Table of Contents

    Introduction

    1. Prerequisites
    2. Our discussion forum

    Creating a Contact Form and Working with Custom Forms

    1. Set up the URL
    2. Set up the view
    3. Set up the form
    4. Create the template
    5. Set up your local email server
    6. Add the email logic
    7. Create a template for your email
    8. Improve the form (optional)
    9. Set up our live email server (optional)
    10. Things that could be improved
    11. Your contact form is complete!

    Adding a New Model and Working With Multiple Models

    1. Proper schema design: multiple tables can be better than just one big table
    2. How to add a new model to your app
    3. Add to your admin
    4. Access the new view from your views

    Adding Easy Admin Emails, Helpers, Sitemaps, and More

    1. Adding an admin email shortcut to your views
    2. Adding created and last-modified dates using an abstract model
    3. Helper functions on your model
    4. Adding sitemaps
    5. A bit about class-based views and Django’s generic views

    Adding User-Uploaded Images

    1. Adding a model for images
    2. Showing the image in the templates
    3. Adding the Upload model to your admin page
    4. Setting up the template to display images
    5. Uploading files in the templates

    Editing and Resizing Images

    1. Installation reminder
    2. Testing out resizing, adding filters, and saving your images
    3. Updating your model’s save method to resize images

    Setting Up Django Messages for Alerts

    1. Add the messages block to your base template
    2. Sending over messages from the view
    3. Other message types

    Front-End Fun: Adding Gulp, Sass, and Bootstrap

    Reading Source Code And Setting Up a Form to Edit User Email Addresses

    1. Setting up the form
    2. Setting up the view and the template

    Adding Payments with Stripe

    1. Quick note about HTTPS and securing your app
    2. Setting up Stripe
    3. A note about test and live keys
    4. Add your test keys to your settings
    5. Determining the payment flow
    6. Set up your templates
    7. Create the URL and the view
    8. Add a plan to Stripe
    9. Update your view to subscribe the customer to a plan
    10. Setting up error catching
    11. Add a flag to your model to indicate “upgraded” objects
    12. All the additional ways to improve the payment functionality on your app
    13. Additional resources and information
    14. Congrats, you’ve added payments to your app!

    Adding an API

    1. The essence of an API
    2. Installing Django REST Framework
    3. Setting up a very simple API
    4. Just the tip of the iceberg

    Working with Sessions

    1. What are sessions?
    2. Saving, accessing, and removing session data in the view
    3. Some caveats

    Creating Your Own Scripts and a Bit About Cron Jobs

    1. Creating a script
    2. Setting up scheduling to run the script automatically
    3. A note about normal scripts, not Django management commands

    Database Pitfalls

    1. Getting information about your queries with the Django Debug Toolbar
    2. Optimizing queries
    3. Other optimization methods

    Additional Information and Resources

    1. Different versions and updates — what should I do?
    2. Other resources
    3. Keep in touch with Hello Web App!

    Special Thanks

    1. Super thanks to Hello Web App’s sponsors
    2. Book reviewers, editors, and testers
    3. Kickstarter backers

    References

    Friendly Note

    About the Author

    Get the free sample chapters

    Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

    The Leanpub 60 Day 100% Happiness Guarantee

    Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

    Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

    You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

    So, there's no reason not to click the Add to Cart button, is there?

    See full terms...

    Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

    We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

    (Yes, some authors have already earned much more than that on Leanpub.)

    In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

    Learn more about writing on Leanpub

    Free Updates. DRM Free.

    If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

    Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

    Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

    Learn more about Leanpub's ebook formats and where to read them

    Write and Publish on Leanpub

    You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

    Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

    Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

    Learn more about writing on Leanpub