No commit activity in last 3 years
No release in over 3 years
Tool to generate concrete subclasses of existing Parse.com model objects in a variety of languages.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
 Project Readme

parse-model-scaffold

This project is a work in progress!

This project aims to provide a simple way to create concrete subclasses of your Parse.com 'classes' in a variety of languages. This could be used as part of a CI process to keep Parse.com and your codebase in sync or simply as a way to boostrap Parse.com integration in a new environment. Where possible, the code this project generates will extend the PFObject representation in the Parse.com SDK for the given language.

The following languages are currently supported. If you don't see your preferred language, pull requests are welcome! PFScaffolder will generate all languages by default.

Usage

gem install parse-model-scaffold

Library

require 'parse_model_generator'

scaffolder = Parse::Model::Scaffold::PFScaffolder.new 'parse_app_id', 'parse_api_key'

scaffolder.generate 'ParseClassName'
scaffolder.generate ['ParseClassName1', 'ParseClassName2']
scaffolder.generate ['ParseClassName1', 'ParseClassName2'], [:objc]

Executable

Parse-model-scaffold ships with a thin executable wrapper around the library to facilitate scripted usage.

# Generate scaffolding in all languages for the following classes
parse-model-scaffold --appid 'parse_app_id' --apikey 'parse_api_key' --classes 'ParseClassName1','ParseClassName2'

# Limit to just Objective-c
parse-model-scaffold --appid 'parse_app_id' --apikey 'parse_api_key' --classes 'ParseClassName1','ParseClassName2' --types 'objc'