SPA

A 37-post collection

SPA and the Single Page Myth

SPA is one of the most exciting technology strategies today, but it may be one of the worst terms in modern web development. Just the word “Page” can have many meanings. SPA Misconceptions Chances are you have heard the term SPA tossed around at the office. SPA’s are on the rise but there are a lot of misconceptions about what SPA means. SPA stands for Single Page Applications … but are they truly a Single Page App? I’ve found that one of the biggest hurdles for folks understanding SPA is the term itself. The name can often imply that you are building a single page, with a single set of functionality, such as a...


Learn Breeze

It is no secret that I am a huge fan of Breeze as I use it as a core component in my web applications and I use them extensively in my SPA courses. And now the first in depth training on Breeze has hit Pluralsight. My friend Brian Noyes recently published his Building Data-Centric Single Page Apps with Breeze course and it truly is tremendous! Brian’s course covers the full gamut of what Breeze can do for you, such as formulating rich queries on the client side (filtering, sorting, and paging) that get executed on the server side, saving changes in batches, and validating changes on the client side. In modules 7 & 8 Brian dives into validation...


Upgrading to Durandal 2.0

Recently I upgraded a few projects from Durandal v1.x to Durandal 2.0. I did these before there were any notes on the Durandal site for upgrading so I took a bunch of notes. I was lucky enough that the first conversion was aided with the direct help of Rob Eisenberg, creator of Durandal. Rob has since created a great page in the docs to help you convert from 1.x to 2 which you can find here. But I also included all of my raw notes in this post. Rob’s is the definitive guide, but hopefully my brain dump may help some of you too :) Please excuse the grammar below as it was a raw brain...


Durandal, Breeze and Ruby

Have you been itching to see a SPA using Durandal and Breeze without entity Framework on the back end? The inventors of Breeze have answered that call by taking the Code Camper SPA using Durandal and Breeze from my Pluralsight course and swapped out the entire back end so it is now using Ruby on Rails. This is huge as it demonstrates how you can use Breeze in a SPA without relying strictly on the metadata tat Entity Framework (EF) provides. Sure EF makes it darn easy, but it is not the only game in town. Check out this article about the Ruby/Durandal/Breeze demo to see it in action and learn more about how the Breeze folks wrote...


Compare Durandal to Angular, Not Knockout to Angular

Odds are you have been asked recently: “How does KnockoutJS compare to AngularJS?” There seems to be a lot of attempts to compare these two awesome libraries. We can certainly compare them, but will this really get you where you want to go? If you hear this question, ask “why” the person is asking it. If s/he wants a JavaScript/HTML based presentation framework then suggest that you compare Durandal to Angular. Why? Because Knockout is at heart a data-binding library, while Angular and Durandal are presentation frameworks. This is a hugely important concept to grasp, so let’s break down what’s at the heart of these questions and how Knockout, Durandal...