Shopify Application Development
()
About this ebook
Related to Shopify Application Development
Related ebooks
JavaScript Security Rating: 4 out of 5 stars4/5Python for Google App Engine Rating: 0 out of 5 stars0 ratingsLearning jQuery 3 - Fifth Edition Rating: 0 out of 5 stars0 ratingsRuby on Rails Web Mashup Projects Rating: 0 out of 5 stars0 ratingsBuilding E-Commerce Solutions with WooCommerce - Second Edition Rating: 0 out of 5 stars0 ratingsLearning Bootstrap Rating: 1 out of 5 stars1/5Instant Responsive Web Design Rating: 5 out of 5 stars5/5ReactJS by Example - Building Modern Web Applications with React Rating: 4 out of 5 stars4/5PHP 7 Programming Blueprints Rating: 0 out of 5 stars0 ratingsMastering Sass Rating: 0 out of 5 stars0 ratingsModular Programming with PHP 7 Rating: 0 out of 5 stars0 ratingsJavaScript Regular Expressions Rating: 3 out of 5 stars3/5HTML for the Business Developer: with JavaServer Pages, PHP, ASP.NET, CGI, and JavaScript Rating: 3 out of 5 stars3/5OpenCart Theme and Module Development Rating: 0 out of 5 stars0 ratingsDomain-Driven Design in PHP Rating: 0 out of 5 stars0 ratingsApache Solr PHP Integration Rating: 0 out of 5 stars0 ratingsReact Projects: Build 12 real-world applications from scratch using React, React Native, and React 360 Rating: 0 out of 5 stars0 ratingsExpress Web Application Development Rating: 3 out of 5 stars3/5Laravel 5 Essentials Rating: 0 out of 5 stars0 ratingsMastering PHP Design Patterns Rating: 0 out of 5 stars0 ratingsNode.js High Performance Rating: 0 out of 5 stars0 ratingsMastering PHP 7 Rating: 1 out of 5 stars1/5Getting Started with WebRTC Rating: 0 out of 5 stars0 ratingsASP.NET Core 3 and React: Hands-On full stack web development using ASP.NET Core, React, and TypeScript 3 Rating: 0 out of 5 stars0 ratingsGetting Started with React Rating: 0 out of 5 stars0 ratingsWebRTC Blueprints Rating: 0 out of 5 stars0 ratingsMastering JavaScript Design Patterns - Second Edition Rating: 5 out of 5 stars5/5WooCommerce Cookbook Rating: 0 out of 5 stars0 ratingsBackend Handbook: for Ruby on Rails Apps Rating: 1 out of 5 stars1/5WordPress Plugin Development: Beginner's Guide Rating: 0 out of 5 stars0 ratings
Programming For You
Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5Mastering Windows PowerShell Scripting Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5TensorFlow in 1 Day: Make your own Neural Network Rating: 4 out of 5 stars4/5Learn SQL in 24 Hours Rating: 5 out of 5 stars5/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5C Programming for Beginners: Your Guide to Easily Learn C Programming In 7 Days Rating: 4 out of 5 stars4/5OneNote: The Ultimate Guide on How to Use Microsoft OneNote for Getting Things Done Rating: 1 out of 5 stars1/5Python QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsThe Unofficial Guide to Open Broadcaster Software: OBS: The World's Most Popular Free Live-Streaming Application Rating: 0 out of 5 stars0 ratingsSecrets of the JavaScript Ninja Rating: 4 out of 5 stars4/5
Reviews for Shopify Application Development
0 ratings0 reviews
Book preview
Shopify Application Development - Michael Larkin
Table of Contents
Shopify Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Shopify
Revealing Shopify's power
Deciding which type of app to build
Discovering the API
Exploring webhooks
Orders
Products
Shop/Application
Getting ready to build an app
Summary
2. Setting Up
Choosing a development tool
Setting up our development environment
Installing a Ruby management tool
Installing Ruby
Creating the application directory
Installing Rails
Generating a Rails app
Installing Twitter Bootstrap
Setting up source control
Deploying to Heroku
Summary
3. Building a Private App
Signing up for Shopify
Understanding our workflow
Building the application
High-level requirements
Installing a few necessary gems
Storing Shopify API credentials
Connecting to Shopify
Retrieving product information from Shopify
Retrieving order information from Shopify
Cleaning up the UI
Updating the sidebar
Updating orders, products, and variants
Cleaning up the rest of the site
Picking a winner from a list
Creating contests
Summary
4. Going Public
High-level requirements
Supporting multiple accounts
Authorizing user access to data
Verifying Shopify requests
Verifying HTTP GET/POST requests
Verifying webhook requests
Installing from the Shopify App Store
Subscribing to and processing Shopify Webhooks
Summary
5. App Billing and Publication
High-level requirements
Adding free and paid plans
Integrating with the Shopify Billing API
Supporting recurring charges
Publishing in the Shopify App Store
Summary
Index
Shopify Application Development
Shopify Application Development
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2014
Production Reference: 1210514
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-105-3
www.packtpub.com
Cover Image by Benoit Benedetti (<benoit.benedetti@gmail.com>)
Credits
Author
Michael Larkin
Reviewers
Joey deVilla
Christophe Favresse
M. Scott Ford
Will Rossiter
Zac Williams
Acquisition Editor
Meeta Rajani
Content Development Editor
Athira Laji
Technical Editors
Ankita Jha
Sebastian Rodrigues
Copy Editors
Tanvi Gaitonde
Insiya Morbiwala
Shambhavi Pai
Laxmi Subramanian
Project Coordinators
Melita Lobo
Jomin Varghese
Proofreader
Simran Bhogal
Indexers
Mariammal Chettiyar
Monica Ajmera Mehta
Production Coordinator
Saiprasad Kadam
Cover Work
Saiprasad Kadam
About the Author
Michael Larkin has been building software professionally for over a decade and has worked on large and small projects for companies across the globe. He has been working with Shopify for over five years and has co-created the first ever Shopify app, available at http://fetchapp.com. He has also worked on dozens of Shopify stores for which he built custom applications, modified existing themes, and added complex JavaScript to enhance the shopper's experience.
I would like to thank my wife, Sarah, for her help and patience while I was writing this book. I'd also like to thank my colleagues and friends who offered their professional and technical expertise as reviewers. Additionally, I'd like to thank the folks over at Jaded Pixel for creating such an excellent platform. Finally, I'd like to thank Packt Publishing for making all of this possible.
About the Reviewers
Joey deVilla has worked on all sorts of projects, such as creating Olympic athlete training software, CD-ROM directories for every mall in America with Visual Basic, Python-powered gift certificates, travel agency websites, the frontend for the censorship-thwarting project Peekabooty in C++, Duke of URL in PHP that suggests domain names, and a failed social networking app for frat dudes and dudettes in Ruby on Rails. He's also done some technical evangelism for OpenCola, Tucows, Microsoft, and Shopify. He's currently stirring up trouble in the mobile industry, and when he's not doing that, he's stirring up trouble playing Nine Inch Nails, AC/DC, and Britney Spears on his accordion.
I'd like to thank my family and Anitra for helping me during some really crazy times.
Christophe Favresse developed a passion for e-commerce technologies, and in early 2013, launched his wife's online retail business (www.favresse.com) powered by Shopify and Amazon fulfillment services. In less than one year, this website attracted customers from eight EU countries and the U.S. Christophe, an international sales executive in the software industry, has spent the last 15 years prospecting telecom operators and providing CRM, marketing, and risk assurance solutions to optimize their customer lifetime value and revenues. He has spent two years in Thailand and 15 years in the UK. He currently lives near Nice (France) with his wife and four children. He holds a master's degree in International Marketing from Michael Smurfit School of Business (Ireland) and a bachelor's degree in Economics from Solvay Brussels School (Belgium).
M. Scott Ford has been developing software for the last 15 years. He's worked in many industries, from aerospace to e-commerce. His goal is to stay a polyglot developer. He's worked with many different languages and frameworks over the years, but his favorites are Ruby, JavaScript, and Objective-C.
Scott is the founder of corgibytes (http://corgibytes.com), a consulting company with a focus on legacy applications. This is where he applies a pragmatic, test-focused approach to working with existing code. This results in a new life for apps that would otherwise have to be rewritten or abandoned.
Will Rossiter is a Senior Web Developer for DNA Design in New Zealand; he oversees the architecture, development, and maintenance of large-scale web applications across a range of platforms and technologies, including Shopify, WordPress, SilverStripe, Node.js, and Ruby on Rails. He is the creator and maintainer of the grunt-shopify plugin for publishing Shopify themes.
Zac Williams is a Full Stack Web Developer from Birmingham, Alabama with over 10 years of experience. Although he has experience with a variety of frameworks and languages, his specialties are Ruby on Rails and JavaScript. He has experience working on high-traffic web applications across multiple industries, such as e-commerce, healthcare, and higher education.
www.PacktPub.com
Support files, eBooks, discount offers, and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.