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 y

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 insta

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

2012-01-02 Thread Daniel Bryan
quest travels in left to right along this line, then the response travels > back right to left as each 'call' method on the middleware objects finish > their work and return to the next layer leftward. > > > — > Jenna Fox > > > On Monday, 2 January 2012 at 10

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 Campin

Re: Mab: The tiny Markaby-alternative

2011-12-20 Thread Daniel Bryan
I think it's just as likely that people would want to use a data modelling alternative to ActiveRecord as it is that they'd want to use a templating language of their choice, so you're already kinda past the point of keeping out dependencies. Speaking as someone who tried Camping after very little

Re: Markaby license issue

2011-12-17 Thread Daniel Bryan
> We could even have extensions for things like ajax, so you could add onclick > properties with proc values, such that an ajax call back to the server (or > websockets or whatever) lets the server do stuff and mutate the dom or > replace the page entirely. I really like this idea, but don't yo

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-

Re: Using CouchDB in Camping - looking for advice

2011-08-28 Thread Daniel Bryan
eople the tools to really easily write a dynamic web app it seems like it could be useful. brain racing aaa Thanks for the help, Judofyr - Daniel / Cerales On Monday, 29 August 2011 at 1:54 AM, Magnus Holm wrote: > On Sun, Aug 28, 2011 at 04:58, Daniel Bryan (mailto:danbr...@gmail.c

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 interf