Mark, thanks for the perspective. I underestimated the Haml benefits/ gain but after putting in a solid 3 weeks on the views for the front end of a Rails project, I'm just enamored with it. You can't write markup that doesn't validate, it's highly readable and you can do it in half the time. I can imagine that it would be a lot of work to male it Cake ready.
So in lieu of Haml, what do you reccomend? Stick with the Cake templating or use something else? -Ryan Sent from my iPhone On Sep 6, 2008, at 10:04 AM, mark_story <[EMAIL PROTECTED]> wrote: > > Using Haml / Sass and the core helpers would either need a rewrite for > all the helpers so they create haml, or the haml parser would need to > know not to mess with the HTML made by the core helpers. It seems > like a lot of work up front for not a ton of gain. I like the sass > conventions but it would be a ton of work to get it integrated into > cakePHP which is probably why no one has done it. > > -Mark > > On Sep 5, 4:30 pm, Ryan <[EMAIL PROTECTED]> wrote: >> Thanks for the link. I'd come across it in my early search. Yeah, >> seems old (Haml has been updated significantly over the last year) >> and >> no Sass. >> >> Has anyone worked with it before on an RoR project? I love it so much >> I shudder to think about going without. >> >> On Sep 5, 6:56 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: >> >>> http://bakery.cakephp.org/articles/view/haml-markup-haiku >>> its old but you get a general idea. >>> i dont know about sass. i dont think phphaml has support for it. >>> HTH, >>> -- >>> Marcin Domanskihttp://kabturek.info >> >>> On Fri, Sep 5, 2008 at 5:57 AM, Ryan <[EMAIL PROTECTED]> >>> wrote: >> >>>> Hello all, >> >>>> I am working with CakePHP for the first time. I recently >>>> collaborated >>>> with another developer on a Ruby on Rails project, for which I >>>> wrote >>>> most of the views. I usedHamland Sass (http:// >>>> haml.hamptoncatlin.com), and after about five minutes of learning, >>>> swore I'd never write XHTML and CSS the hard way again. >> >>>> So as soon as I got a fresh new CakePHP app running, I went to >>>> set it >>>> up forHamland Sass. I was disappointed to see that any mention of >>>> Hamlseems to be around a year old, and I found no mention of >>>> support >>>> for Sass. >> >>>> Are there viable options forHamland Sass with CakePHP? Which is the >>>> best? Or has theHamland Sass effort for Cake lost steam? >> >>>> Thanks, >>>> Ryan > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
