You are previewing Application Development with Parse using iOS SDK.
O'Reilly logo
Application Development with Parse using iOS SDK

Book Description

Parse lets you focus on creating engaging apps on any platform while keeping your data and code in the cloud. It’s a mold-breaking approach to mobile app development and this tutorial brings you right up to speed.

  • Build your applications using Parse iOS which serves as a complete cloud-based backend service

  • Understand and write your code on cloud to minimize the load on the client side

  • Learn how to create your own applications using Parse SDK, with the help of the step- by- step, practical tutorials

  • In Detail

    Parse using iOS SDK is a new technology, and is the first of its kind in the field of mobile application development. It provides you the cloud where you can keep your data, host your code, and even your website without any hassle. It provides SDK so that you can access your data through your mobile and web applications.

    This practical, hands- on guide will help you to instantly get started with Parse iOS. It is packed with step- by- step exercises, which will help you to take advantage of the real power of the Parse iOS cloud backend service, and provides you with an example- based approach to help you build applications using Parse iOS.

    Starting with Parse iOS installation, we will move onto integration, and finally, this guide will end with the development of an application using Parse iOS. You will also learn about securing your application data by specifying ACL and Roles to your data objects. We will also learn about configuration in detail, and the implementation of cloud code to make your application lighter on the client side. You can take advantage of iCloud by hosting your website as well.

    You will learn everything that you need to know to develop your application using Parse iOS as a backend.

    Table of Contents

    1. Application Development with Parse using iOS SDK
      1. Table of Contents
      2. Application Development with Parse using iOS SDK
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Getting Started with Parse
        1. Parse backend service
        2. Advantages of using Parse
        3. Setting up accounts and applications on Parse
        4. Integrating Parse in an iOS project
        5. Setting up Parse
        6. Summary
      9. 2. Parse Objects and Queries
        1. Parse objects
          1. PFObject
        2. Operations on Parse objects
          1. Saving objects
          2. Fetching objects
          3. Saving objects offline
          4. Updating objects
          5. Updating counters
          6. Storing data in an array format
          7. Deleting objects
        3. Relations and data types
          1. Relations
          2. Data types
        4. Working with queries
          1. Using predicates
          2. Adding query constraints
        5. Relational and complex queries
          1. Array-based queries
          2. String-based queries
          3. Relational queries
          4. Counting objects
          5. Compound queries
          6. Caching queries
        6. Summary
      10. 3. Subclasses and Files
        1. Subclassing PFObject
        2. Customizing properties and methods
          1. Initializing subclasses
          2. Creating queries
        3. Handling files
          1. PFFile
          2. Saving images
        4. Tracking progress
        5. Summary
      11. 4. Parse Analytics
        1. Integrating Parse analytics
          1. Tracking pages
          2. Clearing all badges
        2. Reading analytics data
        3. Data usage
        4. Advantages of analytics
        5. Summary
      12. 5. Push Notifications
        1. Setting up push notifications
          1. Creating an SSL certificate
          2. Generating certificate requests
          3. Setting up your App ID
        2. Creating your provisioning profile
          1. Configuring your Parse app
          2. Configuring an iOS application for push notifications
          3. Installation
        3. Sending push notifications
          1. Parse websites
          2. Parse apps
          3. Cloud Code
        4. Sending notifications
          1. Channels
            1. Subscribing to channels
            2. Sending push notifications to channels
        5. Using advanced targeting
          1. Sending pushes to queries
          2. Customizing notifications
          3. Platform-based targeting
        6. Receiving push notifications
        7. Responding to payload
        8. Summary
      13. 6. Users and Roles
        1. PFUser
        2. User login
          1. Signing up
          2. Verifying the user
        3. Logging in
          1. Saving the user's data
          2. Creating an anonymous user
        4. Resetting passwords
          1. Writing user queries
        5. Providing security
          1. Updating the user object
          2. Securing objects
        6. Assigning roles
          1. PFRole
          2. Securing the role object
          3. Securing other objects
          4. Implementing role hierarchy
        7. Summary
      14. 7. Social Media Integration
        1. Integrating Facebook
          1. Prerequisites
          2. Setting up the application
          3. Signing up on Facebook
          4. Publishing on Facebook
          5. Requesting user data
          6. Linking users
          7. Logging out
          8. Keeping users logged in
        2. Integrating Twitter
          1. Setting up Twitter
          2. Signing up and logging in
          3. Linking users
        3. Summary
      15. 8. Using Cloud Functions
        1. The cloud code
          1. Installing the command-line tool
          2. Setting up the cloud code
          3. Creating the cloud function
          4. Hosting a website
          5. Understanding complex functions
          6. Using cloud on the saved code
          7. Using cloud on the deleted code
        2. Summary
      16. 9. Error Handling and Security
        1. Error handling
        2. Securing your application data
        3. Exporting data
        4. Summary
      17. Index