I haven't had time to read all of this. But, see... starting off with the "Content is king" bit is a nearly opposite philosophy to Haml. Haml is that structure and markup are king. The content is just filler.
Haml is about symantics when building web applications. Content is usually dynamic and is only important in how clearly its specified. However, I am always interested in people coming up with new languages! I might not want to use them, but I love the creativity. -hampton. On Fri, Nov 27, 2009 at 6:43 PM, Steve Howell <[email protected]> wrote: > Hi everybody, I found about HAML recently and think the concept is > pure genius! > > Since I work mostly in Django, I decided to create a markup that is > similar to HAML. I use it as a preprocessor for Django templates. > You can read more here: > > > http://groups.google.com/group/django-users/browse_thread/thread/7a8fbac4572d5c25# > > I have an idea that I think might resonate with the HAML community. > > First, let me say that HAML does a great job of providing indentation- > based syntax, and that is 80% of the pain when dealing with non-HAML > solutions. I have made no innovations there; instead, I have just > ported the concept to Django use cases. > > Where I differ from HAML is in HTML one-liners. > > HAML puts the markup on the left: > > %strong{:class => "code", :id => "message"} Hello, World! > > Showell Markup puts the markup on the right: > > Hello, World! | strong class="code" id="message > > The idea is that Content is King! Markup is just an afterthought. > > And you can also chain markup as follows > > Hello, World | strong | span class="greeting" > > Start with the content, and then apply markup from left to right, with > each new element surrounding the previous. You get this result: > > <span class="greeting"><strong>Hello, World</strong></span> > > I hope this makes sense. Good luck bringing HAML to the masses! It > is important stuff. > > -- > > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
