Difference between revisions of "Frameworks"

From Wiki2
Line 14: Line 14:
rewrite stuff2get using angular.
rewrite stuff2get using angular.


<code>
<syntaxhighlight lang="js">
     it('should filter the phone list as user types into the search box', function() {
     it('should filter the phone list as user types into the search box', function() {
       expect(repeater('.phones li').count()).toBe(20);
       expect(repeater('.phones li').count()).toBe(20);
Line 24: Line 24:
       expect(repeater('.phones li').count()).toBe(8);
       expect(repeater('.phones li').count()).toBe(8);
     });
     });
</code>
</syntaxhighlight>
;it:sends a timestamp to a sever every time you push a button
;it:sends a timestamp to a sever every time you push a button
:
:

Revision as of 11:22, 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

rewrite stuff2get using angular.

<syntaxhighlight lang="js">

   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');
     expect(repeater('.phones li').count()).toBe(1);
     input('query').enter('motorola');
     expect(repeater('.phones li').count()).toBe(8);
   });

</syntaxhighlight>

it
sends a timestamp to a sever every time you push a button