Tag: 'javascript'

I'm Hosting Two New Online Courses
I'm Hosting Two New Online Courses
February 17, 2023

As you likely know if you've read my blog before, I have spent the last decade or so creating courses to be viewed on Pluralsight. I love making these kinds of video-based courses, but I've decided to get back to instructor led training a bit.

Using Vite's Plugin for Progressive Web Apps (PWAs)
Using Vite's Plugin for Progressive Web Apps (PWAs)
February 9, 2023

I've worked with Progressive Web Application plug-ins with several SPA frameworks. Most of them are pretty simple to implement. But when I learned about Vite's plug-in, I was intrigued since that would work across different SPA frameworks.

What Surprised Me About ECMAScript Modules
What Surprised Me About ECMAScript Modules
February 1, 2023

I've been writing JavaScript (and TypeScript) for a lot of years. But digging into the course made me understand how some of this modularity actually worked. Let's talk about some things that surprised me.

Coding Shorts: Nested Routing in Vue.js
Coding Shorts: Nested Routing in Vue.js
July 5, 2022

I've been working on a new Microservice example and I'm writing the client in Vue.js. Due to the nature of the project, I needed to use Nested Routing. I thought this might be a good topic for a Coding Short.

Simple Web Interactivity with Alpine.js
Simple Web Interactivity with Alpine.js
April 27, 2022

After working with lots of these little JavaScript libraries, sometimes I pine for something simple to create interactivity on websites. In this Coding Short, I investigate Alpine.js to see how it works and where it might be useful:

SPAs in ASP.NET Core - Another Attempt
SPAs in ASP.NET Core - Another Attempt
April 20, 2022

After discussing this topic with a client, I realized that my old method of hosting SPAs in ASP.NET Core didn't handle resources correctly, so I dug in and came up with **yet another** technique. This one is the simpliest and the least intrusive and works better than most. Let me know what you think about it:

New Video: Pinia for Vue 3: A Better Vuex?
New Video: Pinia for Vue 3: A Better Vuex?
March 13, 2022

I'm happy to see that instead, they've adopted Pinia as an alternative. I am not in love with Pinia (as I use reactive objects more often) but for complex scenarios it reminds me of something closer to the Composition API.

New Video: Coding Making Sense of reactive() and ref() in Vue.js
New Video: Coding Making Sense of reactive() and ref() in Vue.js
January 30, 2022

I went on the WebRush podcast (with John Papa and Dan Whalin (et al.)) and had a discussion about reactive() and ref() in the Composition API that resulted in this video.

New Video: Coding Shorts: Introducing petite-vue
New Video: Coding Shorts: Introducing petite-vue
September 21, 2021

When I first started using Vue, I liked the ability to just drop the vue library on a page, and create some simple interactivity. While this still works, most people use Vue for larger, compiled projects.

Kansas City Developers Conference - Done!
Kansas City Developers Conference - Done!
September 16, 2021

I finally got to speak at a live event! This week I headed to Kansas City for KCDC, one of my favorite regional events.

New Videos Covering Vue 3.2
New Videos Covering Vue 3.2
August 22, 2021

I'm finally finishing up my studio/office in the house. With that, I'm getting back to making my "Coding Shorts" videos. If you're enjoying them, please let me know.

Dipping My Toe into Static Website Generators
Dipping My Toe into Static Website Generators
August 3, 2021

Running a build for your Vue is a common task for many Vue developers. The team behind Vue has been working on a development server to simplify this. This project is called Vite.

Coding Short: Using Spread and Destructuring in JavaScript
Coding Short: Using Spread and Destructuring in JavaScript
June 23, 2021

I've been working on websites for a long time now. That means that I've been writing client-side JavaScript since the early days. As the ECMAScript standards have come out, I've found it difficult to keep up with every new feature that might help me write better JavaScript.

New Coding Short Video: Should You Be Using Vue's Composition API?
New Coding Short Video: Should You Be Using Vue's Composition API?
June 13, 2021

If you've not noticed, I've been doing more video these days. I'm doing a weekly show called "Coding Shorts" where I cover topics that aren't course lengthed. The newest entry in this series is a demo of why I like Vue's Composition API. I convert an Options API to a Composition API and show you why I'm moving most of my Vue work to it.

Dynamically Creating Components in Angular
Dynamically Creating Components in Angular
March 9, 2021

I was talking with one of my clients and they wondered how they could build individual components in Angular dynamically (or based on data/metadata). I knew this was possible but I hadn't done this myself so I thought I'd try to dig into it.

