Category: machine-learning

machine-learning

Parameterizing HTML template tests

Testing templates for generating HTML leads to tests that are very similar. Matteo Vaccari wisely likes to separate the common elements of tests from those that vary. He continues his…

machine-learning

Prefetching in Single-Page Applications

Juntao Qiu’s completes his set of data fetching patterns for single-page applications. Prefetching involves fetching data before it’s called for in the application flow. Although this can mean data is…

machine-learning

Code Splitting in Single-Page Applications

Single-Page Applications often require a lot of code to be downloaded to the browser, which can delay a page’s initial appearance. Juntao Qiu’s next pattern, Code Splitting, describes how this…

machine-learning

A short note on how I use and render footnotes

Last week I added a small feature to this website, changing the way it renders footnotes. That prompted me to write this quick note about how I use footnotes, and…

machine-learning

Testing the contents of generated HTML

Matteo Vaccari continues his testing of template-generated HTML by describing tests for the contents of that HTML. He shows how to gradually build up the template, using Test-Driven Development in…

machine-learning

Using markup for fallbacks when fetching data

Juntao Qiu’s next data fetching pattern looks at how to specify fallback behavior using markup. This allows developers to pull such declarations out of the JavaScript components and into the…

machine-learning

Test-Driving HTML Templates

When building a server-side rendered web application, it’s valuable to test the HTML that’s generated through templates. While these can be tested through end-to-end tests running in the browser, such…

machine-learning

Parallel Data Fetching

The second pattern in Juntao Qiu’s series on data fetching is on how to avoid the dreaded Request Waterfall. Parallel Data Fetching queries multiple sources in parallel, so that the…

machine-learning

photostream 130

Big Sur, CA Source: martinfowler

machine-learning

Using data replication in legacy displacement

Alessio Ferri and Tom Coggrave complete their article about introducing seams into mainframe systems by looking how we can use data replication. Done well, it can provide a rapid start…