Scott you're so likable when you get super excited about something. I'm so excited to use Zero and React Native together. Can wait for Xmas break from work
@syntaxfm2 күн бұрын
You should check out the “One” framework. It’s Zero + RN and a lot of good stuff.
@devagr2 күн бұрын
is that an agents of shield reference in the wild
@moritzlaube16762 күн бұрын
Thanks Scott! I'd be excited to see more of Zero in conjunction with Sveltekit and Coolify! ;) Thanks again for your great content
@MadeInJack2 күн бұрын
Same, the stack of my dreams! With drizzle and a self hostable backend like Supabase. The perfect web app!
@AaronBoodman2 күн бұрын
Wow, Scott. Thank you so much ❤. I didn't expect this! PS: - early on - if you set the repeat rate of your keyboard higher it goes even faster 🙃 - at 9:40, we have an `upsert` method :). - at 10:00, PK doesn't need to be an array in the common case where its a single field
@hugodsa8943 минут бұрын
Hope it gets pinned to the top so other people can see it. 😃
@LegendKeeper2 күн бұрын
This looks awesome! Very curious about advanced permissions, like hierarchical stuff, and performance at extreme cases. We built our platform using Yjs, and permissions and performance edge cases in prod have always been the trickiest part.
@a-poor2 күн бұрын
This was great! Please keep the zero / local-first content coming!
@syntaxfm2 күн бұрын
Def more coming.
@AxelRock2 күн бұрын
Wow, this sounds amazing. I wanted to try to recreate something like that next week, this is perfect timing, I'll give it a try. The implementation looks amazing, I could see a lot great services wanted to "bind" to Zero (👋 Supabase, I bet they are already working on it). Thank you so much for the discovery. This December is full of nice stuff for us devs. Also, your eyes looked a bit watery, I hope it's just a lighting thing, and that you're healthy. Take care Scott, happy holidays
@syntaxfm2 күн бұрын
All good, def healthy, possibly lighting. Thanks for the concern though. 😀
@peachesfruitella2 күн бұрын
Been waiting for this to drop - really hyped by this. Also loving your lead on local first - so great to be talking about exciting things in the web space, rather than the topic being about which framework is better (yawn)
@joaquimley2 күн бұрын
Hopefully the drizzlezero translation comes soon, would be awesome! This look super promising, keeping an eye out for zero
@alexkingvideo2 күн бұрын
Thanks so much, Scott! We also have a Discord where people can come ask questions, get help, etc. Let me know if you want to add this to the links in the description.
@tithos2 күн бұрын
is "Drop In" the name of the product? If not what is it and where is the link?
@syntaxfm2 күн бұрын
github.com/stolinski/drop-in Not really a product but a starter I’ve been using for myself. Now that Zero is in alpha I can develop in public
@MrJfergsКүн бұрын
I tend not work with alpha software but I will definitely be looking into this once it has an official release.
@paulvickers80592 күн бұрын
Would love to see tutorials on this with Svelte. Thanks for your work, this looks amazing.
@HappyCheeryChap2 күн бұрын
I'm 3 minutes in, and still have no idea wtf this thing even is... I've heard "platform" 100 times, and have no idea what that's meant to mean here.
@ngideoКүн бұрын
Drop-in looks sick, thanks for making zero svelte friendly
@rodrigocornidez19172 күн бұрын
This is awesome, I'm looking forward to the beta release! Thank you for reviewing.
@hugodsa89Күн бұрын
I’d love to see more Scott videos with tuts like CJ sometimes does
@JTWebMan2 күн бұрын
What about window functions like total questions? Or total bugs? Does it have to pull all of them to get it? Also React Native?
@jimshtepa5423Күн бұрын
what is its relation to framework like remix/next/astro? does it replace them or complements/integrates with them?
@JonBrookesКүн бұрын
Thanks so much for tthis video. Zero Sync is clearly extremely cool tech and with the possiblilty of self hosting is the win for me as opposed to that of a deal breaker with solutions that do not let you do that. I dont mind paying for services as they cost to run but if you need to develop within regulatory contrains, entirely on someone elses cloud for your data is not always viable. I can't help thinking that this is like a PWA without saying the word PWA or even needing to include a manifest !
@Danielo5152 күн бұрын
So they finally released! After having me hyped for months !
@syntaxfm2 күн бұрын
Been waiting for this day, just so I could spill the beans on how good it is
@theklr2 күн бұрын
lofi gang taking over '25 and beyond
@hashproton2 күн бұрын
Thanks Scott, how this compare to convex (I know the local part and postgres integration)
@syntaxfm2 күн бұрын
I haven't used Convex but I know people love it. This does less than Convex in terms of overall features but this has a very novel way of syncing and loading data to be so fast. Zero is something you'd pick if you want to control and work with your own db.
@eleah26652 күн бұрын
Hi Scott and thanks.
@etiennemc26132 күн бұрын
Wonderful ! I'm interested by local first video, thanks !
@dovh492 күн бұрын
I build my offline first apps in a service worker. So, my front end never touches the db. Would this work in a service worker?
@syntaxfm2 күн бұрын
Good question.
@hugodsa8923 сағат бұрын
More local first content
@javajointКүн бұрын
So, I did browse the docs, and it's not clear to me what's happening on the server side(?).. .you patch something, and it needs to update the DB, and... is it an ORM that's handling all of the updates to Postgres? I understand the client side DSL and the speed, and that seems great. Explain server side a little?
@MM-242 күн бұрын
I didn't see any reference to the source How do we validate that even as self hosted with docker, it doesn't dial home. Ive got extremely condifential data app fhat would be great to use this with
@syntaxfm2 күн бұрын
Repo is here if you want to paw through it. github.com/rocicorp/mono
@bolte5987Күн бұрын
Personally, I'd like to integrate this with Astro using Sveltekit as the fontend, and Supabase as the backend.
@dandogamer17 сағат бұрын
So if im understanding this correctly the logic for zero is done on the client. And you write queries that get synced to your database. Doesnt this expose a huge security flaw in your application?
@syntaxfm3 сағат бұрын
There is a server, it's just being controlled by the sync process. There is a permission and access api to prevent any security issues.
@SpeakChinglish2 күн бұрын
How does this solve the issue which makes Firebase auth difficult to use? If I'm an user then take the jwt from network tab, then try and query your zero service, what's stopping me from request things I shouldn't have access to? e.g. request someone else's personal details?
@syntaxfm2 күн бұрын
There are “select permissions” zero.rocicorp.dev/docs/permissions#select-permissions that give you control over who can select what.
@poolkrooni2 күн бұрын
How is this an issue with Firebase? 🤔 RLS and rules solve this (same for Supabase, etc)
@AaronBoodman2 күн бұрын
A few things: 1. Zero permissions use ZQL, a full query language. Firebase's are more a configuration language and a lot more limited. If you've used Postgres RLS, Zero permissions are closer to that than Firebase rules. 2. In some ways this kind of system is _more_ secure, because you think about access at the level of invariants not procedural code. So you don't have to re-implement security in every endpoint, you do it once in a common location. It's also a less common way for devs to think about permissions though, so there is a tradeoff. 3. Zero doesn't currently have column permissions - if a user has access to a row they get the full row. So like if you have `user.address` and user A has access to user B, user A will see user B's address. This is just an alpha thing and will be fixed. And we will default this to closed, so that you have to open each column specifically. 4. The permission system is still in development and we have some new ideas percolating for beta that I think will really improve it.
@joaquimley2 күн бұрын
@@AaronBoodman thanks for the detailed explanation.
@gncfhcnvc2 күн бұрын
I would like to see a tutorial for Zero Sync
@syntaxfm2 күн бұрын
On the way 🫡
@Stoney_EagleКүн бұрын
This is crazy 😲
@pauekКүн бұрын
I'm still trying to figure out if meta-frameworks are dead... with this, they almost look dead to me. I was already comfortable thinking that they would last at least 5 years, but local-first is stronger, clearly. We're back at SPAs, but this time the backend almost evaporates. I'm buying so much pop-corn to watch this unfold...
@dandogamer17 сағат бұрын
You still need SSR or static content for good SEO. That's where an SPA falls short and why we ended up in this meta framework situation
3 сағат бұрын
lol. People are amazed when a software do the basic: be fast (as ALL of them was in the 90's).
@syntaxfm2 сағат бұрын
I personally didn't used a website that fast in the 90s. You were typically doing a full page reload on every route change. Ajax loading 100 bug issues was never and could never be this fast for the simple fact that there aren't network requests.
@prashlovessamosa2 күн бұрын
Please build something with this I will try to replicate the process by myself.
@BrandonAaskov2 күн бұрын
Louder than the other day, still too quiet. Maybe a compressor/limiter would help?
@WojtekPoroslo2 күн бұрын
it's plenty loud for me...
@syntaxfm2 күн бұрын
This is compressed and normalized. Should be the appropriate volume.
@KaalkianКүн бұрын
sqlite encrypted local first that sinks to a cf blog automatically. does that exists lol
@TheZyruks2 күн бұрын
I just wanted to say it. First comment lol
@emmanuelxs61432 күн бұрын
Swxind to comment 😢
@LawJollaКүн бұрын
I never understand how “local first” is anything other than a toy. Most apps of consequence have business logic. When I add a product that just sold out to a cart, what happens? Call an API to get sales tax info? Etc. I’d love to see a real world demo of this tech.
@syntaxfmКүн бұрын
Look at apps like Linear and Superhuman for successful local first apps. Many of the fastest apps you've used use these local first techniques. For something like product stock, you would def not want to use this
@LawJollaКүн бұрын
@ both use in house solutions. If you’re not using it for something as basic as product carts, then it sounds like you have a bifurcated data solution where everything is manually stitched. Nightmare. Or at least not worth the trouble.
@AaronBoodmanКүн бұрын
Replicache (our prior product) supports arbitrary business logic. Zero will too, soon.
@LawJollaКүн бұрын
@ thanks for the reply! I’d love to see a “real world” example combining zero + zero business logic + a backing server when you get there.
@aghileslounisКүн бұрын
I'm skeptical about this abstraction, I don't think it's the right one. Business logic can't be on the frontend, it's too complex, and you can't maintain it for a long time. I think the proper abstraction must be completely hidden for the developer, no schema declaration or any other layer. I imagine tanstack-query implementing that internally, and it will be just a flag to turn "true" to automatically handle all the caching and use of indexDB, same for mutations. I think it's feasible.