Skip to content

Commit

Permalink
Website: news
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Sep 16, 2023
1 parent f0c9a59 commit 002dbb5
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 52 deletions.
1 change: 1 addition & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@heroicons/react": "^2.0.18",
"@octokit/graphql": "^7.0.1",
"next": "^13.4.9",
"next-seo": "^6.1.0",
"nextra": "^2.8.0",
"nextra-theme-docs": "^2.8.0",
"react": "^18.2.0",
Expand Down
15 changes: 15 additions & 0 deletions website/src/components/news/ArticleHeader.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default function ArticleHeader({ subTitle, date, author, authorGitHub, ...props }) {
return <div {...props}>
<div className="text-center text-gray-500 text-lg mb-4">
{subTitle}
</div>
<figcaption className="mt-8 flex gap-x-4">
<img src={`https://github.com/${authorGitHub}.png?size=200`}
alt={author} className="mt-1 h-10 w-10 flex-none rounded-full bg-gray-50" />
<div className="text-sm leading-6">
<div className="font-semibold text-gray-900">{date}</div>
<a href={`https://github.com/${authorGitHub}`} className="text-gray-500">{author}</a>
</div>
</figcaption>
</div>;
}
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
---
title: Bref 1.0 is released 🎉
subTitle: Celebrating 1 billion executions per month
layout: news-article
articleDate: November 2020
author: Matthieu Napoli
authorGithub: mnapoli
---
import ArticleHeader from '../../components/news/ArticleHeader';
import { NextSeo } from 'next-seo';

<NextSeo description="Bref 1.0 is released and reaches 1 billion invocations every month." />

# Bref 1.0 is released 🎉

<ArticleHeader
subTitle="Celebrating 1 billion executions per month"
date="November 2020"
author="Matthieu Napoli"
authorGitHub="mnapoli" />

Bref started in November 2017, 3 years ago. Back then, running PHP on AWS Lambda was experimental at best.

Over the years, as the Bref community grew, as AWS features landed, and as contributors worked, creating serverless PHP applications has become a reality. Bref 0.2 has seen 37 releases. Bref 0.5 has 33. In total, we've released 89 versions since the project started.

Needless to say, **Bref is stable** and has been for a long time.

<div class="text-xl my-8">
<div className="text-xl my-8">
Indeed, Bref runs more than 1 billion requests and jobs every month!
</div>

