Component Testing of Frontends with Karate, Part 2

In my previous article, I highlighted the nature of component tests. Their scope should be a single executable where all external dependencies have been replaced by configurable test doubles. Rich front-end applications are a good candidate for such tests. The backend they interact with should return predictable and easily configurable responses to cater to relevant … Read more

Django Performance Improvements. Part 1: Database Optimizations | by Esther Vaati | Jun, 2022

Part 1: Database Optimizations Photo by Ivan Diaz on Unsplash The main goal of optimization in Django projects is to make it fast to perform database queries by ensuring that your projects run by making the best use of system resources. A properly optimized database will reduce the response time hence a better user experience. … Read more

How To REST With Rails and ActiveResource: Part 3

It’s easy to use OpenURI and Net::HTTP. Well, “easy” is a relative term. Building a client library to access our task manager service still requires a fair amount of boilerplate code — more than we care to write, test, and maintain. We have shown you some principles and conventions for designing RESTful web services, and … Read more

Rust as Part of a Microservice Architecture | by applied.math.coding | Jun, 2022

Rust + TypeScript It is already some time ago that I have written a small account about how to use Rust within a full-stack web application (see here). This post is intended to follow up on this by offering an alternative approach in how to include Rust into the application. In general, we might say: … Read more

Instrumenting a JavaScript Application for OpenTelemetry, Part 1: Setup

A lot of what you read around the topic of Observability mentions the benefits and potential of analyzing data, but little about how you collect it. This process is called “instrumentation” and broadly involves collecting events in infrastructure and code that include metrics, logs, and traces. There are of course dozens of methods, frameworks, and … Read more

Uniswap Smart Contract Breakdown (Part 2) | by Nazar Ilamanov

Explaining its functionality by grouping lines of code This is Part 2 of the Uniswap Smart Contract Breakdown. In Part 1, we covered: How Uniswap works at a high level How Uniswap code is organized Uniswap functionalities Core contracts: Pair (hard): managing the funds, minting, and burning In this article, we will cover the rest: … Read more

Learning Python With Program Templates: Select From Alternatives (Part 1) | by Mike McMillan | May, 2022

A fun way to create a flexible program Photo by Alex Kotliarskyi on Unsplash In this article, I’m going to introduce the Select From Alternatives program template. This template provides the programmer with a process for making decisions in their programmes. The template is implemented using Python’s if statement. Many programming languages ​​also provide the … Read more

Better Scaffolding with jQuery – Part I

Grails scaffolding works great out of the box. Today I want to see how we can improve adding data to the many side of a one-to-many relationship using jQuery, jQueryUI’s Dialog, and some Ajax. Using the same domain objects as my previous article I want to show how we can add Reminders to an event … Read more