Here’s How to Improve your Project Architecture - Tips and Tricks!

Поделиться
HTML-код
  • Опубликовано: 19 июл 2024
  • 🏆 My Online Courses
    stevdza-san.com
    ☕ Let's get a coffee. You're paying! :)
    ko-fi.com/stevdza_san
    💻 Github
    github.com/stevdza-san
    📸 Instagram
    / stevdza_san
    ⌚Timestamps
    0:00 - Introduction
    0:10 - Package Structure
    3:08 - UI States
    4:43 - UI Events/ViewModel
    6:23 - Composables
    7:17 - Documentation
    7:59 - Extra Tip

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

  • @robertfontaine3650
    @robertfontaine3650 3 месяца назад +1

    It's amazing how much time and effort you can spend on establishing basic architecture. I wish the IDE came with a plugin for Model Driven Architecture that included templates/wizards for MVVM, MVC that generate my classes and stubs from the entities.

    • @StevdzaSan
      @StevdzaSan  3 месяца назад

      Oh yeah, that's a good idea. Having a multi-modular project in one click also sounds good. But there is still a chance, you can make your own repo and clone jt every-time you need. But yeah I het that.

    • @meetb26
      @meetb26 3 месяца назад

      check plugin Generate Module From Template

    • @robertfontaine3650
      @robertfontaine3650 3 месяца назад

      @@meetb26 Will do. Thanks for the tip. Android apps seem like a natural use of Model Driven code generation. There is more plumbing than application for most apps.

  • @josiahufono
    @josiahufono 3 месяца назад +2

    Thanks for this Stev.

  • @benny_fsd
    @benny_fsd 3 месяца назад +1

    < 10 min that every android developer should watch, great Video 👍

  • @ubersticks
    @ubersticks 3 месяца назад +2

    Great tips! Thanks

  • @Alchemist10241
    @Alchemist10241 3 месяца назад

    the rule of three completely makes sense, if you're not gonna see a code ever again it's futile to refactor it

  • @engineerfred9427
    @engineerfred9427 3 месяца назад +3

    thanks Stev.

  • @Noor_alden
    @Noor_alden 3 месяца назад +1

    Thanks for the great content

  • @ovedgustavorinconmachado1183
    @ovedgustavorinconmachado1183 2 месяца назад

    Excellet, is a great content 😎

  • @shaharts8333
    @shaharts8333 3 месяца назад +1

    great work.

  • @siarheisudakou4455
    @siarheisudakou4455 3 месяца назад

    As always, excellent helpful video! Thanks a lot! Could you share how you generate and handle one-off events that occur in ViewModel?

  • @math-ezdev
    @math-ezdev 2 месяца назад

    pls make more content about architecture

  • @AndersonGabrielFerreira
    @AndersonGabrielFerreira 3 месяца назад

    Great video!
    What kind of architecture do you suggest for a multi module application where I could run the app and pass through all modules/feature or just run each module/feature separately?

  • @k.a.p_ti1030
    @k.a.p_ti1030 3 месяца назад

    🔥🔥🔥

  • @md.abidullahmuhib
    @md.abidullahmuhib 3 месяца назад

    Hi, San. Can you please make a series about firebase push notifications, please??

  • @satnamsingh-qh2si
    @satnamsingh-qh2si 3 месяца назад

    thanks steve .. your tutorials are very helpful 🎉

  • @moaliyou
    @moaliyou 3 месяца назад

    What's the difference between the module in the domain layer and the one in the presentation layer

  • @baranidharanmurali469
    @baranidharanmurali469 3 месяца назад +1

    I kinda disagree on the point he mentioned "it's ok maintaining those kinds of states on Compose as it is closely related to UI". It is not bcoz we need to deal with configuration changes and ViewModel does a better job one might say there are rememberSaveable but those support only primitives out of the box for saving an object like a data class u need to follow extra steps which might still lead to problems such as cannot store large size object. So, always go with ViewModel 🤝

    • @khaqim4148
      @khaqim4148 3 месяца назад

      Please response this. I also have this concern 😮

    • @baranidharanmurali469
      @baranidharanmurali469 3 месяца назад

      @@khaqim4148 if u r dealing with states like dialog open/close, Snackbar show/dismiss better to use ViewModel as it will hold the state on configuration changes. If ur app does not allow users to rotate the screen orientation (configuration change) u might consider storing it in the compose level.

  • @rogercolque
    @rogercolque 3 месяца назад

    very helpfull
    this is part of a course or in a course have more tips and details.?

    • @StevdzaSan
      @StevdzaSan  3 месяца назад +1

      In my courses we go in details by building a whole project from scratch.

    • @rogercolque
      @rogercolque 3 месяца назад

      @@StevdzaSan Build Kotlin Multiplatform Mobile Apps for iOS and Android ?

  • @pierremarais7669
    @pierremarais7669 3 месяца назад

    Hi Stevda, I hope you can give me some clarity wrt taking my IOS Apps across to Android environment, question will be to use .Net MAUI or Flutter or Kotlin with Android studio, can you please let me know your choice, Pierre

    • @StevdzaSan
      @StevdzaSan  3 месяца назад +1

      Kotlin is always my choice! 👍

    • @pierremarais7669
      @pierremarais7669 3 месяца назад

      @@StevdzaSan , which of your courses which kick start my learning process the quickest, my IOS apps have a sql database which gets prepopulate by myself, the user only does Read request, thanks for your response, Pierre

    • @StevdzaSan
      @StevdzaSan  3 месяца назад +1

      @pierremarais7669 We would have to talk a bit about that so that I can give you a proper answer on that one. You can buy a membership on my website to have access to all my courses for a limited time.
      Message me on Discord to chat.

    • @pierremarais7669
      @pierremarais7669 3 месяца назад

      @@StevdzaSan I am logged on your website, I see only one course, programming with Kotlin masterclass| complete course

    • @StevdzaSan
      @StevdzaSan  3 месяца назад

      That shouldn't happen. Check the all courses page. Also, try clearing your browser cache.

  • @kacetal
    @kacetal 3 месяца назад

    But where are useCases in your structure ?

    • @StevdzaSan
      @StevdzaSan  3 месяца назад +2

      I don't use them that much. Too much abstraction for most cases.

  • @swiszcz93
    @swiszcz93 3 месяца назад

    I prefer something like this:
    kotlin
    feature1
    data
    domain
    presentation
    feature2
    data
    domain
    presentation
    core
    data
    di
    domain
    presentation
    util

    • @swiszcz93
      @swiszcz93 3 месяца назад

      user-jk8sn2eo7b nope, but it's just that, you can ask any doubts here and I will answer haha

  • @coldwised
    @coldwised 3 месяца назад

    cringe

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 3 месяца назад

    Waiting for iOS Bindings for creating KMP Plugin