Skip to main content
Laravel, building with AI.
Chapter 5 · Never Let the Browser Talk to the Model

Put the Boundary Where the Facts Are

Julian Beaujardin

The fix is a backend-for-frontend: a small set of endpoints in the service that does own the facts, which the browser talks to instead.

For readers of the book

This chapter is for readers who bought the book

The opening pages and the first chapter are free. The rest is read online by those who own the book. If you already bought it, sign in with the email you used.

Checkout

Opening secure checkout

The audio could not be loaded. Try again in a moment.

Members only. Sign in to listen, it is free. Sign in