I Was Wrong - Hosting SPAs in ASP.NET Core
I Was Wrong - Hosting SPAs in ASP.NET Core
February 15, 2021

If you've seen my projects or courses over the last few years, I had been advocating for using NPM for client-side libraries and SPAs at the same time. This caused the need to merge generated packages.json files. This added to the complexity. In addition, to handle the client-side libraries with NPM, you needed a way to both read the node_modules folder during development. This was handled with some middle-ware created by the late, great @OdeToCode (K. Scott Allen).

Vite for Existing Vue CLI Projects
Vite for Existing Vue CLI Projects
January 10, 2021

Running a build for your Vue is a common task for many Vue developers. The team behind Vue has been working on a development server to simplify this. This project is called Vite.

Revisiting Multiple Vue Projects
Revisiting Multiple Vue Projects
November 15, 2020

I've talked about how the term SPA annoys me. I think that client-side frameworks are great for expanding websites, not replacing them. With that in mind, I like the idea of a handful of client-side apps enhancing websites, but not every framework makes that easy.

A Month with Vue 3
A Month with Vue 3
June 28, 2020

In my spare time, I've been working on a micro-services example to try and make a minimum viable micro-service using ASP.NET Core. To make things that much harder, I've also decided to use Vue 3 for the front end. In for a penny, in for a pound.

Vue Down Under
Vue Down Under
June 10, 2020

Yet another of my talks that resulted from being bored at home and on Twitter. I had a great time talking to this great group.

Vue 3's Global Mounting
Vue 3's Global Mounting
May 17, 2020

As Vue 3 continues it's relentless Beta drive (with almost daily Beta builds), all of us Vue developers have to get ready for changes. The one I want to mention today is the changes in mounting a new Vue object.

Where Did Filters Go in Vue 3?
Where Did Filters Go in Vue 3?
May 11, 2020

With Vue 3 now in beta, some people are starting to look into it deeper (including me). While a lot of the features are meant to improve the performance and speed, the Vue team did decided to take out a feature lots of people use: filters.

Upgrading from Gulp 3 to 4
Upgrading from Gulp 3 to 4
October 28, 2019

I may be very late to the party, but once Gulp 3.x stopped working with recent versions of Node, I've been forced to update my projects to the newest version of Gulp.

Changing Nested State in Vuex
Changing Nested State in Vuex
July 7, 2019

I've been updating the Atlanta Code Camp website to improve our administration workflow. With the Call for Speakers coming up soon, I wanted to make sure we had a good way of picking only the best talks.

Did Vue.js Just Blink?
Did Vue.js Just Blink?
June 24, 2019

There is a lot of buzz around the internet about Vue.js 3.0's announcement about a new composition model. There are a lot of questions about it and I think much of it is 'they moved my cheese' more than 'they're breaking everything'.

Using an InputMask with Vue (e.g. The Vue Ecosystem)
Using an InputMask with Vue (e.g. The Vue Ecosystem)
May 5, 2019

One of the first times I started working with Vue, I was concerned about it's long-term success. I was coming from Angular and their ecosystem is huge.

Should I Be Using the ASP.NET Core SPA Templates?
Should I Be Using the ASP.NET Core SPA Templates?
April 28, 2019

I've been writing demos for Vue, Angular, and React for my SignalR micro-courses over on my Wilder Minds site. For Angular and React, I started out with the the SPA templates, but I found them confusing and hard to do a minimal example.

Vuex and Asynchronicity
Vuex and Asynchronicity
April 22, 2019

If you're using Vuex for state management in your Vue.js applications, there is a good chance that you need to use async operations (e.g. API calls). I have been doing this a while, but falling back to using Promises in most cases.

Vue's Single File Components vs. React's JSX
Vue's Single File Components vs. React's JSX
April 15, 2019

I have to admit, my first experiences with React several years ago were meet with a lot of cynicism. The idea of mixing JavaScript and Markup made me clutch my pearls to the core.

Creating a Vuex Plugin
Creating a Vuex Plugin
March 27, 2019

If you're building larger scale Vue objects and you're not using Vuex to centralize your state, please stop and go learn Vuex. Really. For those of you still here, sometimes it's helpful to be able to monitor state changes to perform other tasks. For example, to send messages or communicate with servers that aren't about state (e.g. SignalR is a good example). That's where Vuex plugins come in. A Vuex plugin is a simple function that is called once during the setup of a Vuex store. Typically you'd just create the function/arrow function taking an instance of the store:

A Vue to a Skill - New Article in Code Magazine
A Vue to a Skill - New Article in Code Magazine
March 8, 2019

