O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

iOS eCommerce App Development with Parse

Book Description

iOS eCommerce App Development with Parse uses a real-world app example to teach you how to build a complete eCommerce iPhone app powered by Parse—the most popular and powerful Platform as a Service (PaaS) provider.

In this comprehensive guide you will learn about collecting application requirements, architecting the app, designing the user interface, creating the data model, managing products and the shopping cart, processing the payment, and fulfilling the order—always with secure best practice in mind. You will also learn how to manage user account creation, log in with Facebook and Twitter, verify users via email, pay with Stripe and Apple Pay, send email with Mailgun, and manage customer payment methods and order history.

Intermediate knowledge of iOS development and object-oriented programming is assumed, and basic knowledge of e-commerce principles will be of benefit too. The author is a successful iPhone app developer whose real-world experience is now brought to print. Master iOS eCommerce app development with Parse today.

Table of Contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents at a Glance
  5. Contents
  6. About the Author
  7. About the Technical Reviewer
  8. Introduction
  9. Chapter 1: Requirements
    1. Common Application Requirements
      1. The Apple Store App
      2. Required Features List
    2. Prerequisites
      1. iOS Developer Program
      2. Development Environment
    3. The Beauty & Me Sample iPhone App
    4. Summary
  10. Chapter 2: Planning and Building the Prototype
    1. Designing the User Experience
      1. Shop
      2. My Account
      3. Shopping Bag
      4. Sign Up or Log In
    2. Put It All Together
    3. Summary
  11. Chapter 3: Parse Fundamentals
    1. Interacting with Objects: PFObject
    2. Retrieving Data: PFQuery
    3. Creating Relations between Objects
      1. Using Pointers
      2. Using Arrays
      3. Using Parse Relations
      4. Joining Tables
    4. Introducing a Special Parse Object: PFUser
    5. Loading and Displaying Images: PFImageView
    6. Displaying an Image in a Cell: PFTableViewCell
    7. Querying and Showing Data: PFQueryTableViewController
    8. Summary
  12. Chapter 4: Parse Project Setup
    1. Keep Track of Your Keys: EMABConstants Class
    2. Create a New Parse App
    3. Set Up Payment: Stripe
    4. Set Up Transactional E-Mails: Mailgun
    5. Set Up Facebook Login
    6. Manage Dependencies: Cocoapods
    7. Install the Podfile
    8. Implement a Progress Indicator: SVProgressHud
    9. Summary
  13. Chapter 5: Product Category
    1. Product Category Model
    2. Product Category View
    3. Product Category Controller
    4. Putting It All Together: UIStoryboard
    5. Add Sample Data
    6. Summary
  14. Chapter 6: The Products Screen
    1. The Product Model
    2. The Product View
    3. The Product Controller
    4. Add Sample Data
    5. Add a Search Feature
    6. Add a Filter Option
    7. Summary
  15. Chapter 7: The Product Detail Screen
    1. Build the Product Detail Screen
    2. Add Share Options
    3. Add a Favorites List
    4. Summary
  16. Chapter 8: The Sign-Up Feature
    1. Build a Dispatch Screen
    2. The Sign-up Model
    3. The Sign-up View
    4. The Sign-up Controller
    5. Summary
  17. Chapter 9: The Login Feature
    1. Using Direct Log In
    2. Using Facebook Login
    3. Summary
  18. Chapter 10: Shopping Bag
    1. Shopping Bag Model
    2. Shopping Bag View
    3. Shopping Bag Controller
    4. Summary
  19. Chapter 11: Shipping Address
    1. Shipping Address Model
    2. Shipping Address View
    3. Shipping Address Controller
    4. Summary
  20. Chapter 12: Pay with Credit Card
    1. Payment Model
    2. Payment View
    3. Payment Controller
      1. Summary
  21. Chapter 13: Pay with Apple Pay
    1. Overview of Apple Pay
    2. Apple Pay and Stripe
    3. Summary
  22. Chapter 14: Charge and E-Mail
    1. Create and Charge a Customer
    2. Parse Cloud Code
    3. The Parse Command-Line Tool (CLT)
    4. Parse Cloud Modules
    5. Create a Stripe Customer
    6. Charge Customer
    7. Charge Token
      1. Summary
  23. Chapter 15: My Account
    1. Create the My Account Screen
    2. Contact Info
    3. Payment Method
      1. View
      2. Controller
    4. My Order History
      1. View
      2. Controller
    5. Favorite Products
      1. Model
      2. View
      3. Controller
    6. Summary
  24. Chapter 16: Add Product
    1. Model
    2. View
    3. Controller
      1. Upload a Product Photo
      2. Enter Product Name, Price, Unit Price, and Product Summary
      3. Select Brand
      4. Save
    4. Summary
  25. Chapter 17: Promotion
    1. Model
    2. View
    3. Controller
      1. Summary
  26. Chapter 18: Security
    1. Keys
    2. Permissions
    3. Access Control List (ACL)
    4. Cloud Code
    5. Sessions
    6. Summary
  27. Chapter 19: More from Parse
    1. E-Mail Verification
    2. Password Reset
    3. Analytics
    4. Crash Report
    5. Summary
  28. Index