DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Building a Parse.com Enabled PhoneGap App - Part 1

Raymond Camden user avatar by
Raymond Camden
·
Oct. 30, 12 · Interview
Like (0)
Save
Tweet
Share
5.07K Views

Join the DZone community and get the full member experience.

Join For Free

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.

http://www.raymondcamden.com/demos/2012/sep/21/Index.html

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.

Speaking of that - in the next part I'll walk you through the Parse.com set up process and what we need for a JavaScript application.

 

 

 

mobile app

Published at DZone with permission of Raymond Camden, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • DevOps Roadmap for 2022
  • How to Quickly Build an Audio Editor With UI
  • Exploring the Benefits of Cloud Computing: From IaaS, PaaS, SaaS to Google Cloud, AWS, and Microsoft
  • Explainer: Building High Performing Data Product Platform

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: