Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azamuddin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
azamuddin
14y ago
Collection.get() accept single 'id','cid' or a model as parameter, while collection.at() accept the 'index' of the model. :)
2.
▲
by
azamuddin
14y ago
My apologize I didn't state that I don't use the latest version of BB, will take care of the update on next article. thanks
3.
▲
by
azamuddin
14y ago
Hey eranation, for multiple words we can use CamelCase and avoid underscore. And when we use multiple words, both 'imageModel' and 'ImageModel' are good practice, see here http://ricostacruz.com/backbone-patterns/#naming_convention and ab