Install Ruby
Download stable Ruby version from here and install.

Install Compass CSS Authoring Framework (Ruby)

1
gem install compass

Install Node.js
Download node.js from here and install.

Install Yeoman

1
npm install -g yo

Install Ember project generator

1
npm install -g git://github.com/yeoman/generator-ember.git

Create a project

1
2
3
mkdir demo
cd demo
yo ember

If asked for “Would you like to include Twitter Bootstrap for Sass?”, hit “y”.

Run the server

1
grunt serve

Very helpful cheat sheet created by BalusC.

1
2
3
4
5
fc = FacesContext
vh = ViewHandler
in = UIInput
rq = HttpServletRequest
id = in.getClientId(fc);

1 RESTORE_VIEW

1
2
String viewId = rq.getServletPath();
fc.setViewRoot(vh.createView(fc, viewId));


2 APPLY_REQUEST_VALUES

1
in.setSubmittedValue(rq.getParameter(id));


3 PROCESS_VALIDATIONS

1
2
3
4
5
6
7
8
9
10
11
12
13
Object value = in.getSubmittedValue();
try {
   value = in.getConvertedValue(fc, value);
   for (Validator v : in.getValidators())
      v.validate(fc, in, value);
   }
   in.setSubmittedValue(null);
   in.setValue(value);
} catch (ConverterException | ValidatorException e) {
   fc.addMessage(id, e.getFacesMessage());
   fc.validationFailed(); // Skips phases 4+5.
   in.setValid(false);
}

4 UPDATE_MODEL_VALUES

1
bean.setProperty(in.getValue());

5 INVOKE_APPLICATION

1
bean.submit();

6 RENDER_RESPONSE

1
vh.renderView(fc, fc.getViewRoot());