brefphp / bref

Serverless PHP on AWS Lambda
https://bref.sh
MIT License
3.15k stars 365 forks source link

Reorganizing the documentation to separate "Bref for web hosting" and "Bref for functions" #641

Closed mnapoli closed 3 years ago

mnapoli commented 4 years ago

Following many exchanges and support requests over the months, as well as the fact that native events are better supported by Bref, it could be good to reorganize the documentation to separate:

In the first use case, we use Lambda for (scalable, cheap, effortless) web hosting.

In the second use case, we use Lambda to build event-driven serverless applications using functions.

Naming is hard, but here are possibilities for the 2 "main sections" of the documentation:

Thank you @GeeH for coming up with that!

The last one could also be Bref for event-driven applications but I find that more confusing, and it's a mouthful.

Goals

Proposal

Here is a 1st proposal, feedback is welcome:

CleanShot 2020-05-04 at 11 00 50

The design is not set in stone of course, this is a first attempt that iterates on the current design.

mnapoli commented 4 years ago

Something I forgot to mention: I separated the Deployment page because it is common to both use cases. However, it will be weird that it gets mentioned afterwards.

What I suggest is:

That way we mimize the duplicated content, and we keep a logical order of things.

GeeH commented 4 years ago

This looks fantastic, and I'm excited to help and get started. How can I help?

G

On Mon, May 4, 2020 at 10:18 AM Matthieu Napoli notifications@github.com wrote:

Something I forgot to mention: I separated the Deployment page because it is common to both use cases. However, it will be weird that it gets mentioned afterwards.

What I suggest is:

  • both "Bref for web hosting" and "Bref for functions" should explain to deploy with serverless deploy, straight from your machine (i.e. light introduction to deploying the app)
  • the Deployment page should explain how to do a "proper" deployment, with CI/CD

That way we mimize the duplicated content, and we keep a logical order of things.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/brefphp/bref/issues/641#issuecomment-623352993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEVYACNOSZQDVRZLN56C33RP2B7PANCNFSM4MYSXTNA .