Re: Mab: The tiny Markaby-alternative

2011-12-20 Thread Magnus Holm
2011/12/19 Bartosz Dziewoński matma@gmail.com: 2011/12/19 Magnus Holm judo...@gmail.com: The real question here is: Should it be a part of camping/mab.rb or the Mab-gem? I'm definitely for adding many features (indentation, attribute-validation, flow-validation), but not in Camping. The

Re: Mab: The tiny Markaby-alternative

2011-12-20 Thread Magnus Holm
On Mon, Dec 19, 2011 at 23:24, Jenna Fox a...@creativepony.com wrote: I'd like markaby to be a hard dependancy - it's the default, if it isn't installed beginners get terribly confused, and installing one more gem really isn't going to cause problems for people - computers have so much free

Re: Mab: The tiny Markaby-alternative

2011-12-20 Thread Jenna Fox
Do we want a brand new markaby-like thing to be the grand evolution of Why and Tim's initial creation, or do we want to stand out and say Hey world, we've made something like Markaby, but heaps better, in the way the Nokogiri clan have. I've changed my mind. I think it should have a new name.

Re: Mab: The tiny Markaby-alternative

2011-12-20 Thread Jenna Fox
Oh yeah, totes BYOORM — Jenna Fox On Tuesday, 20 December 2011 at 7:38 PM, Magnus Holm wrote: On Mon, Dec 19, 2011 at 23:24, Jenna Fox a...@creativepony.com (mailto:a...@creativepony.com) wrote: I'd like markaby to be a hard dependancy - it's the default, if it isn't installed

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread Magnus Holm
2011/12/18 Bartosz Dziewoński matma@gmail.com: I don't have time to look thru now, but it doesn't seem to support boolean attributes (e.g. `input checked:true` should render input checked=checked /)? I was very much missing this feature in old Markaby, and finally even wrote a patch, as

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread Isak Andersson
The real question here is: Should it be a part of camping/mab.rb or the Mab-gem? I'm definitely for adding many features (indentation, attribute-validation, flow-validation), but not in Camping. The Camping implementation should just be enough to get you started I think mab should install with

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread Isak Andersson
My suggestion would be to make it Markaby 2.0 (of course, once it's running and mostly backwards-compatible), keeping the old gem name, and to develop on a branch in markaby repo. Yeah, we should more or less do a rewrite and make it properly open source. You are allowed to make something with

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread Magnus Holm
On Mon, Dec 19, 2011 at 21:34, Isak Andersson icepa...@lavabit.com wrote: My suggestion would be to make it Markaby 2.0 (of course, once it's running and mostly backwards-compatible), keeping the old gem name, and to develop on a branch in markaby repo. Yeah, we should more or less do a

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread David Susco
Stick with the way we're doing it. I only use markaby when it's easier/prettier to use then HAML (quick one-line helpers and the like). Dave On Mon, Dec 19, 2011 at 4:26 PM, Magnus Holm judo...@gmail.com wrote: On Mon, Dec 19, 2011 at 21:34, Isak Andersson icepa...@lavabit.com wrote: My

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread David Susco
So then I'd have to remember it's the opposite of the way it's been? :P Dave On Mon, Dec 19, 2011 at 5:53 PM, Jenna Fox a...@creativepony.com wrote: If no hard dependancies, can we switch it around so core camping is in a camping-seedling gem, and the regular camping gem is actually the one

Re: Mab: The tiny Markaby-alternative

2011-12-19 Thread Jenna Fox
Nah I'd still just think I want camping! I'll install camping! but then it'd just work :P — Jenna Fox On Tuesday, 20 December 2011 at 1:15 PM, David Susco wrote: So then I'd have to remember it's the opposite of the way it's been? :P Dave On Mon, Dec 19, 2011 at 5:53 PM, Jenna Fox

Mab: The tiny Markaby-alternative

2011-12-18 Thread Magnus Holm
https://github.com/camping/camping/pull/50 Right now it's completely inline in camping/mab.rb, but it should be fairy easy to create another Rubygem where we could implement for advanced features (indentation, AJAX-stuff, whatever). // Magnus Holm ___

Re: Mab: The tiny Markaby-alternative

2011-12-18 Thread Bartosz Dziewoński
I don't have time to look thru now, but it doesn't seem to support boolean attributes (e.g. `input checked:true` should render input checked=checked /)? I was very much missing this feature in old Markaby, and finally even wrote a patch, as you might remember[1]. It'd probably be quite easy to