CODE Magazine continues to publish technical “how to” and “overview” articles about current and new technologies, as we have for over 25 years with sample source code, showing new and experienced developers modern techniques for how to build software used inside companies, on mobile devices and deployed to the cloud. Join our audience of software professionals every other month.
Error-Driven Development • Any developer who's been in this profession for any amount of time will relate to this story. I was working on an application integration using a vendor's REST API. The purpose of this integration was to manipulate metadata across several different customer sites and the documents contained within.
Top Azure Active Directory Mistakes • Like any developer, I'm constantly challenged by the pace of technology. I've been in this industry for a few years, and almost anyone reading this with similar experience under their belt will agree with me that writing code today is quite different than it was many years ago. Many years ago, we paid a lot of attention to every logic path. Before any product was released, a lot of care
Building Web APIs Using Node.js and Express: Part 3 • In the last two parts of this article series (in the May/June and July/August 2023 issues of CODE Magazine), you created a web server using Node.js, Express, and JavaScript. You built a series of API routes to retrieve an array of products and a single product, searched for a set of products, and added, edited, and deleted products. The product data was retrieved from a connection to
Applying DDD Thinking to Refactor Aggregate Filters • This article reconsiders the problem (well, a solution) of filtering in software being built for a book publishing company. Learning on lessons from Domain-Driven Design (DDD), the company's team (including devs, domain experts, and more) embarked on the initial discovery phase and strategic design. They then selected one particular bounded context that came out of strategic
Developing Real-Time Web Applications with Server-Sent Events in ASP.NET 7 Core • For real-time web applications, Server-Sent Events (SSE) provide an alternative to WebSockets and long polling, allowing serverside updates to be sent to clients without the need for clients to seek updates repeatedly. In this article, I'll discuss how to build real-time web applications with SSE in ASP.NET Core, including the core concepts of SSE, the features, benefits, and downsides
Getting Started with AI Copilots in Your Own Applications • Applications without Copilots are now legacy! I have now made this statement on a number of occasions, and it's become somewhat of a battle-cry within the CODE organization. Some might find the statement a bit strong or premature, but I feel that as we push forward, this is indeed how we have to approach software development from now on. How did we get here?
Vite and Progressive Web Apps • Many web developers use Vite to build their web applications, but as requirements change, you need to be able to make apps out of your websites. Luckily, Vite has a solution for you. At a high level, Vite is a development build environment and abstracts details from the underlying project framework. Because of this abstraction, you can achieve key features like packging,
Authentication in Laravel, Part 2: Token Authentication • In my previous article (May/June 2023 CODE Magazine), I introduced Authentication in Laravel. Laravel uses guards to determine an authenticated user by specifying which authentication provider should be used for authentication. Guards are defined in the config/auth.php file and can be customized to fit the needs of your application. Several types of guards are available in Laravel,
CODE Magazine
CODA: What Lies at Agile's Heart? • As soon as I heard the term applied to software...