With haml there is an alternative style for HTML attributes:

%div(ng-controller="VoteCtrl")
  %a(id="voteYes" ng-click="voteYes()")  Yes
  %a(id="voteNo" ng-click="voteNo()")  No

I'm not sure this changes anything for you.  I'm split on whether I want
bindings defined in JS backing the template, or the template itself.  I see
advantages to both :-/.

--Dan

On Tue, Aug 14, 2012 at 9:07 AM, Kevin English <[email protected]> wrote:

> I found angular to be a little invasive on the views. It has custom tags
> like "ng-click" that you are to HTML elements and bound to events in the
> controller. If you use something like HAML, it ends up looking ugly, like
> this:
>
>   %div{:'ng-controller'=> "VoteCtrl" }
>
>     %a{:id => 'voteYes',:'ng-click' => "voteYes()" }  Yes
>
>     %a{:id => 'voteNo' ,:'ng-click' => "voteNo()"}  No
>
>
>
> Whereas when I was using with Backbone and Hamlc, the templating is more 
> Rail-ish.
>
>
> Kevin
>
>
> On Mon, Aug 13, 2012 at 9:28 PM, Robert Kaufman <[email protected]>wrote:
>
>> I've been loving Batman as well, feels like solid technology.
>>
>> Rob
>>
>> On Aug 13, 2012, at 3:50 PM, Jeff Berg wrote:
>>
>> We have been using Batman here too and LOVE IT! We actually recently
>> scrapped a Backbone project and migrated it over to Batman.
>>
>> Jeff
>>
>> On Mon, Aug 13, 2012 at 3:36 PM, David Allison 
>> <[email protected]>wrote:
>>
>>> Thanks, John - I've heard of Batman (via HN, I think) but wasn't sure
>>> what the community size was like.
>>>
>>> Best,
>>>  *David Allison*
>>> Chief Technology Officer, Nulu, Inc.
>>> www.nululanguages.com
>>> <nulu-RGB-100w.png>
>>>
>>> On Aug 13, 2012, at 3:34 PM, John Lynch <[email protected]> wrote:
>>>
>>> David, if you are considering a single-page app Javascript framework
>>> such as Ember, be sure to give Batman.js a look. Its written in
>>> CoffeeScript and is very similar to Rails, conceptually. We have been very
>>> happy with it so far.
>>>
>>> http://batmanjs.org/
>>>
>>>
>>> Regards,
>>>
>>> John Lynch
>>> [email protected]
>>>
>>>
>>>
>>>
>>> On Mon, Aug 13, 2012 at 3:25 PM, David Allison 
>>> <[email protected]>wrote:
>>>
>>>> Hi all,
>>>>
>>>> We got some great responses to our past emails to SDRuby for
>>>> contractors, and I wanted to send out a note to say we're looking for
>>>> someone to work with us on a project involving our RoR app, FB integration,
>>>> and Backbone/Spine/Ember.  All our current frontend code is Coffeescript,
>>>> so experience with this is highly desirable.
>>>>
>>>> If those sound like technologies in your toolbelt, get in touch with us
>>>> -- we're looking for a contractor or contract-to-hire starting ASAP.
>>>>
>>>> Here's some details about the company and opportunity:
>>>>
>>>> *JOB DESCRIPTION*: Join Nulu in redefining the way the world learns
>>>> languages! We are an innovative and fast-growing startup in San Diego
>>>> developing technology that will transform how consumers around the world
>>>> gain fluency in foreign languages. We've garnered significant market
>>>> traction in the US and are looking to expand internationally in the very
>>>> near future.
>>>>
>>>>
>>>> We are a small team with big ambitions! You'll be joining a team that
>>>> knows how to launch successful products, and working with us to build tools
>>>> that are going to change the world. Ideally, you have an exceptionally
>>>> strong web applications development background, and you are familiar with
>>>> Ruby on Rails.
>>>>
>>>>
>>>> You'll be joining our CTO and developers as an integral part of our
>>>> engineering team. You'll have a major influence in the products we build,
>>>> the technologies we adopt, and the culture of our company.
>>>>
>>>>
>>>> Our current software stack includes Ruby, jQuery, HTML5, HAML, RSPEC,
>>>> MySQL, and git, running on an EC2 Deployment of Ubuntu instances. If your
>>>> background doesn't match up perfectly with our stack, but you're excited
>>>> about what we're doing and learn quickly, we want to talk.
>>>>
>>>> If you write awesome code, have a great eye for detail and care deeply
>>>> about everything from the product architecture to its front-end design, get
>>>> in touch with us to learn more about how we're changing the world.
>>>>
>>>>
>>>> To apply, send your resume to David Allison: *[email protected]*.
>>>> If you have a Github account, please send a link as well.
>>>>
>>>>
>>>> *JOB REQUIREMENTS*:
>>>>
>>>> *  Must have 3+ years of hands on coding experience developing high
>>>> volume and/or e-Commerce websites using technologies such as: Ruby on Rails
>>>> or Python with Django, jQuery, HTML5/CSS, Slim or HAML, RSpec, SQL,
>>>> git/github, EC2 Deployment, etc.
>>>>
>>>> *  Personality Traits: versatile, can adapt quickly, entrepreneurial.
>>>> Also, you should be awesome to work with.
>>>>
>>>> *  Can write top-notch, cross-browser compatible, and W3C standards
>>>> compliant code (Don't worry, we're not targeting old versions of IE).
>>>>
>>>> *  Comfort using source-code version control: experience specifically
>>>> with Git is a plus.
>>>>
>>>> *  Experience testing your code with testing frameworks. We use Jasmine
>>>> and Rspec.
>>>>
>>>> Best,
>>>>  *David Allison*
>>>> Chief Technology Officer, Nulu, Inc.
>>>> www.nululanguages.com
>>>> <nulu-RGB-100w.png>
>>>>
>>>>
>>>> --
>>>> SD Ruby mailing list
>>>> [email protected]
>>>> http://groups.google.com/group/sdruby
>>>>
>>>
>>>
>>> --
>>> SD Ruby mailing list
>>> [email protected]
>>> http://groups.google.com/group/sdruby
>>>
>>>
>>>
>>> --
>>> SD Ruby mailing list
>>> [email protected]
>>> http://groups.google.com/group/sdruby
>>>
>>
>>
>>
>> --
>> Jeff Berg
>> Owner/Developer
>> Ministry Centered Technologies
>> =================================
>> REVOLUTIONIZE the way you plan your SERVICES at planningcenteronline.com
>> REVOLUTIONIZE the way you plan your EVENTS at smartevents.com
>>
>> --
>> SD Ruby mailing list
>> [email protected]
>> http://groups.google.com/group/sdruby
>>
>>
>>  --
>> SD Ruby mailing list
>> [email protected]
>> http://groups.google.com/group/sdruby
>>
>
>  --
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby
>

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to