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:

Friday 25 April 2014

Chocolatey is incompatible with version 2.1.31022.9038 - How to update nuget client in Chocolatey

I become a big fun of Chocolatey lately! :) While installing some tools I received following error:


Chocolatey (v0.9.8.20) is installing wget and dependencies. By installing you accept the license for wget and each dependency you are installing.

The schema version of 'Microsoft.AspNet.Mvc' is incompatible with version 2.1.31022.9038 of NuGet.

Please upgrade NuGet to the latest version from http://go.microsoft.com/fwlink/?LinkId=213942.


Sollution:

cd C:\Chocolatey\chocolateyinstall
nuget update -Self
And it should work!