More flexible and powerful than ever, with greedy catchall syntax, and legacy server migration with @proxy

Image for post
Image for post

OpenJSF Architect powers thousands of real production serverless applications all over the world. We continue to hear how valuable folks find its focused, direct, stable, lock-in-free approach to building blazing fast modern web apps without ever having to manage a single server.

Today we’re announcing Architect 8 (El Chupacabra), which adds the newest Architect pragma, @proxy, and makes @http routes even more powerful with three new additions!

Create your first serverless app in <60 seconds!

Want to give it a go? Here’s the super quickstart, no AWS credentials required:

Image for post
Image for post

First: npm init @architect ./your-app-name
Then: npx arc sandbox
That's it!

Ok, on to the new stuff.

Catchall syntax

A powerful new @http primitive, catchall syntax (*) allows Architect routes to capture all paths. For example, say you want to handle all get requests to your entire RESTful API in a single endpoint. Now with catchall syntax, you can simply define get /api/*, and all get requests to /api/category/123/item/456 or /api/categories or /api/sellers/789 will all be sent to your get /api/* handler. …


By popular demand: API Gateway HTTP APIs are now the default in Architect serverless apps

Image for post
Image for post

OpenJSF Architect now powers thousands of serverless applications all over the world. Folks continue to tell us they value its focused, direct, stable, lock-in-free approach to building blazing fast modern web apps without ever having to manage a single server.

Today we’re extremely excited to announce Architect 7 (Chupacabra), a major step forward in building serverless web apps and APIs with AWS.

Chupacabra now deploys AWS API Gateway v2.0 (aka HTTP) APIs by default, and ships with a rewrite of Architect’s local development environment, Sandbox. …


Image for post
Image for post
Photo by Carly Reeves

Terms like master-slave carry powerful implications of racial supremacy and oppression, and have no place in our lexicon. Efforts across our industry are rightfully underway to retire such references to the dustbin of history, where they belong.

Although Git and GitHub still name branches master by default (for now), moving your repos away from the master branch name is relatively easy. In this guide we’ll rename it main (or you can choose whatever you prefer). Some other ideas that have been bandied about include: default, dev, devel, primary, prod, release, and trunk.

Checklist

First, make sure you’ve gone over the following checklist to ensure you won’t be introducing any tricky…


Image for post
Image for post
Photo by Traf

Begin already gives you the most advanced set of serverless tools and application primitives in its class:

  • Static assets for publishing any kind of web asset or page
  • HTTP functions (@http), enabling full server-side rendering
  • Begin Data, a super fast and simple way to persist and access app data.

Today we’re introducing an entirely new primitive to Begin apps: event functions (@events)!

Try out Begin events functions right now

Hit this button to deploy an event functions example app to Begin in 30 seconds:

Image for post
Image for post

Event functions: what are they, and how do they work?

Asynchronous tasks are a very common requirement in most modern applications. For example: say someone signs up for your newsletter.

You don’t want your user to wait around for your application to respond while it makes API calls to your mailing list service. …


The simplest, fastest way to build modern applications just got a lot more powerful

Image for post
Image for post

Since 2017, Architect has been the premiere foundation-backed open source serverless framework, with a clear focus on being the simplest, fastest way to build a modern web app.

The space has evolved rapidly, and we’re incredibly excited to announce Architect 6 (Ogopogo): a ground-up rewrite with first-class Ruby & Python support, that combines the speed and simplicity of which Architect users are accustomed, with the determinism of AWS’s infrastructure-as-code standard, CloudFormation.

Create your first serverless app in <60 seconds!

Want to give it a go? Here’s the super quickstart, no AWS credentials required.

First: npm i -g @architect/architect

Image for post
Image for post
npm i -g @architect/architect
mkdir app
cd app
arc init
arc sandbox

Learn more about building with Architect’s various serverless app primitives, such as HTTP functions, WebSockets, events, and more. …


Image for post
Image for post

Architect treats local offline development of serverless apps as a first-class concern, and today we’re taking it to the next level.

Architect 4.3 (Yeti) includes an all-new version of sandbox (npx sandbox) that starts up instantly, instantly loads your local code changes, and best of all, paves the way for multiple runtimes.

Instant startup

The new Architect sandbox now boots up instantly. In testing, >50 route projects start in under 300ms on a modern laptop. Whether your serverless app has 2 or 200 functions, you’ll never experience lag on account of simply continuing to build out your app.

Live reloading

In addition to locally mocking cloud functions, Architect sandbox now even more closely emulates the properties of a true serverless stack by loading your latest code with each new request. Yet another small but meaningful performance improvement to make you faster and keep you in flow. …


The future is serverless, and the future is here

Image for post
Image for post
photo by Ugne Vasyliute

When we got started in 2015, we didn’t set out to build a serverless application platform.

We were working on an application with some hardcore real-time, natural language processing, and scalability requirements, and we chose to base it on a brand new thing called cloud functions.

Those requirements forced us to solve all kinds of mission-critical problems up and down the serverless stack. And it worked.

From that project we extracted Architect, our vision for an open source, primitives-first serverless framework, now hosted at the JS Foundation. …


Image for post
Image for post

Last week we released Architect 4 (Yeti), focused on simplicity and speed. Today we’re incredibly stoked to share Architect 4.1, our most frontend friendly release ever.

4.0 introduced the new public directory that automatically syncs your static assets to the cloud, making it an ideal companion to your existing frontend build steps.

4.1 unlocks the ability to share frontend code across cloud functions with the introduction of @views, enabling new patterns for dynamic asset delivery and server-side rendering.

Together, we think Architect’s public directory and @views system is going to change the game for web developers onboarding into the serverless world. …


Less, but better.

Image for post
Image for post
“white rods illustration” by Pierre Châtel-Innocenti

We’ve been listening to your feedback and today we’re extremely excited to introduce Architect 4.0 (Yeti), the fastest, simplest, most powerful way to build serverless applications.

✨ Skip to the part where you create a serverless app with Architect in 30s

About Architect

Architect is a fast, lightweight, open source, zero-config serverless framework for AWS focused on a frictionless developer experience.

Architect apps are composed of many small, individual, fully isolated cloud functions, which confers some pretty nice characteristics: better security, separation of concerns, fast and surgical deployments of single functions, and parallelized, globally available deployment of your entire application in just seconds. …


Image for post
Image for post
Photo by Mario Antonio Pena Zapatería

I’ve got some bad news, and some good news.

The bad news first: I’m sorry to say that we’re sunsetting Begin. Its final day will be Wednesday, May 9th, 2018.

If you tried it out, let me thank you! It’s a privilege to get to build something and put it out into the world, and it’s an honor when folks use it.

(Special shout-out if you ever took the time to send feedback — even the critical kind, which is the best! — or bug reports.)

I’m confident that over time our vision of narrow-domain-AI-enabled productivity software, driven by natural language, will come to pass. …

About

Ryan Block

Co-founder / product @Begin. Fighter of entropy. Master photobomber. Citizen. Sic transit gloria mundi.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store