Lagoon road Laid back webapps
In Lagoon road, we turn everything in to middleware. Routing, templating, you name it. All this middleware is connected to a single object, which we call the road. You can picture it as a single road on an island. You can never get lost, it is either left or right. In Lagoon road it is even simpeler, it is a one way street.
Everything on the road is used by all environments that you are running, a web server, an API server, the client or even your Raspberry Pie/Aurdino and mobile device can be hooked up. Because of this it becomes a breeze to share code among these environments and still keep everything DRY. Sharing routes between client and a web server, have login checks for the API server and web server, sharing code is how Lagoon road works best.
Lagoon road is not a monolithic framework that does everything out of the box. The core, the only mandatory package is about 200 lines of code. You can add extensions (regular npm packages) to mold it in a system that works for you or your team. You remain in control over how you work and code.
Where from here?
Some laid back features of lagoon road
- 1It is modular, don't like a package, switch it for something else, it is all just npm packages
- 2Websockets, HTTP(2), you can switch protocols without having to change the way you build your app
- 3Plug in any store you like, you are not tied down to a single choice, you can even run multiple different ones next to each other
- 4Share code between environments and keep it organized, even when you scale up
- 5Want to hook up a Raspberry Pie or Arduino, sure thing, you can check for changes on sensory output and feed it straight into an API server, web server or straight to the browser
- 6You know how middleware works? You are up and running for Lagoon road, no endless docs you have to plow through