Difference between revisions of "Frameworks"

From Wiki2
Line 11: Line 11:
===[[ember]]===
===[[ember]]===


==plan==
==plan==  
rewrite stuff2get using angular.
 
===use yeoman===
    mkdir my-app
    cd my-app
    npm install generator-angular
    yo angular
 
in Gruntfile.js change connect: hsotname: from 'localhsot' to '10.0.1.24' so it will run on LAN
    grunt serve


<syntaxhighlight lang="javascript">
    it('should filter the phone list as user types into the search box', function() {
      expect(repeater('.phones li').count()).toBe(20);


      input('query').enter('nexus');
===rewrite stuff2get using angular===
      expect(repeater('.phones li').count()).toBe(1);


      input('query').enter('motorola');
<syntaxhighlight lang="javascript">
      expect(repeater('.phones li').count()).toBe(8);
    it('sends a timestamp to a sever every time you push a button', function() {});
    });
</syntaxhighlight>
</syntaxhighlight>
;it:sends a timestamp to a sever every time you push a button
:

Revision as of 13:15, 21 February 2014

js frameworks

http://eviltrout.com/2013/06/15/ember-vs-angular.html

http://coenraets.org/blog/2012/02/sample-application-with-angular-js/ http://www.ekito.fr/people/?p=3224

angularJS

mongodb

node

meteor

ember

plan

use yeoman

   mkdir my-app
   cd my-app
   npm install generator-angular
   yo angular

in Gruntfile.js change connect: hsotname: from 'localhsot' to '10.0.1.24' so it will run on LAN

   grunt serve


rewrite stuff2get using angular

<syntaxhighlight lang="javascript">

   it('sends a timestamp to a sever every time you push a button', function() {});

</syntaxhighlight>