Expand Down Expand Up @@ -143,7 +147,7 @@ Well, you already could, but now it will be a bit easier.
> Self-promotion time: I've helped enterprises refactor their microservice architectures using Lambda and SQS/EventBridge.
If you are interested, [get in touch to work together](mailto:[email protected]).
You can also check out [Serverless Visually Explained](https://serverless-visually-explained.com/?ref=bref-1.0), it contains examples for those use cases.
</self-promo\>
< /self-promo\>

Finally, the [`BREF_LOOP_MAX` variable](/docs/environment/performances.mdx#bref-for-event-driven-functions) is now documented, for those ready to keep the PHP process alive between events to accelerate their workers.

Expand Down Expand Up @@ -257,7 +261,7 @@ Hope you enjoy it! And stay tuned for the AWS re:Invent conference next week!

You can also join the community [in Slack](/docs/community.md), post details about your project in [Built with Bref](https://github.com/brefphp/bref/issues/267) or share your experience online.

<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<a href="/docs/" class="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">What is Bref and serverless?</a>
<a href="/docs/first-steps.html" class="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">Get started with Bref</a>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<a href="/docs/" className="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">What is Bref and serverless?</a>
<a href="/docs/first-steps.html" className="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">Get started with Bref</a>
</div>
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
---
title: Bref 2.0 is released 🎉
subTitle: Celebrating 10 billion executions per month
layout: news-article
articleDate: March 2023
author: Matthieu Napoli
authorGithub: mnapoli
socialCard: https://bref.sh/docs/news/02/social-card.png
---
import ArticleHeader from '../../components/news/ArticleHeader';
import { NextSeo } from 'next-seo';

<NextSeo description="Bref 2.0 is released and reaches 10 billion invocations every month."
openGraph={{
images: [
{
// TODO move the image to a public folder
url: 'https://bref.sh/docs/news/02/social-card.png',
},
],
}}
/>

# Bref 2.0 is released 🎉

<ArticleHeader
subTitle="Celebrating 10 billion executions per month"
date="March 2023"
author="Matthieu Napoli"
authorGitHub="mnapoli" />

The work on what would be Bref 2.0 started in October 2021, about 1.5 year ago. We went through many different strategies, experiments, rewrites, over **700 commits** to finally land with the stable release.

Expand Down Expand Up @@ -334,44 +346,44 @@ I know this isn't _that_ exciting, but I had to mention it given the incredible

A huge thanks to the [136 Bref contributors](https://github.com/brefphp/bref/graphs/contributors), to the community for supporting the project, and to the open-source sponsors:

<div class="mt-8 mb-4 pt-8 pb-6 border-t border-gray-300 flex-grow grid grid-cols-3 md:grid-cols-5 gap-x-8 gap-y-12">
<a class="flex justify-center items-center" href="https://aws.amazon.com" title="AWS">
<img class="h-8" src="/img/aws.svg" alt="AWS">
<div className="mt-8 mb-4 pt-8 pb-6 border-t border-gray-300 flex-grow grid grid-cols-3 md:grid-cols-5 gap-x-8 gap-y-12">
<a className="flex justify-center items-center" href="https://aws.amazon.com" title="AWS">
<img className="h-8" src="/img/aws.svg" alt="AWS"/>
</a>
<a class="flex justify-center items-start" href="https://craftcms.com/?ref=bref.sh" title="Craft CMS">
<img class="w-32" src="/img/logo-craft-cms.png" alt="Craft CMS">
<a className="flex justify-center items-start" href="https://craftcms.com/?ref=bref.sh" title="Craft CMS">
<img className="w-32" src="/img/logo-craft-cms.png" alt="Craft CMS"/>
</a>
<a class="flex justify-center" href="https://tideways.com/?ref=bref" title="Tideways">
<img class="w-28" src="/img/logo-tideways.svg" alt="Tideways">
<a className="flex justify-center" href="https://tideways.com/?ref=bref" title="Tideways">
<img className="w-28" src="/img/logo-tideways.svg" alt="Tideways"/>
</a>
<a class="flex justify-center items-center" href="https://www.mybuilder.com/?ref=bref.sh" title="MyBuilder">
<img class="h-5" src="/img/logo-mybuilder.svg" alt="MyBuilder">
<a className="flex justify-center items-center" href="https://www.mybuilder.com/?ref=bref.sh" title="MyBuilder">
<img className="h-5" src="/img/logo-mybuilder.svg" alt="MyBuilder"/>
</a>
<a class="-mt-3 flex justify-center" href="https://null.tc/?ref=bref" title="Serverless consulting company">
<img class="h-10" src="/img/logo-null.png" alt="Null">
<a className="-mt-3 flex justify-center" href="https://null.tc/?ref=bref" title="Serverless consulting company">
<img className="h-10" src="/img/logo-null.png" alt="Null"/>
</a>
</div>
<div class="my-4 py-8 border-t border-b border-gray-300 flex-grow grid grid-cols-3 md:grid-cols-5 gap-x-8 gap-y-12">
<a class="flex justify-center -mt-2 -mb-4" href="https://www.jetbrains.com/?ref=bref.sh" title="JetBrains - Makers of PhpStorm">
<img class="h-16" src="/img/logo-jetbrains.svg" alt="JetBrains">
<div className="my-4 py-8 border-t border-b border-gray-300 flex-grow grid grid-cols-3 md:grid-cols-5 gap-x-8 gap-y-12">
<a className="flex justify-center -mt-2 -mb-4" href="https://www.jetbrains.com/?ref=bref.sh" title="JetBrains - Makers of PhpStorm">
<img className="h-16" src="/img/logo-jetbrains.svg" alt="JetBrains"/>
</a>
<a class="flex justify-center items-center" href="https://laravel.com/?ref=bref.sh" title="Laravel">
<img class="h-10" src="/img/logo-laravel.svg" alt="Laravel">
<a className="flex justify-center items-center" href="https://laravel.com/?ref=bref.sh" title="Laravel">
<img className="h-10" src="/img/logo-laravel.svg" alt="Laravel"/>
</a>
<a class="flex justify-center items-center" href="https://depot.dev/?ref=bref.sh" title="Depot">
<img class="h-8" src="/img/logo-depot.png" alt="Depot">
<a className="flex justify-center items-center" href="https://depot.dev/?ref=bref.sh" title="Depot">
<img className="h-8" src="/img/logo-depot.png" alt="Depot"/>
</a>
<a class="flex justify-center items-center" href="https://secumailer.com/?ref=bref.sh" title="SecuMailer">
<img class="w-20" src="/img/logo-secumailer.svg" alt="SecuMailer">
<a className="flex justify-center items-center" href="https://secumailer.com/?ref=bref.sh" title="SecuMailer">
<img className="w-20" src="/img/logo-secumailer.svg" alt="SecuMailer"/>
</a>
<a class="flex justify-center items-center" href="https://www.kartenmacherei.de/?ref=bref.sh" title="Karten Macherei">
<img class="w-16" src="/img/logo-kartenmacherei.svg" alt="Karten Macherei">
<a className="flex justify-center items-center" href="https://www.kartenmacherei.de/?ref=bref.sh" title="Karten Macherei">
<img className="w-16" src="/img/logo-kartenmacherei.svg" alt="Karten Macherei"/>
</a>
<a class="flex justify-center items-center" href="https://ecomail.cz/?ref=bref.sh" title="Ecomail.cz">
<img class="h-5" src="/img/logo-ecomail.png" alt="Ecomail.cz">
<a className="flex justify-center items-center" href="https://ecomail.cz/?ref=bref.sh" title="Ecomail.cz">
<img className="h-5" src="/img/logo-ecomail.png" alt="Ecomail.cz"/>
</a>
<a class="flex justify-center items-center" href="https://akaunting.com/?ref=bref.sh" title="Akaunting - Free Accounting Software">
<img class="w-20" src="/img/logo-akaunting.svg" alt="Akaunting">
<a className="flex justify-center items-center" href="https://akaunting.com/?ref=bref.sh" title="Akaunting - Free Accounting Software">
<img className="w-20" src="/img/logo-akaunting.svg" alt="Akaunting"/>
</a>
</div>

Expand All @@ -393,7 +405,7 @@ You can also join the community [in Slack](/docs/community.md), post details abo

If you enjoy teasers, here is a preview of a redesign coming soon to Bref:

<div class="flex justify-center"><img src="02/logo.png" class="h-48"></div>
![](./02/logo.png)

## One more thing

Expand All @@ -403,7 +415,7 @@ I launched the [**Bref Dashboard**](https://dashboard.bref.sh/) ✨ in January.

And if you need support or help going serverless, check out the [Support Plans](/#ecosystem).

<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<a href="/docs" class="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">What is Bref and serverless?</a>
<a href="/docs/first-steps.html" class="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">Get started with Bref</a>
<div className="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<a href="/docs" className="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">What is Bref and serverless?</a>
<a href="/docs/first-steps.html" className="rounded-md shadow px-8 py-8 border text-center font-bold hover:bg-gray-100">Get started with Bref</a>
</div>
4 changes: 4 additions & 0 deletions website/src/pages/news/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"02-bref-2.0": "Bref 2.0 is released",
"01-bref-1.0": "Bref 1.0 is released"
}

0 comments on commit 002dbb5

Please sign in to comment.