I'm back writing again. I've missed it. You'll see more and more articles in different publications from me in the near future.

Vue.js Presentation at the Atlanta .NET Users Group
Vue.js Presentation at the Atlanta .NET Users Group
January 29, 2019

I had a great time presenting to the Atlanta .NET Users' Group last night. I talked about where I think Vue.js.

Should You Be Using the Vue CLI?
Should You Be Using the Vue CLI?
December 1, 2018

The Vue team has been working hard. Much like Angular, the Vue team has a command-line interface (CLI) to help develop projects with Vue.

Talking Vue with .NET Zuid
Talking Vue with .NET Zuid
October 4, 2018

If you're not in the south part of the Netherlands, you might have missed my most recent appearance last night. Great hosts, guests and sponsors make the night and easy and fun talk.

The Reports of the Death of JavaScript are Greatly Exaggerated
The Reports of the Death of JavaScript are Greatly Exaggerated
June 16, 2018

Not John BoltonThe notorious quip by Mark Twain came to mind today as I was reviewing comments to my recent blog post about Blazor, a lot of the comments talked about WebAssembly being the death of JavaScript.

Who is Blazor for Exactly?
Who is Blazor for Exactly?
June 13, 2018

In case you haven't been following the news about WebAssembly (e.g. WASM), it's a new way to build something akin to bytecode for the browser. The latest versions of most browsers now support it including Chrome, Firefox and Edge.

Learning Web Development with Pluralsight
Learning Web Development with Pluralsight
November 4, 2017

As many of you know, I'm a Pluralsight author and I've been writing courses for the site for a long time now. I have over twenty courses to my name. While my ASP.NET Core courses get a lot of attention, I've been trying to help people get started in general web development through my courses.

Kansas City Developers Conference
Kansas City Developers Conference
August 5, 2017

So KCDC is over for another year. This was my first year at the event and the organizers made me so welcome. Highly recommended!

Why I Moved to Vue.js from Angular 2
Why I Moved to Vue.js from Angular 2
February 12, 2017

I know I’m going to upset some people, but hang in and read the whole article…really. In updating my blog recently, one of the changes I wanted to make was to update my use of the JavaScript framework I used for the contact page.

How'd You Build That Map?
How'd You Build That Map?
May 12, 2015

When I started the Wilder World Tour, I built a simple map so my Mom could know where I was during the trip. I thought others might be interested too.

AngularJS and VS Code in Singapore
AngularJS and VS Code in Singapore
May 5, 2015

I’m currently in southeast Asia for my world tour. While in Singapore, I had the pleasure to chat with a great group of developers about AngularJS.

Visual Studio and WebStorm: Am I Mad?
Visual Studio and WebStorm: Am I Mad?
December 13, 2014

I might be. In many of the projects I help with we have to handle back-end and front-end coding for web projects. This means I need the best in breed in tools no matter where I’m writing code.

My New Course: WebStorm Fundamentals
My New Course: WebStorm Fundamentals
November 5, 2014

Last week my seventeenth course for Pluralsight! I love building content for Pluralsight and it allows me to teach technologies that I am utilizing in my own life. This new course is no different.

It Is Too Soon to Panic on AngularJS 2.0
It Is Too Soon to Panic on AngularJS 2.0
October 29, 2014

So AngularJS team finally is talking more publically about what they’re trying to do. At the ngEurope conference last week, they talked very opening about their new strategy for AngularJS 2.0 and it has a lot of people freaked out. Sounds a lot like some reaction to Silverlight in fact.

New Course: Front-end Web Dev Quick Start
New Course: Front-end Web Dev Quick Start
August 31, 2014

It’s that time again. I’ve recently released a new course on Pluralsight. This time I tackle Web Development for complete beginners.

It Is Time to Learn JavaScript
It Is Time to Learn JavaScript
June 22, 2014

JavaScript is having a great year. With the continuation of web development, Node.js, and even Apple adding JavaScript as a replacement for their AppleScript.

Choose Your Own Adventure with Node.js View Engines
Choose Your Own Adventure with Node.js View Engines
March 24, 2014

As some of you know, I’ve been delving into Node.js for a new Pluralsight course that is coming out soon. One of the interesting aspects to me is the idea of server-side view engines. As an ASP.NET (and ASP before that) guy, I’ve been using server-side view engines for a long time…not that we always called them that.

Node.js and Visual Studio? Sure!
Node.js and Visual Studio? Sure!
March 24, 2014

I’ve been working on a new course for Pluralsight on “Node.js for .NET Developers”. It’s been a fun course to write and one of the aspects of the course that I find interesting is that the open source Node.js Tools for Visual Studio plugin actually works really well.

