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 "knockout"

0

MVVM – The User as an Asynchronous API (w/ Knockout)

Early into development of a fairly large modular SPA, we found ourselves needing to ask the user a series of complex questions during a complex chain of business logic. We built a quick little ViewModel and template to display to the user, added some assignable callbacks that it would generate buttons for, and called it […]

Read More...
0

MVVM Validation with KnockoutJS – Don’t put it in the View/HTML

When it comes to input validation for rich websites and Single Page Applications, a lot of the patterns out there rely on markup in the HTML/View. This works OK for smaller applications, but is terrible for larger applications that expect to be maintained and extended over time. In the past couple years I have used […]

Read More...
0

Using Selenium for View testing with knockout and RequireJS

I’ve written about using Selenium/WebDriver for automated testing in a C# environment in the past. Some of these posts may be dated, but I’ve covered everything from using the Selenium IDE, to using WebDriver and the PageObject pattern, to using SpecFlow to drive Selenium UI testing. But in this age of MVVM/MVC frameworks and libraries, […]

Read More...
20

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...
5

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...
9

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 »