Created by Marco A. Pajares / gitHub
| Command | Task |
|---|---|
|
clone the remote repo on your local machine |
|
update branch (like synchronize) |
|
create a new branch |
|
move to another branch |
|
list changes that have been made and ready to push |
|
add/remove new files to commit |
|
index your changes |
|
push to remote branch |
|
revert to initial state (if something fails) |
| Command | Task |
|---|---|
|
show history commits |
|
show diff between commits |
|
Stash the changes in a dirty working directory away (DO before git pull) |
|
apply changes on stash branch in your current branch (DO after git pull) |
|
download a branch that only exist on remote |
|
delete a LOCAL branch |
|
revert specific file to a previous commit |
|
index your changes |
|
push a tag to remote branch |
|
overwrite a specific file in your current branch from same file in other branch |
Backbone's core consists of four major classes:
In Backbone, a model represents a singular entity --
Collections in Backbone are essentially just a
A view handles two duties fundamentally:
Sass is a
Jasmine is a behavior-driven development framework for
In one word:
From now on, we are going to try a new struct to develope new backbone apps like could be catalitycs or trends
test folder has been created to store Jasmine tests
resources folder has been created to store documentation and style preprocess files
apps folder has been created to store Backbone applications
In order to create or check a new Backbone application, creator must take the following steps:
inside js/router.js file, must appear URL and METHOD
"url":"method"
In order to simplify create Backbone apps, inside
When maven production task start,
grunt style
In order to create or check a style file, creator must take the following steps:
So, if you have to import external css, place it into resources/stylesheets/vendors
Create a file inside
grunt test
Inside
| Command | Bower | template | style | Jshint | Test | requireJs | Doc |
|---|---|---|---|---|---|---|---|
|
|||||||
|
|||||||
|
|||||||
|
|||||||
|
|||||||
|
|||||||
|
|||||||
|
Inside
Skype: marco.pajares