Master feed of news and updates from martinfowler.com
15 followers 0 articles/week
Testing server calls in generated HTML

Matteo Vaccari completes his article on testing template-generated HTML, by looking at how to use TDD with pages that make calls to the server. more…

Wed Jun 5, 2024 16:12
Testing the behavior of generated HTML

In the story so far, Matteo Vaccari has shown how to test the behaviour of the HTML templates, by checking the structure of the generated HTML. That's good, but what if we want to test the behavior of the HTML itself, plus any CSS and JavaScript it may use? more…

Thu May 30, 2024 16:22
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 article to show how he does this by parameterizing the tests. The resulting tests are easier to write, and more importantly,...

Wed May 29, 2024 18:12
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 fetched unnecessarily, it reduces latency should the data be needed. more…

Wed May 29, 2024 18:12
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 code can be divided up, so that modules are only loaded if they are going to be needed, and the dangers of doing so. more…

Thu May 23, 2024 18:31
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 how that influences the best way to render them. more…

Wed May 22, 2024 21:28

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account