Re: Rack, Camping 2.0++

2008-05-25 Thread Christian Neukirchen
Magnus Holm [EMAIL PROTECTED] writes: I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb mongrel.rb). Yay! Please tell me when rack/adapters/camping.rb can be

Re: Rack, Camping 2.0++

2008-05-25 Thread zimbatm
Just wanted to comment a bit more : 2008/5/21 Magnus Holm [EMAIL PROTECTED]: I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb mongrel.rb). This is good ! I

Re: Rack, Camping 2.0++

2008-05-25 Thread _why
On Sun, May 25, 2008 at 02:47:39PM +0200, zimbatm wrote: This is not that hard to do. Maybe I should add some shortening tricks document. I propose platterizing to be done only before release. No, let's not have rules. I don't feel comfortable with having coding standards or any protocol on

Re: Rack, Camping 2.0++

2008-05-25 Thread zimbatm
2008/5/26 _why [EMAIL PROTECTED]: On Sun, May 25, 2008 at 02:47:39PM +0200, zimbatm wrote: This is not that hard to do. Maybe I should add some shortening tricks document. I propose platterizing to be done only before release. No, let's not have rules. I don't feel comfortable with having

Re: Rack, Camping 2.0++

2008-05-24 Thread Magnus Holm
I don't want to be the leader. I just want to contribute to one of the sweetest framework that exists in the Rubyverse! I'm going to contribute with what I can, and I suck at writing documentation and I have no intention to learn RDoc (ATM, maybe another day). (I still think that _why is the

Re: Rack, Camping 2.0++

2008-05-24 Thread Jeremy McAnally
If you can point to areas to document or changes you are making that need documentation, I'd be happy to write it for you. --Jeremy On Sat, May 24, 2008 at 12:51 PM, Magnus Holm [EMAIL PROTECTED] wrote: I don't want to be the leader. I just want to contribute to one of the sweetest framework

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
The problem is that almost all app require 'camping' and when bin/camping require 'camping-unabridged' things gets pretty messy. Right, didn't thought about that.. well then we have to come up with a Ruby2Ruby version, isn't it ? ___ Camping-list

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread Eric Mill
How is camping.rb created from camping-unabridged.rb? By hand? If that's the case, you can't expect the compressed camping.rb to be maintained once more than _why and zimbatm start wanting to contribute, you know? If it can be done by script, then by all means let's do that and include that

Re: obfuscation Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
How is camping.rb created from camping-unabridged.rb? By hand? Err.. yes. This is a kind of art you know ? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
2008/5/22 _why [EMAIL PROTECTED]: Splendid! If we can say Camping, the 3K Microframework, then I think we will really have a reason to bump the big number. I'll wait for a reaction from zimbatm, but I am euphoric about these changes. Wasn't the one who codes who leads ? :)

Re: Rack, Camping 2.0++

2008-05-23 Thread Magnus Holm
So should I just merge/rebase everything to my master, so _why can merge it into his? Some more notes: * camping/db.rb - camping/ar.rb * camping/session.rb - camping/ar/session.rb * CookieSession - camping/session.rb The documentation and the names (Camping::Session, Camping::ARSession?) needs

Re: Rack, Camping 2.0++

2008-05-23 Thread zimbatm
2008/5/23 Magnus Holm [EMAIL PROTECTED]: So should I just merge/rebase everything to my master, so _why can merge it into his? Some more notes: * camping/db.rb - camping/ar.rb * camping/session.rb - camping/ar/session.rb * CookieSession - camping/session.rb The documentation and the names

Re: Rack, Camping 2.0++

2008-05-22 Thread _why
On Wed, May 21, 2008 at 09:26:52PM +0200, Magnus Holm wrote: I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb mongrel.rb). Splendid! If we can say Camping, the

Re: Rack, Camping 2.0++

2008-05-22 Thread Magnus Holm
If you're going to build cookie sessions in to the core, it should either do the rails thing of using multiple cookies when one is not enough for the data, or raise a descriptive exception explaining why there's a problem and how switching to the database sessions thingo will solve that.

Re: Rack, Camping 2.0++

2008-05-22 Thread Bluebie, Jenna
I really think shorter escaping methods are important, see if you can't include Rack::Utils or something Aside from that, it all sounds yummy! On 22/05/2008, at 8:32 PM, Magnus Holm wrote: If you're going to build cookie sessions in to the core, it should either do the rails thing of using

Re: Rack, Camping 2.0++

2008-05-22 Thread ironald
Camping.goes :Forward ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Rack, Camping 2.0++

2008-05-22 Thread Jerry West
Excellent work; IMHO this makes camping a viable contender again! +1 to your 2.0/2.1 plan Jerry Magnus Holm wrote: === 5. Camping 2.0 === Here's my plan: * We agree on which of these four/three features we should implement * _why or zimbatm (or someone who really knows Camping) double-checks

Re: Rack, Camping 2.0++

2008-05-22 Thread _why
On Fri, May 23, 2008 at 07:27:18AM +1930, AnĂ­bal Rojas wrote: === 4. Renaming camping-unabridged.rb to camping.rb? === I haven't touched camping.rb at all, do we really need to prove that it's a micro-framework? It just makes development/releasing harder. Let's just forget about

Re: Rack, Camping 2.0++

2008-05-22 Thread Aria Stewart
On May 22, 2008, at 12:38 AM, _why wrote: On Wed, May 21, 2008 at 09:26:52PM +0200, Magnus Holm wrote: I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un- necessary files (lib/server/*.rb, fastcgi.rb

Re: Rack, Camping 2.0++

2008-05-22 Thread Magnus Holm
I must agree that the obfuscation is really impressive (specially in a presentation where you can include the full source on one slide). I just don't like to touch it. And unfortunately it doesn't evolve by itself. I'm just tired of renaming camping-unabridged.rb to camping.rb in order to test

obfuscation Re: Rack, Camping 2.0++

2008-05-22 Thread Ernest Prabhakar
Hi Magnus, On May 22, 2008, at 11:01 AM, Magnus Holm wrote: I must agree that the obfuscation is really impressive (specially in a presentation where you can include the full source on one slide). I just don't like to touch it. And unfortunately it doesn't evolve by itself. I'm just tired

Re: Rack, Camping 2.0++

2008-05-21 Thread John Beppu
Impressive work. On Wed, May 21, 2008 at 12:26 PM, Magnus Holm [EMAIL PROTECTED] wrote: === 1. Camping on Rack === I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb,