Re: Markaby xhtml_strict

2012-04-16 Thread Jenna Fox
Urgh. I just turn the validation in markaby off pretty much all of the time - like strictly typed languages, I find it gets in my way more often than it helps me find errors. Instead of using the xhtml_strict macro you could do it yourself: self !DOCTYPE whatever blah blah\n html lang =

Re: framework size, forking etc.

2012-04-16 Thread Dave Everitt
I'm not too bothered about 3k. But I think what Nokan's saying is that he'd like Camping to remain functioning as it is so he can continue to run his apps as they're set up now, but that extra features could be added with an optional `require 'camping/new_extra_stuff`... - Nokan, is this

Re: framework size, forking etc.

2012-04-16 Thread Nokan Emiro
On Mon, Apr 16, 2012 at 5:40 PM, Dave Everitt dever...@innotts.co.ukwrote: I'm not too bothered about 3k. But I think what Nokan's saying is that he'd like Camping to remain functioning as it is so he can continue to run his apps as they're set up now, but that extra features could be added

Re: framework size, forking etc.

2012-04-16 Thread Nokan Emiro
I would leave the name camping for the original gem, and would choose another one for the fork. But exactly what are those features that you (all) would like to add to camping? - before/after methods of controllers, - something around serving static files and R(), - ??? Actually I think it's

Re: framework size, forking etc.

2012-04-16 Thread Bartosz Dziewoński
W dniu 16 kwietnia 2012 20:50 użytkownik Nokan Emiro uzleep...@gmail.com napisał: Actually I think it's not logical that you can build HTML by default using Markaby, but you can't build CSS in the same way. You never need to insert any variables into your CSS code. (If you do, you're doing it

Re: framework size, forking etc.

2012-04-16 Thread Paul van Tilburg
On Mon, Apr 16, 2012 at 09:20:18PM +0200, Bartosz Dziewoński wrote: W dniu 16 kwietnia 2012 20:50 użytkownik Nokan Emiro uzleep...@gmail.com napisał: Actually I think it's not logical that you can build HTML by default using Markaby, but you can't build CSS in the same way. You never need

Re: framework size, forking etc.

2012-04-16 Thread Magnus Holm
On Mon, Apr 16, 2012 at 22:14, Nokan Emiro uzleep...@gmail.com wrote: 2012/4/16 Bartosz Dziewoński matma@gmail.com W dniu 16 kwietnia 2012 20:50 użytkownik Nokan Emiro uzleep...@gmail.com napisał: Actually I think it's not logical that you can build HTML by default using Markaby, but

Re: http_referrer

2012-04-16 Thread Nokan Emiro
I'm totally convinced... so I'm going to download the whole source before the guys start to rewrite it as a modern framework... :) But to be frank, this, for instance, is not so great to read: https://github.com/camping/camping/blob/master/lib/camping.rb I mean I'm big http://catseye.tc/ fan,

Re: framework size, forking etc.

2012-04-16 Thread Nokan Emiro
Shit! If you told me about it a few hours ago, I wouldn't bother myself writing a RobotsTxt Controller... __END__ @@ /style.css * { margin: 0; padding: 0 } And Camping will serve it for you. See also: https://github.com/camping/camping/blob/master/test/app_file.rb

Re: http_referrer

2012-04-16 Thread david costa
Well the point of the original camping was *not* to be easy to read nor to have camping used in the next big commercial project. The annotated version gives you pretty much all you want if you want to read it :) On Mon, Apr 16, 2012 at 10:59 PM, Bartosz Dziewoński matma@gmail.comwrote: W

Re: framework size, forking etc.

2012-04-16 Thread david costa
For now I'm feeling like a pretty bad maintainer. I'm not using Camping enough to see where things need to be fixed, I'm crappy at actually shipping stuff, and I'm not sure if I believe that Camping is a correct starting point for a new framework Hey Magnus! I think that you are a great

Re: http_referrer

2012-04-16 Thread Philippe Monnet
I think Nokan has a good point there: it is not easy for people new to Camping to know about the trick to compile/process/compact the source code. So an idea for the new version could be to leave the source as is (unabridged). Plus this makes debugging easier. :-) On 4/16/2012 2:59 PM, Bartosz