javascript


Node.js/Express Convention-Based Routes 2

I’ve always been a fan of convention-based routing so I converted a local route generation script I’ve been using with Node.js/Express applications into an npm package called express-convention-routes. The package can be used to automate the creation of Express routes based on a directory structure. What’s a convention-based Express route? It’s a route that is dynamically generated and associated with a “controller” function without having to explicitly code the route yourself (i.e. you don’t write code such as app.use(‘/foo’, router)). express-convention-routes creates routes automatically by parsing a convention-based folder structure such as the one below when the server first starts. […]


New Pluralsight Course: Integrating Angular with ASP.NET Core RESTful Services

I’m excited to announce the release of my new course on Pluralsight titled Integrating Angular with ASP.NET Core RESTful Services! This course follows up my previous course which focused on Angular and Node.js. The code in this new class covers ASP.NET Core 2.0 or higher and Angular 4 or higher. As with my previous course, I’ll walk you through the process of using Angular to call into RESTful services and perform CRUD (Create, Read, Update and Delete) operations in an application to allow a user to view and modify data. However, in this course the services are built using C# and […]


5 Key Benefits of Angular and TypeScript 16

  Over the past few months, I’ve been asked the same general question about Angular multiple times in onsite training classes, while helping customers with their architecture, or when talking with company leaders about the direction web technologies are heading. Here’s the general question: “What are the key benefits that Angular and TypeScript can offer our development teams?” It’s a great question and one that should be asked before jumping into any new technology or framework. Most of the people asking are technology managers or directors interested in understanding the benefits that Angular can offer their teams (both technical and non-technical). […]


Code with Dan Newsletter #2: Node.js, Microservices, Authentication, CSS and TypeScript/Angular

Edition #2 of the Code with Dan Web Development Newsletter is now out including a new video walk-through! Topics in this edition: Node.js API authentication Microservices with Node.js and Express D3 graphics and charting TypeScript and Angular projects to learn from A minimalistic CSS library (when you want something smaller than Bootstrap) Watch my video walk-through of the content covered in this newsletter here: Not subscribed to the newsletter yet? Sign-up below!


Behind the Scenes: Angular and ASP.NET Core Pluralsight Course Kickoff Video! 1

I’ve had several people over the years ask about my workflow as I create video courses for Pluralsight and other sites so I thought I’d provide some details. Since I’m starting a brand new course for Pluralsight (Integrating Angular with ASP.NET Core RESTful Services) I filmed a few details about my equipment setup and also did a live recording (with bloopers!) of one of the video clips that will be used in the course. I know a lot of people are either interested in getting into video or simply want to know what really happens behind the scenes so I hope […]


10 Angular and TypeScript Projects to Take You From Zero to Hero 11

There are a lot of great samples and posts out there to help get you started with Angular (version 2 or higher) as well as ES6/ES2015 and TypeScript. However, some are out of date, some may be more complex than you want to start with, and others have been abandoned and are no longer maintained. In this post I’m going to provide a list of 10 Angular/TypeScript projects that I’ve created that can take you from “Zero to Hero” if you like to explore project code and are interested in investing the time to learn. The projects are listed in […]


New Pluralsight Course – Integrating Angular with Node.js RESTful Services 10

  I’m excited to announce the release of a new course on Pluralsight titled Integrating Angular with Node.js RESTful Services! This covers Node.js 6.10 or higher and Angular 4 or higher. In this course I’ll walk you through the process of using Angular to call into RESTful services and perform CRUD (Create, Read, Update and Delete) operations in an application to allow a user to view and modify data. If you’ve wondered about how Angular services work, how to organize modules, the role of Observables and RxJS in async operations, how Angular’s Http client can be used to make async calls, how […]


Angular 2 Meetup in Barcelona with Dan Wahlin and John Papa 2

I’m excited to announce that John Papa and I will be presenting at an Angular 2 meetup on July 31st, 2016 at 19:00 in Barcelona! We’re going to be there doing a full-day Ultimate Angular 2 Workshop and wanted to organize a meetup for people who aren’t able to attend. Event Details What? Angular 2 Meetup in Barcelona Where? Can Jaumandreu – UB Parc de les Humanitats i les Ciències Socials, Carrer del Perú, 52, 08018 Barcelona When? July 31, 2016 (19:00 – 21:00) Who? Learn from Dan Wahlin, John Papa and others! How do I Register? Register Here (limited spots available) If you’re not able to make it to our […]


Getting Started with ES6 – Using Classes

In a previous post I introduced how ES6 can be transpiled to ES5 using Traceur or Babel. By using transpilers you can write“modern” code and leverage features found in ES6 today while still allowing the code to run in older browsers. In this post I’m going to dive into classes which is one of the shiny new features found in ES6. Getting Started with ES6/ES2015 Classes Classes are the subject of much debate in the JavaScript world with some people loving them and others hating them. I’ve never believed in one world view being right for every situation and think […]


Video: Building a Single-Page App with Angular, TypeScript, Azure Active Directory and Office 365 APIs

I had the opportunity to speak at the BUILD 2015 conference in San Francisco with my friend Andrew Connell and had a great time! We gave a talk on Angular, TypeScript, Azure AD and Office 365 APIs and I also gave two “Express” talks on TypeScript. It was super fun to meet new people and hang out with everyone at the conference. I even had the opportunity to check out the upcoming HoloLens device which was super cool! I was heading up an elevator to a meeting and a member of the HoloLens team approached me and asked if I […]