Zero Sync Makes Local First Easy

Поделиться
HTML-код
  • Опубликовано: 20 дек 2024

Комментарии • 45

  • @fitzsimonsdev
    @fitzsimonsdev 13 часов назад +15

    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

    • @syntaxfm
      @syntaxfm  10 часов назад +5

      You should check out the “One” framework. It’s Zero + RN and a lot of good stuff.

    • @devagr
      @devagr 4 часа назад +1

      is that an agents of shield reference in the wild

  • @moritzlaube1676
    @moritzlaube1676 9 часов назад +9

    Thanks Scott! I'd be excited to see more of Zero in conjunction with Sveltekit and Coolify! ;) Thanks again for your great content

    • @MadeInJack
      @MadeInJack 8 часов назад

      Same, the stack of my dreams! With drizzle and a self hostable backend like Supabase. The perfect web app!

  • @alexkingvideo
    @alexkingvideo 2 часа назад +1

    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.

  • @AaronBoodman
    @AaronBoodman 8 часов назад +2

    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

  • @LegendKeeper
    @LegendKeeper 12 часов назад +7

    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.

  • @joaquimley
    @joaquimley 4 часа назад +1

    Hopefully the drizzlezero translation comes soon, would be awesome!
    This look super promising, keeping an eye out for zero

  • @tithos
    @tithos 11 часов назад +5

    is "Drop In" the name of the product? If not what is it and where is the link?

    • @syntaxfm
      @syntaxfm  11 часов назад +3

      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

  • @peachesfruitella
    @peachesfruitella 12 часов назад

    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)

  • @a-poor
    @a-poor 8 часов назад

    This was great! Please keep the zero / local-first content coming!

    • @syntaxfm
      @syntaxfm  4 часа назад +1

      Def more coming.

  • @rodrigocornidez1917
    @rodrigocornidez1917 5 часов назад

    This is awesome, I'm looking forward to the beta release! Thank you for reviewing.

  • @MM-24
    @MM-24 5 часов назад

    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

    • @syntaxfm
      @syntaxfm  4 часа назад

      Repo is here if you want to paw through it. github.com/rocicorp/mono

  • @dovh49
    @dovh49 10 часов назад

    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?

  • @paulvickers8059
    @paulvickers8059 12 часов назад +1

    Would love to see tutorials on this with Svelte. Thanks for your work, this looks amazing.

  • @SpeakChinglish
    @SpeakChinglish 11 часов назад

    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?

    • @syntaxfm
      @syntaxfm  11 часов назад

      There are “select permissions” zero.rocicorp.dev/docs/permissions#select-permissions that give you control over who can select what.

    • @poolkrooni
      @poolkrooni 9 часов назад

      How is this an issue with Firebase? 🤔 RLS and rules solve this (same for Supabase, etc)

    • @AaronBoodman
      @AaronBoodman 7 часов назад +1

      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.

    • @joaquimley
      @joaquimley 4 часа назад

      @@AaronBoodman thanks for the detailed explanation.

  • @AxelRock
    @AxelRock 6 часов назад

    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

    • @syntaxfm
      @syntaxfm  6 часов назад +1

      All good, def healthy, possibly lighting. Thanks for the concern though. 😀

  • @JTWebMan
    @JTWebMan Час назад

    What about window functions like total questions? Or total bugs? Does it have to pull all of them to get it? Also React Native?

  • @eleah2665
    @eleah2665 11 часов назад

    Hi Scott and thanks.

  • @gncfhcnvc
    @gncfhcnvc 11 часов назад +1

    I would like to see a tutorial for Zero Sync

    • @syntaxfm
      @syntaxfm  11 часов назад +1

      On the way 🫡

  • @Danielo515
    @Danielo515 8 часов назад

    So they finally released! After having me hyped for months !

    • @syntaxfm
      @syntaxfm  4 часа назад

      Been waiting for this day, just so I could spill the beans on how good it is

  • @etiennemc2613
    @etiennemc2613 9 часов назад

    Wonderful ! I'm interested by local first video, thanks !

  • @hashproton
    @hashproton 6 часов назад

    Thanks Scott, how this compare to convex (I know the local part and postgres integration)

    • @syntaxfm
      @syntaxfm  4 часа назад +1

      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.

  • @theklr
    @theklr 11 часов назад

    lofi gang taking over '25 and beyond

  • @BrandonAaskov
    @BrandonAaskov 12 часов назад

    Louder than the other day, still too quiet. Maybe a compressor/limiter would help?

    • @WojtekPoroslo
      @WojtekPoroslo 12 часов назад

      it's plenty loud for me...

    • @syntaxfm
      @syntaxfm  10 часов назад

      This is compressed and normalized. Should be the appropriate volume.

  • @prashlovessamosa
    @prashlovessamosa 11 часов назад

    Please build something with this I will try to replicate the process by myself.

  • @HappyCheeryChap
    @HappyCheeryChap 55 минут назад

    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.

  • @TheZyruks
    @TheZyruks 13 часов назад +1

    I just wanted to say it. First comment lol

  • @emmanuelxs6143
    @emmanuelxs6143 13 часов назад

    Swxind to comment 😢