LEAN Stack — LAMP Stack Reborn

Samuel Brice
3 min readFeb 25, 2018

--

All of the Types!

Remember when building a web app was simple? When you could wander about night or day with nothing but a LAMP and not be labeled a cynic?

…fast-forward to-day and JavaScript Fatigue Fatigue is a global epidemic.

How Did It Come To This?

We can assume Why a biological Cambrian explosion would have necessarily ended, the planet has a finite carrying capacity. It’s a physical reality. As for Javascript’s Cambrian explosion…well, a dead guy once said:

Only two things are infinite, the universe and human stupidity, and I’m not sure about the former.

- AE

What Is This?

This is assuming (1) you are okay with using TypeScript, (2) you already know what you want to build and (3) you want to build it as efficiently as possible. By efficiently I mean you’d like to reduce the cognitive friction (and accompanying thermal energy lost through the ears) of going from your-idea to your-app.

L(inux)E(xpress)A(ngular)N(est)

LEAN comes down to minimizing (not necessarily optimizing) the different constructs and frameworks you’ll need to learn and understand in order to translate your-idea into longterm sustainable-code.

Sugar

Constructs to understand:

Spice

Frameworks to learn:

And Everything Nice

Tools to use.

Chemical X

The combination of Angular and Nest is Chemical X in this concoction.

There’s a natural organic-chemistry between the two frameworks that enables you to think about the architecture of your code both on the client and server within a single-fluid paradigm.

Sure, that was nice but where’s my npm install lean-stack ?

Read My Lips: No New Frameworks

You know that joke about JavaScript articles…

I call upon all JavaScript developers to do everything they can to stop these new frameworks. Thank you.

Now watch this whoopass…

🌟⭐POW!🌟…

Continue: LEAN Stack — No New Frameworks

I thought for sure N was…

Yes, initially N was N(ode) but N(est) works too, see below.

Why did I choose A instead of X?

Because LEXN is not as catchy.

Isn’t E(xpress) redundant within N(est)?

See above.

--

--