Magento 2 follows MVVM architecture or MVC architechure?How to optimise database architecture for high volume sites?How does Magento MVC differ from classical MVC / Zend Framework MVC?Pre-requisites of Magento LearningIs Magento based on 3 tier architecture?Request flow of Magento 2Where’s The V in Magento's MVC? And is there better name?Easy MVC question about the Magento controllers/observers methodsWhere does Magento keeps it's business logic?Are there any creative solutions for launching cron.sh for multiple Magento stores in a distributed architecture?Magento2 architecture question

How seriously should I take size and weight limits of hand luggage?

One verb to replace 'be a member of' a club

Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?

How do conventional missiles fly?

How to Recreate this in LaTeX? (Unsure What the Notation is Called)

Is there a hemisphere-neutral way of specifying a season?

Why doesn't using multiple commands with a || or && conditional work?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Is it logically or scientifically possible to artificially send energy to the body?

Zip/Tar file compressed to larger size?

How does a predictive coding aid in lossless compression?

What is a romance in Latin?

How can I determine if the org that I'm currently connected to is a scratch org?

Arrow those variables!

Why no variance term in Bayesian logistic regression?

Am I breaking OOP practice with this architecture?

In 'Revenger,' what does 'cove' come from?

Can I run a new neutral wire to repair a broken circuit?

How much of data wrangling is a data scientist's job?

What method can I use to design a dungeon difficult enough that the PCs can't make it through without killing them?

How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Why can't we play rap on piano?



Magento 2 follows MVVM architecture or MVC architechure?


How to optimise database architecture for high volume sites?How does Magento MVC differ from classical MVC / Zend Framework MVC?Pre-requisites of Magento LearningIs Magento based on 3 tier architecture?Request flow of Magento 2Where’s The V in Magento's MVC? And is there better name?Easy MVC question about the Magento controllers/observers methodsWhere does Magento keeps it's business logic?Are there any creative solutions for launching cron.sh for multiple Magento stores in a distributed architecture?Magento2 architecture question













1















I am understanding the logic behind working in separate folders in Magento 2 and came across bundle of articles talking about same thing in different ways.



Some explain MVC logic behind it and some say it is MVVM



Meanwhile Official Website says to follow MVC architecture in extension development.



If we are following MVVM (or any other) architecture can somebody explain it by relating it with Magento 2 directory structure.



Thanks.










share|improve this question






















  • Did you found an answer for this?

    – Tajveez Rehman
    Mar 20 at 9:48











  • Still Looking for satisfactory answer.

    – Ajwad Taqvi
    Mar 20 at 14:49















1















I am understanding the logic behind working in separate folders in Magento 2 and came across bundle of articles talking about same thing in different ways.



Some explain MVC logic behind it and some say it is MVVM



Meanwhile Official Website says to follow MVC architecture in extension development.



If we are following MVVM (or any other) architecture can somebody explain it by relating it with Magento 2 directory structure.



Thanks.










share|improve this question






















  • Did you found an answer for this?

    – Tajveez Rehman
    Mar 20 at 9:48











  • Still Looking for satisfactory answer.

    – Ajwad Taqvi
    Mar 20 at 14:49













1












1








1








I am understanding the logic behind working in separate folders in Magento 2 and came across bundle of articles talking about same thing in different ways.



Some explain MVC logic behind it and some say it is MVVM



Meanwhile Official Website says to follow MVC architecture in extension development.



If we are following MVVM (or any other) architecture can somebody explain it by relating it with Magento 2 directory structure.



Thanks.










share|improve this question














I am understanding the logic behind working in separate folders in Magento 2 and came across bundle of articles talking about same thing in different ways.



Some explain MVC logic behind it and some say it is MVVM



Meanwhile Official Website says to follow MVC architecture in extension development.



If we are following MVVM (or any other) architecture can somebody explain it by relating it with Magento 2 directory structure.



Thanks.







magento2 architecture workflow mvc






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 13 '18 at 12:00









Ajwad TaqviAjwad Taqvi

35915




35915












  • Did you found an answer for this?

    – Tajveez Rehman
    Mar 20 at 9:48











  • Still Looking for satisfactory answer.

    – Ajwad Taqvi
    Mar 20 at 14:49

















  • Did you found an answer for this?

    – Tajveez Rehman
    Mar 20 at 9:48











  • Still Looking for satisfactory answer.

    – Ajwad Taqvi
    Mar 20 at 14:49
















Did you found an answer for this?

– Tajveez Rehman
Mar 20 at 9:48





Did you found an answer for this?

– Tajveez Rehman
Mar 20 at 9:48













Still Looking for satisfactory answer.

