iOS Tutorial HooDyooDoo Tutorial

View the Project on GitHub FatFractal/hoodyoodoo

Overview

Developing on a new platform can be challenging. In fact, that’s why we launched FatFractal. Building your mobile app together with your app’s powerful API is easier than ever before. But like you, we believe the proof is in the pudding: it’s one thing to create little “hello world” tests and quite another to build an entire app.

The purpose of this tutorial is to take you through every aspect of our platform from the point of view of an iOS developer. We will walk step-by-step through the process in the Xcode. If you haven’t done a lot of coding for iPhone devices, you can learn a little bit about that as well. Side benefit.

The tutorial steps you through the creation of a native iOS application we call Hoodyoodoo, from start to finish, to illustrate some of the capabilities of the NoServer framework.

The source code for this app can be downloaded: the whole app is divided into five, compilable chunks that can be run independently, in case you want to tackle the sections in order. If you want to just look through the final, complete application, you can do that as well. You can download the complete tutorial files.

The app itself is, conceptually, a simple game. The end-user is presented with two, random pictures of celebrities (or whomever) and selects the one the end-user would, um, “do;” naturally, we mean “do dinner with.” Although the game is played by one individual at a time, per phone, it is really a multi-user experience because the app’s API keeps track of everyone playing the game, tallying who’s chosen in each case and maintaining a bunch of stats. We think you will be pleasantly amazed at how quickly you can build the app, from start to finish, without ever dealing with the frustrating “API nonsense.”

Tutorial Part 1: Basic CRUD operations

In Part I, we define a class, write some unit tests to validate our app can perform all CRUD operations properly and then create the UI to add Celebrities to our app's datastore into our UI and prove we can retrieve them.

In Part I, we will accomplish the following:

Tutorial Part 2: How to Use Queries

In Part II, we  implement the methods to create the data collected during game-play. We define an object, WouldYa, to  store  end-user selections, create the UI to present two celebrities to choose from, write  queries to populate the UI and store the results on our API.

In Part II, we will accomplish the following:

Tutorial Part 3: Event Handlers

In Part III, we focus on data tracking, which includes keeping track of the most popular celebrity-of-the-moment. Using ever-available CRUD events on our API, we will write a down-and-dirty event handler in JavaScript for use on the server-side (!). We could do this from the client side, but that would be inefficient and unreliable.

In Part III, we will accomplish the following:

Tutorial Part IV: Server Extensions

In Part IV, we will tackle trending data across all our end-users by extending our API. We will create a groovy API extension that will efficiently aggregate data across multiple resource types. Yes, we are showing off how the NoServer Framework allows us to extend our API–but this is also far more efficient for the client code and to optimize performance.

In Part IV, we will accomplish the following:

Tutorial Part V: Push Notifications

Finally, in Part V, we will top off our app by adding something everybody loves to have but hates to code: push notifications! Using a server extension, we'll fire off a push notification to Hoodyoodoo users every time a new Top Celebrity is crowned, because we know you don't want to miss an event like that!

iOS Tutorial
Android Tutorial
HTML5/JS Tutorial
iOS Tutorial
Android Tutorial
HTML5 Tutorial