This is new stuff from DO.
App Platform is a hosting product, no surprise there, but it has some features that are Jamstack-inspired in the best possible way, and an additional set of unique and powerful features. Let’s start with some basics:
That’s the stuff that developers like me are loving these days. Take some of the hardest, toil-laden, no-fun aspects of web development and entirely do them for me.
And now the drumroll:
Use that link to get $100 in credit over 60 days.
You snag it right from GitHub (or GitLab, or Docker Hub), which is great right away, and off you go.
Then we get our first little hint of something compelling right away:
But let’s say we don’t need that immediately, we can go with a free plan and get this out.
The site will build and you can see logs:
And lookie that my static site is LIVE!
Say my site needs to run an actual build process? That, and lots more configuration come in the form of an “App Spec”. This is where I would include those build commands, change Git information, deployment zones, and loads more.
Wasn’t that interesting to see the setup steps for this static site suggest adding a database? So many sites need some kind of data store, and it’s often left up to developers to go find some kind of cloud-accessible data storage that will work well with their app. With Digital Ocean App Platform, it can live right alongside your static app.
It’s called a component.
As you can see, it can be, but doesn’t have to be a Database. It could be another type of server! Here I could pop a PostgreSQL DB on there for just $7/month.
If what you need to add is an internal or external service, it will let you add that via another Git repo that you hook up. Oh my what a modern system you now have. A front end and a back end each individually deployable directly via Git itself.
This feels big to me! I get that same kinda easy DX feeling I get with static sites, but with, say, a Python or Ruby on Rails app. Free deployment! Server boxes I don’t have to configure and manage myself!
Seems like a pretty happy-path hosting environment for lots of stuff.
Try App PlatformUse that link to get $100 in credit over 60 days.
Atas ialah kandungan terperinci Platform aplikasi di lautan digital. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!