Rack::CoreData - Automatically generate REST APIs for Core Data models
An interesting project from Mattt to scaffold RESTful web services based on CoreData models using Rack.
require 'bundler'
Bundler.require
# Rack::CoreData requires a Sequel connection to a database
DB = Sequel.connect(ENV['DATABASE_URL'] || "postgres://localhost:5432/coredata")
run Rack::CoreData('./Example.xcdatamodeld')
In summary:• AFIncrementalStore: *poof* no client code.• Rack::CoreData: *poof* no server code.— Mattt Thompson (@mattt) July 24, 2012
View the Source for this project on GitHub.
Discussion
Sign in or Join to comment or subscribe