– Ajwad Taqvi
Mar 20 at 14:49





Still Looking for satisfactory answer.

– Ajwad Taqvi
Mar 20 at 14:49










4 Answers
4






active

oldest

votes


















1














Magento 2 has its own unique implementation; MVC, MVVM or HMVC, none of them are specifically followed. When you create a new module, you are following MVC or HMVC, on the frontend and especially on checkout MVVM is implemented with the strong blend of KnockoutJS and on admin side it is HMVC.



After all this, I will repeat, Magento 2 has its own implementation unique to Magento 2 and none of them are specifically followed.




There are rumors going around about KnockoutJS, it might be dropped from future releases of Magento (I am not sure though).







share|improve this answer























  • Quite satisfying one ! Thanks

    – Ajwad Taqvi
    yesterday


















1














Magento 2 is a Model View ViewModel System and no more a design structured by MVC. The MVC model was incorporated in the previous version and seems to be quite similar to MVVM, but MVVM is a way more rich in dividing the View and Model in an application.
Reference:
https://weblizar.com/blog/magento-2-is-model-view-view-model-system-and-not-mvc-explained/






share|improve this answer























  • I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

    – Ajwad Taqvi
    Dec 13 '18 at 12:24


















1














Magento 2 — No More MVC, it’s closer to a Model, View, ViewModel (MVVM) system.



What is MVVM Syste?



https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel



Magento 2 Module-based Architecture






