John Papa | Evangelist on the loose | Page 2

John Papa

Evangelist on the loose

Angular and Progressive Saving

3 comments

Last week I had the privilege of presenting at ngConf which was jam packed with some awesome presentations. My presentation was on Progressive Saving with Angular, where you can stash work in progress in local storage and come back to it. It was an abbreviated version of what I present in my Pluralsight course Building Apps with Angular and Breeze Part 1 and Part 2, where I explore this concept in detail. You can watch my presentation here. Here are the slides from my presentation. And you can run the live demo of the app from this link. The conference […]

It’s High Time to Learn Git

3 comments

It’s time. Admit it. You’ve put it off too long and now that Git is tied at the hip to Visual Studio 2013 and there is some great training on it by my friend Esteban Garcia, it’s time to learn it. I use git for all of my code. You can find Esteban’s new course Git for Visual Studio 2013 at Pluralsight. Git has gained a lot of popularity in the last couple of years and I’m seeing more and more developers adopting it. If you use Visual Studio as your primary IDE, there is a bit of a learning […]

Watch Angular’s ngConf Live Streamed

with 1 comment

The “best of the best in Angular” will gather later this week in Salt Lake City, Utah for ngConf, according to their web site. I’m honored to be included as one of the speakers at this all Angular event, along with my good friends Dan Wahlin and Ward Bell. The event is Thursday and Friday, both of which I hear will be live streamed! This is pretty exciting as the speaker lineup contains some of the most well-known Angular leaders including many from Google Angular team. To watch the live stream on Jan 16 and 17 I am told you […]

Supporting Durandal

10 comments

In case you haven’t heard, Durandal is currently running a Kickstarter to help fund their project in the 2014 year. Durandal is an open source JavaScript library for creating apps with elegant, clean code. Their Kickstarter promises new releases, new and improved tooling, video training courses and a NextGen tech preview. By backing the project, you not only help them to achieve their goals, but you can walk away with some nice goodies. For example, if you back at $15 you get the first video training course along with source code. That’s a great followup to my Pluralsight course on […]

Building Large Scale Apps with Angular and Breeze

35 comments

Angular. Breeze. JavaScript and HTML5. These buzzwords have been getting a lot of air play over the past year. There are plenty of examples to introduce you to these technologies but how do you apply these to larger apps at your workplace? This is where I find an end to end tutorial and demonstration can really help. One place you can look for a practical implementation is Pluralsight, where they recently published both Part 1 an Part 2 of my Building Apps with Angular and Breeze courses. These courses intend to serve as a guide to take you from zero […]

Do You Like Your Angular Controllers with or without Sugar?

17 comments

Even if you’ve only read about Angular, the odds are you’ve seen the rampant use of $scope in the C of MVC (controllers). $scope is the glue between the Controller and the View that helps with all of our data binding needs. Recently the Angular team opened up a new way to use $scope with Controllers. So now you can use $scope (what I’ll refer to as Classic Controllers) and you can use this (what the Angular team and I refer to as Controller As). I hear a lot of questions about these 2 techniques. Everyone loves choice, but at […]

SPA and the Single Page Myth

29 comments

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 […]

HotTowel.Angular and ASP.NET Web API 2 Compat

13 comments

If you watched my course Build Apps with Angular and Breeze the first week it was out and followed along by installing HotTowel, you may have hit an incompatibility with the recently released ASP.NET Web API 2 and Entity Framework 6. Good news! The exercise files, github repo code samples, and the NuGet packages for HotTowel.Angular and HotTowel.Angular.Breeze have all been updated to work with Breeze 1.4.5, Web API 2, and Entity Framework 6. So as you go through the course you can use the latest and greatest now. This course came out right when these new technologies went live, […]

Setting the Prototype Constructor in JavaScript

4 comments

While writing the upcoming Part 2 of my Pluralsight course Building Apps with Angular and Breeze, I found myself wanting to extend a constructor object with another constructor’s members. I had an object called AbstractRepository that has a set of functions (ex: getAll, queryFailed) that could be shared by many repositories. I had a LookupRepository with its own functions that are very specific to getting “lookups”. The way I settled on was to extend the AbstractRepository‘s functions onto the LookupRepository by setting the prototype’s constructor. The result is that the LookupRepository gets all the functions that it has plus the […]

Create an Angular App in Seconds with Hot Towel

51 comments

Looking for an easy way to kick-start your Angular app development in under a minute? Now you can with HotTowel.Angular, a free NuGet package (and soon to become a Bower package too). What do you get? Let’s take a look … What’s Inside? There are a few libraries out of the box that come with HotTowel.Angular. Of course Angular is in here, but there are a few others I bundled into this package as they work very well together and I find myself wanting them in most apps. They help add a bit of style, theming, and helpers. Angular core […]