Why is DOM-Centric JavaScript Hard to Test?
Why is DOM-Centric JavaScript Hard to Test?
February 7, 2014

While producing my recent course on Large Scale JavaScript, I was digging into the testability of JavaScript. So much of the JavaScript I see out there continues to be jQuery driven, DOM-centric JavaScript.

Why Should You Care About NodeJS?
Why Should You Care About NodeJS?
January 17, 2014

I know that many of my readers are .NET guys and a core constituency actively hate JavaScript so bear with me and let’s talk about NodeJS for a minute.

Bootstrap 3 Grid System Explained
Bootstrap 3 Grid System Explained
December 4, 2013

Are you starting to work with Bootstrap 3? If so, maybe I can help. I’ve recently released a Bootstrap 3 course on Pluralsight that covers many of the new features including how to migrate from Bootstrap 2 to 3.

JavaScript Function Scopes
JavaScript Function Scopes
October 16, 2013

As some of you know, I authored a Pluralsight course on JavaScript for C# Developers. We’ve released an excerpt from that course covering how JavaScript function scopes work.

Getting Ready for AngularJS 1.2
Getting Ready for AngularJS 1.2
September 18, 2013

is going through their release cycle now and that means that AngularJS 1.2 is going to be released soon with some specific changes that you'll need to address. I'll be updating my Pluralsight Course with the 1.2 changes as soon as the new version ships.

Need LINQ but Writing JavaScript?
Need LINQ but Writing JavaScript?
August 11, 2013

One of the tasks that I found cumbersome when writing JavaScript is simple collection manipulation. I have gotten spoiled in C# with LINQ. Sorting, filtering, shaping and more is easy with LINQ but what about in JavaScript? Underscore.js to the rescue.

My AngularJS Talk at Atlanta .NET UG
My AngularJS Talk at Atlanta .NET UG
August 5, 2013

Thanks to all who showed up to see me talk about AngularJS at the recent Atlanta .NET User's Group. At the talk, I wrote the client-side code for an AngularJS app by hand. The slides are pretty thin, but the code includes all the functionality I showed. I promised the slides and code so here they are!

My New Web Development Course is Live
My New Web Development Course is Live
August 5, 2013

Are you getting ready to build a new website? Are you interested in shortening your development by using Bootstrap, AngularJS, Azure and ASP.NET? If so, my new course might be just for you.

JavaScript Promises
JavaScript Promises
August 3, 2013

No I am not talking the promise that JavaScript will fix everything if you use it. I don't even believe that ;) I am talking about the concept of a promise object that several JavaScript libraries use (including AngularJS, jQuery, Dojo and WinJS).

Building Atlanta Code Camp Website
Building Atlanta Code Camp Website
June 3, 2013

I recently helped the Atlanta Code Camp effort by building them a new website. You can see it here: Atlanta Code Camp.  I am pretty proud of what I was able to accomplish in the scant number of hours I had to build it. It's not done as we need to improve it when we have the speakers chosen and set up the schedule, but so far I am pretty happy with it.

Debugging PhoneGap with the Android Console
Debugging PhoneGap with the Android Console
April 30, 2013

If you build PhoneGap apps and test with the browser, moving to phones sometimes causes a boatload of problems. Because there isn't a great debugging story, being able to see the console window would be of great help.

My Practical PhoneGap Course is now Live!
My Practical PhoneGap Course is now Live!
April 24, 2013

If you're interested in cross-platform mobile apps, I like the solution that PhoneGap has. It uses HTML5/CSS/JS as the UI stack and I find it compelling to build apps for iOS, Android, Kindle, Windows Phone and Windows 8 Store. I've just released a new course on PhoneGap that attempts to fill in some of the holes in building apps.  The course includes:

PhoneGap and Windows 8
PhoneGap and Windows 8
March 5, 2013

I've created a new example of a PhoneGap app for my talk at the Atlanta Windows Apps meeting. The talk I did tonight didn't go all that well, but I got it working and the result is something you can download and see how to use a minimum of WinJS to build your Windows 8 apps.

Building Cross-Platform Apps with HTML: Part 1 of 4
Building Cross-Platform Apps with HTML: Part 1 of 4
December 9, 2012

One of the things that I’ve been spending a lot of time working with lately is the ability to be able to build cross-platform apps. While I spend a lot of time in the Microsoft space (especially Windows 8 and Windows Phone 8), I need to be able to create and deploy apps to iOS and Android platforms. I've decided to do a series on building one of these using Single Page Application for the web, then deploying it to devices via PhoneGap:

