Why Did Astro Make A Database?
ฝัง
- เผยแพร่เมื่อ 15 มี.ค. 2024
- Astro DB? Why would they make this? Let's dive in and talk about my favorite Firebase shim to date.
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏 - วิทยาศาสตร์และเทคโนโลยี
"Not gonna get rug-pulled right?"
Nah don't worry it's not Planetscale, no risk.
What happened to PlanetScale? Bit out of the loop ☺
@@funkl6719rug pulled the free tier
@@funkl6719 They removed their free plan. And the cheapest option is, lets say, not that cheap
@@funkl6719 No more free/hobby tier. $40 for basic tier now
@@funkl6719 they dropped free tier and pivoted hard towards paid customers. Cheapest tier is now something like $40/month
Now let's wait for Nextjs' and Sveltekit's
Vercel already has a db ... But they would though create nextdb 🤣🤣
I think last think Astro needs is a CMS , like payloadCMS , WP comes with db and a cms
They already had a seamless integration from their sponsor which happens to be a cms provider too which is Storyblok
They will get there soon, I'm using wagtail for project I would rather have db and cms shipped with Astro than using wagtail
I will just stick to Supabase
Me too
Unless they stop their free plan
Ohh so you do know you can trust free tiers anymore
Not to be confused with AstraDB, the Cassandra managed service. I’m looking forward to AstruDB.
when I first searched AstroDB in google, it said "do you mean astradb" and gave me astra only links. This is a real problem for them before you have a search history on their website.
Firebase “joke” was terrible
It's actually built on top of turso
theres fire in the astro logo !!! obviously they're using **Fire** base !!!
I actually believed the joke initially... I guess he assumes we are all on twitter all day so we know what is happening there
@@Totomenu what's twitter?
You realize that you can use different schemas (the default being 'public') to effectively manage different projects on the same database rather than prefixing everything ?
In MySQL, which is one of the most popular databases in the world (second only to Oracle in terms of adoption), CREATE SCHEMA is just a synonym for CREATE DATABASE.
how the hell do you make so many videos
I don't get the "firebase" joke
Neither do I. Absolutely awesome they chose to partner with turso :)
Yeah it was pretty shit tbh
Thank you parasocial 😂
theres fire in the astro logo !!! obviously they're using **Fire** base !!!
The Astro logo is the state of Texas not a fire! Think Houston and rocket ships....hence the name Astro!
Why does one need to prefix table names to share the DB instead of just using catalogs (named database in postgres) or schemas? The prefix thing seems like a hack.
SQLite doesnt support this
We have the most useless counter in existence.
I have used Astro on Azure Static web sites and external Azure Functions for backend. Pretty intuitive. Copilot helps a lot with their components.
I think they did a good job.
And with Azure Functions I can use standard storage SQL API for DB in proper authentication based on managed identity. I am pretty happy how my personal site is progressing.
Astro is simple, well organized. Allows me not to hate javascript. Not using SSR nonsense, though I think Astro DB could be useful for those hosting on non-Azure.
So far I paid only for domain name. so 8 EURs per year...
But can we host the libsql somewhere ourselves or are we locked into astro studio?
Astro costs money? How much for dark mode?
Four horsemen counter reset. Five aspects of unbecoming counter also reset in the same week 😅
I was a really big fan of Astro before this, and this just takes things to the next level.
wordpress MENTIONED
wait this is sick
theo talking. like prime
There is no "Astro db" like there is a Mongo db, a Neo4J, or a recent Surrealdb.
There is an Astro integration inside Astro of Turso "Database as a Service" based on libSQL database and an integration of Drizzle ORM.
Naming it "Astro db" is limiting.
Now the way (the only Astro way) to go with using a database with Astro is to use the Tusrso-Astro DBasS based libSQL ?
I would rather have it as the first Astro Framework DB adapter-integration with a DBaaS offer on top.
The first one but not the only and last one.
Opening a futur for the Astro framework to have other Astro DB adapters ...
One for Postgres, one for SurrealDB, and others ... so that we could use those.
Unlike the island architecture wich enables to use Solidjs or Svelte ...
choosing this "Astro db" as the true db for Astro does not expand possibilities !
I was already planning to remake my portfolio in Astro
4:12 Banging my head into a wall is also free.
Astro is the best thing that happened to web development until wordpress
I agree about the ‘Bunton’ 😂
genius
Don't get the point about database prefixes, standard databases like PostgreSQL and SQL Server have always allowed you to make as many databases as you want on the same instance.
Its a QoL thing, not a technical advancement. It autoprefixes your db tables without you having you write down the prefix in every call. Most managed solutions only guve you one or two databases with high limits so this is a good way to have multiple projects on one db
Shared hosting providers may limit the account to so many databases
Is frontend, frontend anymore?
never has been
this truly was our front-end devt
Is this what frontend devs seriously think backend shit is like? Do you understand internet infrastructure at all?
The type of job youre probably looking for is called UX Designer and they all suck because theyre all sheep for the latest trend.
You need a backend anyways, or is on a fullstack framework, other language or external tool like Firebase.
Because all those new grads posting on reddit about sending 500 applications without a response just need another abstraction over a half century old industry standard technology to finally land their job and call themselves an engineer 😍
Ha, way to poke fun at people not getting the sarcasm in the past (guilty as charged), though I'm a good bit into the video and only now learning what the actual tech-stack is. 😁
Astro is cool
Firebase isn't open source, that's a good reason for not using it.
It's not built on top of Firebase, it's on Turso, Theo is not reliable
@@user-pq3kz3er1nit's a running joke, he later says it's on Turso
Sooo, you have to use Astro to use the db or can you use it with other frameworks?
When's the video coming out calling out planetscale for their free tier rug pull with no affordable starter tier option?
So they can sell it as a service
if postgres, good to use "schema" instead of prefix.
Firebase mentioned. Tab closed.
Hey. Content in the database. Makes total sense. Why not keep code in a database too? Oh…
here we go
For the same reason Deno made a database.
Exciting. V v cool and great timing wrt planetscale retiring their free tier. So many nerds will flock after abandoning PS. I think PS still has a place for serious db business tho.
What do you use as vscode theme / font ? And what browser do you use ?
The browser is called Arc. Currently only on Mac, but a beta is also available for Windows.
The VSCode theme is Poimandres theme
Not sure about the font, but maybe is San Francisco Mono, it's a Mac default
why use this rather than a CMS?
What a time to be alive
🔥
Prefixes rather than schemas? Screams on Postgresql...
I hope he's being sarcastic....given the state of TX is not a fire 🔥... Astro....hence.... Houston.... hence TX 😅
This is just Supabase lol
$10 a month for dark mode ... or boost the site in Arc to force dark mode ... hmm
he did not even admit his mistake, why he hates turso so much???
Please stop trimming the empty spaces, it's horrible to listen
Astro is more like SPA JS framework than an SSG by now. Good social media, rushing version number, and now copy-pasting a SQLite database as a proprietary SaaS ;) Why isn't there any good static content site generator from static files that just works and doesn't go in your way when you aren't a node developer?
Astro does all that lol, just use the SSG mode + MD files
Just don't go SPA way. Just use Astro as SSG. They re just trying to increase number of use cases for creating dynamic websites with Astro. You can use SPA frameworks in Astro optionally. Don't worry.
@@daedalus5070I don't want to import images on top of my files alongside importing components and whatever else there next to frontmatter, I want template blocks instead of pushing everything to the root template through each inheritance chain in templates (and HTML inside JSX-weird if/else statements). My pages aren't markdown but HTML too so I would have to use .astro pages which would have a lot of content escaped to not be treated as broken astro/js syntax breaking the build - like for example nginx configuration :) (and content collections are only for MD files).
@@riklaunim Maybe you should try something like mustache + writing your own stuff in your favorite language.
@@esquilo_atomico I did a MVP in Astro and 11ty and for now I'm using 11ty, but still looking for an even better solution.
every video on this channel seems like a paid ad at this point...
"Built on top of Firebase" Theo plz go hide yourself, it's built on top of Turso, stop look at the money you get promoting things and start actually using them,
lol, he is not even a firebase fan or something. He just made a typical dad joke because the Astro logo is a rocket "based" on "Fire", hence "Fire"+"base". You just don't get the joke.
Also, please don't be so mad and mention Turso at the same time (even it's part of the context or fact), as you are so trigged like a Turso fanboy and bring unnecessarily negative energy associated with it. You guys just constantly remind me the Turso data leak incident. I love to try out Turso, but it doesn't mean I will forget that incident, as least recently.
Prefixes? Kids, you have database schema names for like 40 years. Learn SQL DBMS.
Theo go hide yourself
You're so late to the party!
For international view. You should speak slowly.pls
Set playback speed to 0.75 or less.
nah i'd prefer even faster (as not a native english speaker btw)
@@ZotyLisu Set playback speed to 1.25 or more.
@@SandraWantsCoke Wicked!🤣🤣🤣
Am I first?
You are first! 🥇
I think yes
Android Debug Bridge
whats not cute is theo chatting out his arse again
I will do no push-ups for every like this comment gets. I'm sore from the last time.