Login or Sign Up to become a member!
LessThanDot Site Logo

LessThanDot

A Technical Community for IT Professionals

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

Browsing "Javascript"

4

Continuous Javascript Testing with Karma

I use a continuous testing tool named NCrunch for all of my .Net code. In fact, NCrunch has spoiled me so much that manually running tests is bordering on painful. I’ve gotten used to doing absolutely nothing and still having the latest build results, test results, code coverage, highlighted execution paths for failed tests, and […]

Read More...
1

Unit Testing with Jasmine 2.0 and Require.JS

Jasmine 2.0 has changed how it loads and executes tests, using a boot script now to handle the details. If you try to plug some require() calls into the sample SpecRunner.html page, Jasmine will be done and finished before the require() statement loads the test modules and their dependencies. The problem is that RequireJS loads […]

Read More...
5

Testing Asynchronous Javascript w/ Jasmine 2.0.0

Whether you have asynchronous methods in your client-side Javascript, are integration testing against an API, or are using an asynchronous module loader like RequireJS, asynchronous operations need testing too. Jasmine has become my framework of choice…

Read More...
16

AngularJS vs Knockout – Final Thoughts (9 of 9)

I started reviewing AngularJS and Knockout because I had some specific projects that I intended to use one of these for and felt the research and comparative examples might prove useful to others. I haven’t compared every aspect of the libraries, just enough to give me an idea which will be better for my specific projects (and hopefully give you a headstart on your own decisions).

Read More...
4

AngularJS vs Knockout – SPA Routing/History (8 of 9)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. Let’s talk Single Page applications, and more specifically, Routing and History. While AngularJS doesn’t have the word “SPA” on their front page, the tutorial jumps straight into building one. How hard is it to give Knockout the same routing capability? Does it end up worse?

Read More...
0

AngularJS vs Knockout – Automated Testing (7 of 8)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. As we get into projects that are larger than a few small views and routes, the ability to add automated testing becomes important. Unit testing p…

Read More...
0

AngularJS vs Knockout – Modules and DI (6 of 8)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. The larger or more complex a project, the more important it is to be able to modularize the code. Modules provide organization, ensure script load…

Read More...
2

AngularJS vs Knockout – Templating (5 of 8)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. A huge piece of both of these frameworks is the ability to create and reuse templates for the output. AngularJS brings template Directives, transc…

Read More...
8

AngularJS vs Knockout – Serialization (4 of 8)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. A key operation will be API GETs and POSTs, so how easy or hard will it be to serialize and send data models? Is my server going to have to wade t…

Read More...
3

AngularJS vs Knockout – Validation (3 of 8)

I’m reviewing Angular and Knockout to determine which would fit better for a variety of upcoming projects. So here’s the question, how hard is it going to be to add good, client-side validation to my pages? What about custom validation?

Read More...
Next Page »