Clarifying Windows Phone 8 HTML5 Apps
Clarifying Windows Phone 8 HTML5 Apps
November 5, 2012

ReMIX South 2012
ReMIX South 2012
October 19, 2012

I had a great time at ReMIX South this year! It's been great to meet developers and designers and learn how they are using design tools of all sorts.

JavaScript for C# Developers Live!
JavaScript for C# Developers Live!
October 9, 2012

TypeScript (or the obligatory post about it)
TypeScript (or the obligatory post about it)
October 2, 2012

Like many of you, I've been itching to see what Anders had up his sleeve and I wasn't disappointed yesterday when they announced TypeScript. After teaching all day, I took a quick look at TypeScript (and I do mean quick).

When to Not Use Observable in KnockoutJS
When to Not Use Observable in KnockoutJS
September 27, 2012

I've been really busy lately and my list of things to blog on has been getting backed up. One thing that occurred to me while building my new JavaScript course was about how KnockoutJS and Observables actually work. Here's the deal.

My New Course: JavaScript for C# Devs
My New Course: JavaScript for C# Devs
August 31, 2012

If you are a C# developer who is ready to take on JavaScript, I have the course for you. The goal of the new course is to help C# developers understand the nature of JavaScript so you can write JavaScript like a native speaker. This is for developers who need JavaScript for any of the popular places to use JavaScript including:

aspConf was fun!
aspConf was fun!
July 17, 2012

I had a good time doing a couple of talks today. If you joined me online, thanks for coming. For those who missed my talks, they will be posting the videos on Channel 9. As promised you can get the slides and examples here for my talks:

New Pluralsight Course on Debugging Web Sites
New Pluralsight Course on Debugging Web Sites
June 3, 2012

After a long gestation, I finally completed my Web Debugging course for Pluralsight. This new course covers the details of using the tools in the browsers to debug layout, JavaScript, CSS and networking. While the course shows you how to find the tools in all the major browsers, the focus is using Firefox and Firebug. Though the techniques shown in Firebug apply pretty seamlessly to all the browser tools. This course is not .NET specific, but should be useful to any web developers.

JavaScript for the C# Guy: The confusion about 'this'
JavaScript for the C# Guy: The confusion about 'this'
May 28, 2012

JavaScript for the C# Guy: The Global Object
JavaScript for the C# Guy: The Global Object
May 6, 2012

This is another in my series about (hopefully) interesting JavaScript constructs that might surprise most C# developers. You can see others here: JavaScript for the C# Guy.

Modern Web Development - Part 8
Modern Web Development - Part 8
March 24, 2012

This is the eighth of ten parts of this blog post. The topics will be:

JavaScript for the C# Guy: Scopes
JavaScript for the C# Guy: Scopes
March 16, 2012

From my Web Dev for XAML Devs Talk
From my Web Dev for XAML Devs Talk
March 14, 2012

I had the opportunity tonight to do a talk for the Atlanta XAML Meetup on Web Development for XAML Developers. I had fun explaining how XAML developers can use their existing skills with markup, design, data binding and data access on web page development. You can see the slides from the talk here:

JavaScript for the C# Guy: Function Overloads
JavaScript for the C# Guy: Function Overloads
March 10, 2012

I’ve been writing a lot of JavaScript lately. As a C# guy, I noticed that try and take my knowledge from my time in C# (and C++ and even a little Java) and try to apply it. They are curly braces after all…but alas it doesn’t always work. I’ll learn my lesson one day ;) (though I doubt it).

Modern Web Development - Part 6
Modern Web Development - Part 6
February 20, 2012

This is the sixth of ten parts of this blog post. The topics will be:

Modern Web Development - Part 5
Modern Web Development - Part 5
February 15, 2012

This is the fifth of ten parts of this blog post. The topics will be:

Modern Web Development - Part 4
Modern Web Development - Part 4
February 8, 2012

This is the fourth of ten parts of this blog post. The topics will be:

The Web Workshop: Client-Side Dev Training
The Web Workshop: Client-Side Dev Training
January 22, 2012

Modern Web Development - Part 2
Modern Web Development - Part 2
January 20, 2012

This is the second of ten parts. The topics will be:

Modern Web Development - Part 1
Modern Web Development - Part 1
January 18, 2012

This is the first of ten parts of this blog post. The topics will be:

The Case of the ModelBinding Failure
The Case of the ModelBinding Failure
December 19, 2011

Using MVVM on the Web with KnockoutJS
Using MVVM on the Web with KnockoutJS
November 20, 2011