Wednesday 14 May 2014

How to use Ionic framework with Ripple web browser based emulator

http://ripple.incubator.apache.org/
droid gang
droid gang (Photo credit: valanzola.t)
First prepare Android platform:

ionic platform add android ionic build android 

Install Ripple emulator with node.js NPM.

npm install -g ripple-emulator 

and run it:

ripple emulate --path platforms/android/assets/www


Last step can be also used in ordinary PhoneGap / Cordova project.

Links:
- Ionic Framework


Enhanced by Zemanta

Thursday 1 May 2014

Backbone model sample (javascript)

Following sample script demonstrates all Backbone.js libraray model related functions:
  • attributes
    • setting default values
    • getting list of attributes
  • constructor
  • validation 
  • methods
  • converting to JSON


Additional resources: