Building a Parse.com Enabled PhoneGap App - Part 1
It's been a quiet week here on the blog. I apologize for that. Been head deep into presentation preparation and writing along with lots of other fun personal stuff. Things y'all don't care about and that's perfectly fine. ;) Even when I'm not writing blog entries though I'm typically planning some for the future. Last week I wrote a quick proof of concept demonstrating how to use Parse.com to store data and support offline mode. This came up in a user group meeting I was presenting at and when I described Parse.com to the attendees there was a huge amount of interest. I first blogged on Parse.com back in January of this year, but the service has come a long way since then and has some incredible features. I've decided to start a simple blog series that walks through the steps of creating a PhoneGap application making use of Parse.com. It won't necessarily be the most serious of all applications, but it will demonstrate some of the more interesting aspects of the platform and be completely open source.
For the first entry, I've decided to do something completely radical. I'm not going to show any code. No code at all. Zip. I'm tweaking out a bit about that, but I think if I try hard enough I can actually accomplish posting a blog entry without a line of code in it.
Instead, I'm going to describe the application and share a prototype I built using Adobe Proto. Proto is a tablet application that lets you quickly design web sites and mobile apps. You use familiar typing tools (along with some cool gesture support) to layout pages. You can add dummy text, basic forms, and even create links between various pages. As an example:
The most powerful aspect, I think, is that you can add interactivity to your prototypes. Forms can be manipulated and buttons can link to other pages.
So the app? Simple - the Cow Tip Line:
The Cow Tip Line will be the cow tippers best friend. You can use it to report places to tip cows and find cows to tip. And - err - well that's it. I began by defining a simple home page in Proto:
The top bar is my navigation bar. I only wanted one button but Proto wouldn't allow for that. (Actually, I could have just used a regular button, but I liked how the menu looked.) Beneath the top bar is space for my logo and some basic text, and then two buttons that lead right into the next pages. Here's the form for reporting a prime cow tipping location:
Followed by the report interface.
As I mentioned, you are able to add basic interactivity to these pages and export them as HTML. I've got a version online now you can click away at.
As a quick tip - on the form - try clicking the drop down. I was able to define those values within Proto itself. I didn't really need to go through all that but it adds the extra level of realism that makes for an even better prototype.
Will I use any of this HTML? Maybe. But even if I don't - just having the screens in place gives me direction for where to go next.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)