hottowel

A 7-post collection

Angular Internationalization

Recently I had a great opportunity to sit down with my good friend and expert i18n developer Brian Clark to build internationalization into an Angular app. You can watch us build the app here at Pluralsight. Internationalization is a powerful way to provide a better experience for users around the world by translating applications into local languages. Brian creates an Angular 1 app from scratch using Hot Towel. He then shows how to integrate the popular angular-translate library, add multiple languages to an application, and discusses the options for changing languages in an application. The cool part about i18n is that it’s fairly straight-forward to add internationalization in your own Angular applications. You can download the exercise files...


New Breeze Angular Service

The world of JavaScript changes at a fast pace and in the time since my Angular and Breeze Part 1 and Angular and Breeze Part 2 Pluralsight courses have been released, both libraries have had some revisions. One such revision is worth making some changes in your code. The good news is that the folks at Angular and Breeze made it easier on us all. This post explains the changes and how you can refactor your code quickly to work with the latest Angular and Breeze libraries. Short Version With HotTowel.Angular.Breeze 2.1.0 (and prior), we used to need these 3 files: scripts/breeze.angular.q.js scripts/breeze.directives.validation.js app/config.breeze.js If...


Create an Angular App in Seconds with Hot Towel

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 library Angular's routing module Angular's animation module Twitter Bootstrap for...


HotTowel 1.1 with Durandal 2 Now Available

In the past 7 months since I introduced HotTowel as a way to jump-start SPA development, Visual Studio has evolved as have some of the key JavaScript libraries. Today you can now download an updated HotTowel Visual Studio template. I created 2 different templates base don how Visual Studio has evolved: one for Visual Studio 2012 and one for Visual Studio 2013 preview. You can grab them here (and please rate them on the Visual Studio Gallery): Download the HotTowel SPA project template for Visual Studio 2012 Download the HotTowel SPA project template for Visual Studio 2013 If you like these templates, join me in thanking Xinyang Qiu of Microsoft who helped me get through some of the more confusing...


SPA JumpStart – Architecture – Part 2

Any day now my new beginner level SPA JumpStart course for Pluralsight will be published. In this course I guide you through building a SPA step by step. I start with the new ASP.NET templates and quickly zero in on Hot Towel, my custom SPA template that was built for this course. From there, I break down all the core pieces of a SPA on the client. While there are many ways to build a SPA, this course focuses on a specific architecture. I could spend days boring you with all of the options and combinations that you can combine into a witches brew to make a SPA. And frankly, that would be a lot of fun, but I...