Re: Need advice on Models

2012-09-06 Thread Daniel Bryan
If you're new to the world of web development, it might help to have a bit of context on what Camping's models actually are. ActiveRecord is an abstraction of a database that's primarily developed for use in the Ruby on Rails framework, which you could argue Camping is to some extent a rebellion

Re: Camping + Couch DB

2012-04-25 Thread Daniel Bryan
Hi David, Unfortunately, both the ShyCouch and CouchCamping libraries are far from production ready. The former was mostly a learning project, and the latter was.. bad for many more reasons than just that. I don't think either are of any use for examples, or for something you'd try to support in

Re: framework size, forking etc.

2012-04-18 Thread Daniel Bryan
Thought I'd weigh in for what it's worth, My naive first impression of Camping basically took no notice of the whole 3/4k thing. I appreciate that it's a cool programming feat, and I love the attitude that lead to it, but at the time my focus was on trying to figure out what all these hidden

Is it possible to read session data from Camping::Session in a middleware?

2012-01-02 Thread Daniel Bryan
I'm trying to implement some simple middleware that will have behaviour based on session data. From looking at the source for Camping::Session and Rack::Session, I thought I'd just be able to put my own middleware between Camping::Session and my app. I tried doing it the same way that

Re: Is it possible to read session data from Camping::Session in a middleware?

2012-01-02 Thread Daniel Bryan
their work and return to the next layer leftward. — Jenna Fox On Monday, 2 January 2012 at 10:10 PM, Daniel Bryan wrote: I'm trying to implement some simple middleware that will have behaviour based on session data. From looking at the source for Camping::Session

Re: Since we're talking about couch

2011-09-30 Thread Daniel Bryan
i like it your library is nice n' neat On Saturday, 1 October 2011 at 10:37 AM, Jenna Fox wrote: Here's mine: https://github.com/Bluebie/chill Fairly short and simple, like couchdb. — Jenna ___ Camping-list mailing

Using CouchDB in Camping - looking for advice

2011-08-27 Thread Daniel Bryan
Hello camping people I've written a Ruby library for working with CouchDB. It's a pretty thin API - it provides a database object, a document object (a glorified hash) and a design object. In case anyone's not familiar with CouchDB, it's a schema-less JSON document database with a HTTP