php
iphone
python
database
linux
android
objective-c
visual-studio
silverlight
flash
html5
perl
algorithm
delphi
apache
mvc
php5
asp
api
jsp
You can put it to the constructor:
class Views.Foo extends Backbone.View initialize: (options)-> @id = 'foo-' + @model.id $(@el).attr 'id', @id