Cloudflare Workers use cases and lessons learned - Part 4
Where Cloudflare Workers fit best, how a worker cut our origin requests by about 84%, and the lessons we learned running it in production.
How to handle errors and secure a REST API? - Part 4
Classify errors and faults, design the error body and apply the security techniques for a REST API: authentication, CORS and rate limiting.
How to write Cloudflare Workers? Common patterns with examples - Part 3
Common Cloudflare Worker patterns with examples: modify requests and responses, redirect and block at the edge, route to back-ends and handle origin failures.
How to use verbs, representations and status codes in a REST API? - Part 3
Design incoming and outgoing representations, choose the right status codes and use each HTTP verb correctly, with examples.
How to set up a local development environment for Cloudflare Workers? - Part 2
Set up a local development environment for Cloudflare Workers with Node.js, Yeoman and TypeScript, unit test the handler and bundle it with webpack.
How to design resources and URIs for a REST API? - Part 2
Identify resources from domain nouns and functions, choose the right granularity with an example and follow the conventions to design URIs.
What is Cloudflare Worker and why do we need it? - Part 1
Cloudflare Workers run our JavaScript at the edge. See what a worker is, how it works with routes, how it compares with page rules and when to use it.
Why REST and what makes an API RESTful? - Part 1
Why REST replaced WS-* services, what makes an API RESTful and the six REST constraints, with resources, URIs, verbs, safety and idempotence.
How to design and implement Future State Architecture? - Part 2
Design a Future State Architecture in three views, logical components, technology choices and solution architecture, and plan the move from the current state.
What is Future State Architecture and why do we need it? - Part 1
A Future State Architecture is a shared destination, not a big-bang rewrite. Learn why we need it, how to think about it in seven steps and the principles behind it.
Sreenivasan Madhaiyan
An accomplished author and publisher, Sreenivasan has written over 10 e-books that inspire and educate readers worldwide.