ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

Do you prefer layered architecture or MVC? Why?

user-image
تم إضافة السؤال من قبل NEBIL RASHEED , SENIOR SYSTEMS ANALYST , TRADING & INVESTMENTS ESTABLISHMENT • Sultanate of Oman
تاريخ النشر: 2016/04/27
Ahmad Khundaqji
من قبل Ahmad Khundaqji , Senior Engineering Manager , Cafu Technology

These are two different terms in software architecture. A layered archi. might utilize the MVC pattern in one of its layers (most likely: the presentation layer). I guess that this question isn't quite right.

EHAB ALI
من قبل EHAB ALI , Consultant , Qatar National Bank (QNB)

Yes, i prefer layerd architecture

Layered architecture increases flexibility, maintainability, and scalability. In a Layered architecture we separate the user interface from the business logic, and the business logic from the data access logic. Separation of concerns among these logical layers and components is easily achieved with the help of layered architecture.

Multiple applications can reuse the components. For example if we want a windows user interface rather than a web browser interface, this can be done in an easy and fast way by just replacing the UI component. All the other components like business logic, data access and the database remains the same. Layered architecture allows to swap and reuse components at will.

المزيد من الأسئلة المماثلة