share|improve this answer






























    0














    Magento 2 is a Model View ViewModel (MVVM) system. While being closely related to its sibling Model View Controller (MVC), an MVVM architecture provides a more robust separation between the Model and the View layers.



    https://www.toptal.com/magento/magento-2-tutorial-building-a-complete-module



    https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253515%2fmagento-2-follows-mvvm-architecture-or-mvc-architechure%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Magento 2 has its own unique implementation; MVC, MVVM or HMVC, none of them are specifically followed. When you create a new module, you are following MVC or HMVC, on the frontend and especially on checkout MVVM is implemented with the strong blend of KnockoutJS and on admin side it is HMVC.



      After all this, I will repeat, Magento 2 has its own implementation unique to Magento 2 and none of them are specifically followed.




      There are rumors going around about KnockoutJS, it might be dropped from future releases of Magento (I am not sure though).







      share|improve this answer























      • Quite satisfying one ! Thanks

        – Ajwad Taqvi
        yesterday















      1














      Magento 2 has its own unique implementation; MVC, MVVM or HMVC, none of them are specifically followed. When you create a new module, you are following MVC or HMVC, on the frontend and especially on checkout MVVM is implemented with the strong blend of KnockoutJS and on admin side it is HMVC.



      After all this, I will repeat, Magento 2 has its own implementation unique to Magento 2 and none of them are specifically followed.




      There are rumors going around about KnockoutJS, it might be dropped from future releases of Magento (I am not sure though).







      share|improve this answer























      • Quite satisfying one ! Thanks

        – Ajwad Taqvi
        yesterday













      1












      1








      1







      Magento 2 has its own unique implementation; MVC, MVVM or HMVC, none of them are specifically followed. When you create a new module, you are following MVC or HMVC, on the frontend and especially on checkout MVVM is implemented with the strong blend of KnockoutJS and on admin side it is HMVC.



      After all this, I will repeat, Magento 2 has its own implementation unique to Magento 2 and none of them are specifically followed.




      There are rumors going around about KnockoutJS, it might be dropped from future releases of Magento (I am not sure though).







      share|improve this answer













      Magento 2 has its own unique implementation; MVC, MVVM or HMVC, none of them are specifically followed. When you create a new module, you are following MVC or HMVC, on the frontend and especially on checkout MVVM is implemented with the strong blend of KnockoutJS and on admin side it is HMVC.



      After all this, I will repeat, Magento 2 has its own implementation unique to Magento 2 and none of them are specifically followed.




      There are rumors going around about KnockoutJS, it might be dropped from future releases of Magento (I am not sure though).








      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered 2 days ago









      AdnanAdnan

      294211




      294211












      • Quite satisfying one ! Thanks

        – Ajwad Taqvi
        yesterday

















      • Quite satisfying one ! Thanks

        – Ajwad Taqvi
        yesterday
















      Quite satisfying one ! Thanks

      – Ajwad Taqvi
      yesterday





      Quite satisfying one ! Thanks

      – Ajwad Taqvi
      yesterday













      1














      Magento 2 is a Model View ViewModel System and no more a design structured by MVC. The MVC model was incorporated in the previous version and seems to be quite similar to MVVM, but MVVM is a way more rich in dividing the View and Model in an application.
      Reference:
      https://weblizar.com/blog/magento-2-is-model-view-view-model-system-and-not-mvc-explained/






      share|improve this answer























      • I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

        – Ajwad Taqvi
        Dec 13 '18 at 12:24















      1














      Magento 2 is a Model View ViewModel System and no more a design structured by MVC. The MVC model was incorporated in the previous version and seems to be quite similar to MVVM, but MVVM is a way more rich in dividing the View and Model in an application.
      Reference:
      https://weblizar.com/blog/magento-2-is-model-view-view-model-system-and-not-mvc-explained/






      share|improve this answer























      • I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

        – Ajwad Taqvi
        Dec 13 '18 at 12:24













      1












      1








      1







      Magento 2 is a Model View ViewModel System and no more a design structured by MVC. The MVC model was incorporated in the previous version and seems to be quite similar to MVVM, but MVVM is a way more rich in dividing the View and Model in an application.
      Reference:
      https://weblizar.com/blog/magento-2-is-model-view-view-model-system-and-not-mvc-explained/






      share|improve this answer













      Magento 2 is a Model View ViewModel System and no more a design structured by MVC. The MVC model was incorporated in the previous version and seems to be quite similar to MVVM, but MVVM is a way more rich in dividing the View and Model in an application.
      Reference:
      https://weblizar.com/blog/magento-2-is-model-view-view-model-system-and-not-mvc-explained/







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Dec 13 '18 at 12:20









      Prema KarthikPrema Karthik

      1688




      1688












      • I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

        – Ajwad Taqvi
        Dec 13 '18 at 12:24

















      • I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

        – Ajwad Taqvi
        Dec 13 '18 at 12:24
















      I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

      – Ajwad Taqvi
      Dec 13 '18 at 12:24





      I have gone through this link and attached in question as well. Please check all hyper links and get more confuse about it :)

      – Ajwad Taqvi
      Dec 13 '18 at 12:24











      1














      Magento 2 — No More MVC, it’s closer to a Model, View, ViewModel (MVVM) system.



      What is MVVM Syste?



      https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel



      Magento 2 Module-based Architecture






      share|improve this answer



























        1














        Magento 2 — No More MVC, it’s closer to a Model, View, ViewModel (MVVM) system.



        What is MVVM Syste?



        https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel



        Magento 2 Module-based Architecture






        share|improve this answer

























          1












          1








          1







          Magento 2 — No More MVC, it’s closer to a Model, View, ViewModel (MVVM) system.



          What is MVVM Syste?



          https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel



          Magento 2 Module-based Architecture






          share|improve this answer













          Magento 2 — No More MVC, it’s closer to a Model, View, ViewModel (MVVM) system.



          What is MVVM Syste?



          https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel



          Magento 2 Module-based Architecture







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 13 '18 at 12:32









          Supravat MSupravat M

          1,15611626




          1,15611626





















              0














              Magento 2 is a Model View ViewModel (MVVM) system. While being closely related to its sibling Model View Controller (MVC), an MVVM architecture provides a more robust separation between the Model and the View layers.



              https://www.toptal.com/magento/magento-2-tutorial-building-a-complete-module



              https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2






              share|improve this answer



























                0














                Magento 2 is a Model View ViewModel (MVVM) system. While being closely related to its sibling Model View Controller (MVC), an MVVM architecture provides a more robust separation between the Model and the View layers.



                https://www.toptal.com/magento/magento-2-tutorial-building-a-complete-module



                https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2






                share|improve this answer

























                  0












                  0








                  0







                  Magento 2 is a Model View ViewModel (MVVM) system. While being closely related to its sibling Model View Controller (MVC), an MVVM architecture provides a more robust separation between the Model and the View layers.



                  https://www.toptal.com/magento/magento-2-tutorial-building-a-complete-module



                  https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2






                  share|improve this answer













                  Magento 2 is a Model View ViewModel (MVVM) system. While being closely related to its sibling Model View Controller (MVC), an MVVM architecture provides a more robust separation between the Model and the View layers.



                  https://www.toptal.com/magento/magento-2-tutorial-building-a-complete-module



                  https://www.yireo.com/blog/2017-08-12-viewmodels-in-magento-2







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 13 '18 at 17:21









                  Prema KarthikPrema Karthik

                  1688




                  1688



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f253515%2fmagento-2-follows-mvvm-architecture-or-mvc-architechure%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Sum ergo cogito? 1 nng

                      419 nièngy_Soadمي 19bal1.5o_g

                      Queiggey Chernihivv 9NnOo i Zw X QqKk LpB