I use both, but prefer haml, because it's concise.

2012/11/7 Fahim Patel <[email protected]>

>
>
> On Wednesday, November 7, 2012 3:33:06 PM UTC+5:30, Fahim Patel wrote:
>
>>
>>
>> On Wednesday, November 7, 2012 3:15:55 PM UTC+5:30, Colin Law wrote:
>>>
>>> On 7 November 2012 09:12, Tommaso Visconti <[email protected]>
>>> wrote:
>>> > Fahim Patel ha scritto:
>>> >
>>> >>
>>> >>
>>> >> Hi all,
>>> >>
>>> >> I have just move towards to learn Ajax . Before learning Ajax one big
>>> >> question raised to me what to use haml or erb.
>>> >>  From day one of Rails, i have used only .erb files.
>>> >> I read DRY feature of haml and haml really impress me.
>>> >>
>>> >> I really wish to use haml .
>>> >>
>>> >> Before use i raised some questions :-
>>> >> 1 . Is there are more advantage execluding dry feature of haml over
>>> erb.
>>> >> 2 . Is there any limitation or drawback of haml .
>>> >> 3. Give me some quick start to Ajax but should be simple because i
>>> have
>>> >> only theoretically knowledge of Ajax.
>>> >
>>> >
>>> > I always use .erb but in the last project I had to use haml. of course
>>> it
>>> > has a dry syntax, but my opinion is that it distorts the concept of
>>> > templating language. The use of haml makes you learn another syntax
>>> > different from html, but a view, at the end, is html..
>>> > I don't like it much :)
>>>
>>> I think haml is excellent and much prefer it to erb.  But that just
>>> shows that different tools suite different people.  OP try it yourself
>>> and use whichever one you prefer.  Either will do the job.
>>>
>>> Colin
>>>
>>
>>
>> Thanks lot for reply.
>>
>> I waiting for reply on this question.
>>
>> 3. Give me some quick start to Ajax but should be simple because i have
>> only theoretically knowledge of Ajax.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/CQNYAg51epgJ.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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 https://groups.google.com/groups/opt_out.


Reply via email to