Realm DB vs. Room DB in a Nutshell

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • Follow for more Kotlin & Android tips! 💻
    #kotlin #kotlintips #androiddeveloper #android #androiddev #androidcoding #androiddevs #mobiledev #mobiledeveloper #mobiledevelopment #softwareengineering #softwareengineer

ความคิดเห็น • 32

  • @bidbid5413
    @bidbid5413 7 หลายเดือนก่อน +39

    I like it! The new style is so good. and the humour 😂

  • @FemiOkedey
    @FemiOkedey 6 หลายเดือนก่อน +12

    The animation style and this new brand is just so beautiful

  • @mubaraknative
    @mubaraknative 7 หลายเดือนก่อน +6

    Realm is for Multiplatform (Native Android dev already has a treasure that is Room )

  • @antoneltonij8362
    @antoneltonij8362 6 หลายเดือนก่อน +2

    In my practice, the realm needs more code than Room.
    In realm you need make much code, in room you only describe in interface, what request to do and what data you need to get.
    So Realm has more boilerplate code.
    But I agree that Realm has many features that Room does not have.

    • @nijithebuji
      @nijithebuji 6 หลายเดือนก่อน

      If you want to use chatgpt 4 to get SQL queries, stick to room

  • @antpr2
    @antpr2 6 หลายเดือนก่อน

    I love using Realm, it's so intuitive!

  • @AlexGreece45
    @AlexGreece45 6 หลายเดือนก่อน +4

    Also, realm supports encryption!

  • @nrg4285
    @nrg4285 6 หลายเดือนก่อน +3

    As someone who works with a complex dataset in TypeScript with Realm. I would much rather use Kotlin with Room because SQL is much better suited for a complex database.

  • @John-qt6qk
    @John-qt6qk 3 หลายเดือนก่อน

    I reckon that room will get better soon

  • @vinaykumarpatel649
    @vinaykumarpatel649 6 หลายเดือนก่อน

    Fun with learning 😃

  • @kovshichek5933
    @kovshichek5933 7 หลายเดือนก่อน +2

    I don't know where boilerplate code in Room, when there is basically annotations that write queries for you like @Upsert. Specific dto data classes to describe tables in db? As far as I know you should do the same in Room(but we have old version in project)

    • @PhilippLackner
      @PhilippLackner  7 หลายเดือนก่อน

      A DB class and lots of annotations and extra classes to implement multiple relations. Realm is pretty much just working with kotlin objects

    • @kovshichek5933
      @kovshichek5933 7 หลายเดือนก่อน

      @@PhilippLackner okay, didn't work on that level so maybe so, but i this on basic level room is certainly easier as for me, so I would offer clarification in which cases you can see the difference

    • @PhilippLackner
      @PhilippLackner  7 หลายเดือนก่อน

      @@kovshichek5933 I released a very detailed video a week ago :)

  • @miguelol
    @miguelol 7 หลายเดือนก่อน

    Love it!!!!

  • @FreedivingTrainer
    @FreedivingTrainer 6 หลายเดือนก่อน +4

    use sqldelight for multiplatform, not realm

    • @Osanosa
      @Osanosa 6 หลายเดือนก่อน

      Why

    • @captainAOG
      @captainAOG 6 หลายเดือนก่อน

      Cause it is faster ​@@Osanosa

    • @Osanosa
      @Osanosa 6 หลายเดือนก่อน

      K thx

    • @himanshukhati1193
      @himanshukhati1193 6 หลายเดือนก่อน

      @@Osanosa I used Realm about 6 years ago and its proper implementation was not beginner's friendly and it was really easy to abuse

    • @Osanosa
      @Osanosa 6 หลายเดือนก่อน

      @@himanshukhati1193 😧

  • @m77mo65
    @m77mo65 6 หลายเดือนก่อน

    Nice comparisom

  • @itszechs
    @itszechs 7 หลายเดือนก่อน +3

    Room for native Kotlin. Realm for KMP. End of story.

  • @aaravyadav2594
    @aaravyadav2594 6 หลายเดือนก่อน

    Happy for both of u😅😅

  • @dynast46
    @dynast46 7 หลายเดือนก่อน +9

    i hate realm...i love room

  • @aiswaryajayadas7802
    @aiswaryajayadas7802 5 หลายเดือนก่อน

    😄

  • @smreha
    @smreha 7 หลายเดือนก่อน +6

    Realm sucks

    • @Osanosa
      @Osanosa 6 หลายเดือนก่อน

      Why

  • @MonichGPT
    @MonichGPT 7 หลายเดือนก่อน +2

    Realm bad! No support from devs!

  • @neerajverma9226
    @neerajverma9226 6 หลายเดือนก่อน

    Realm is just waste

  • @stivcabs1381
    @stivcabs1381 7 หลายเดือนก่อน

    😂😂