I don't think there are any 'shoulds', but people writing code
(including markup) which other people might one day need to understand
would be wise to make it comprehensible, and probably therefore in a
recognisable, readable syntax... which I think is the essence of
Markaby and its legacy
I think people should write HTML in HTML, CSS in CSS, Javascript in
Javascript, and Ruby in Ruby.
I don't get the fascination with DSLs for existing domains. DSLs for your
own stuff is okay, where you need something that is more complex than a
bunch of functions and less complex than a full blown
I think people who want to write HTML in HTML should write HTML in HTML.
I think people who don't want to write HTML in HTML should write it in
something they prefer.
Just my humble opinion.
--Isak Andersson
Den 2011-12-29 02:14:18 skrev Anthony Durity gravi...@jollyrotten.org:
I think
I think people who don't want to write HTML in HTML should write it in
something they prefer.
i like to write HTML in Ruby, {attr: :val} for elements, [] for lists of
elements, and for..strings
def H _
case _
when Hash then
''+(_[:_]||:div).to_s+(_.keys-[:_,:c]).map{|a|
'
On Mon, Dec 19, 2011 at 19:10, Dave Everitt dever...@innotts.co.uk wrote:
Magnus: this commit implements a tiny and fast Markaby-alternative (called
Mab) ... it's completely inline in camping/mab.rb, but it should be fairy
easy to create another Rubygem where we could implement for advanced
XHTML5 is a fancy name for the way the HTML5 spec grudgingly allows the use of
XML-like syntax, allowing for XML Builders like current markaby to be
technically allowable as valid HTML. It's not 'real' in that they don't provide
validators for it and browsers aren't supposed to parse it as XML
Yep! Granted, if you serve it with an XML MIME type, it must be able
to be parsed with an XML parser, so none of that
p
bthis iis/b insane/i
stuff! But still...
I actually like XML. There are some of us in Ruby...
___
Camping-list mailing list
I tried to use that crazy stuff recently and it just doesn't work, in
webkit at least.
—
Jenna
On 20/12/2011, at 4:34 PM, Steve Klabnik st...@steveklabnik.com wrote:
Yep! Granted, if you serve it with an XML MIME type, it must be able
to be parsed with an XML parser, so none of that
p
On Sun, Dec 18, 2011 at 02:47, Steve Klabnik st...@steveklabnik.com wrote:
A wild project appears: http://krainboltgreene.github.com/dapper-dan/
Some problems:
* It doesn't support CSS proxy (div.wrapper! { … ] == div(:id =
'wrapper') { … })
* It doesn't escape stuff
* It doesn't specify its
Aw..
That is rather disappointing. But still, I see this problem as a chance to be
reborn anew. Fresh and clean of the bad lessons learnt by Markaby. We did learn
some lessons, didn't we?
—
Jenna Fox
On Sunday, 18 December 2011 at 7:27 PM, Magnus Holm wrote:
On Sun, Dec 18, 2011 at
Not really sure to be honest.
It looks very nice and is basically markaby.
But I think we should either create our own, or fork it so we could have our
own cool stuff, like the AJAX things someone mentioned.
Also, it would be cool if you could also write JS in ruby easily with camping
out of
You can't really write Javascript in Ruby due to the way it (and its
libraries like jQuery) handle functions. Sure, it could be done, but
the code would be ugly.
2011/12/18, Isak Andersson icepa...@lavabit.com:
Not really sure to be honest.
It looks very nice and is basically markaby.
But I
Jenna Fox a...@creativepony.com writes:
the same way linux apps interface with an X11 server today.
Hey, we've been there, 15 years ago:
http://ftp.x.org/pub/X11R6.8.2/doc/libxrx.1.html
--
Christian Neukirchen chneukirc...@gmail.com http://chneukirchen.org
Rumble seems like a good start.
So what else would need to be done?
On 12/18/2011 1:27 AM, Magnus Holm wrote:
On Sun, Dec 18, 2011 at 02:47, Steve Klabnikst...@steveklabnik.com wrote:
A wild project appears: http://krainboltgreene.github.com/dapper-dan/
Some problems:
* It doesn't support
Okay, we might have a slight problem:
It doesn't seem that Markaby ever had a specific license. This means
that it's currently Copyright © _why and we might not have the right
to re-distribute (or contribute to) it.
So first of all: if you've ever seen a LICENSE/COPYING-file (or
something else
Nice! Lets just all use this thing!
What say you, everyone?
—
Jenna Fox
On Sunday, 18 December 2011 at 12:47 PM, Steve Klabnik wrote:
A wild project appears: http://krainboltgreene.github.com/dapper-dan/
___
Camping-list mailing list
16 matches
Mail list logo