السلام عليكم :)
احد عنده فكره عن Model-View-Controller -MVC و كيفية بناء البرامج بشكل سليم !!؟؟
لقيت ناس تتكلم عن هذا الموضوع لكن ما فهمت شئ و هذا رابط مهم وضعوه بالمنتدى الرسمي للجافا :
http://www.enode.com/x/markup/tutorial/mvc.html
و شكراً :)
السلام عليكم :)
احد عنده فكره عن Model-View-Controller -MVC و كيفية بناء البرامج بشكل سليم !!؟؟
لقيت ناس تتكلم عن هذا الموضوع لكن ما فهمت شئ و هذا رابط مهم وضعوه بالمنتدى الرسمي للجافا :
http://www.enode.com/x/markup/tutorial/mvc.html
و شكراً :)
Model your objects using JavaBeans or Enterprise JavaBeans ,view them using JSP or Swing Interface, and control user interaction using Servlets or custom methods.The concept is quite simple but making work takes some time and need expertise in the mentioned technologies
Exactly it needs these skills in these technologies, but it is worth while. When your Web Page becomes large and needs much processing it is annoying and wasting time to make the whole page in one file. In this very case MVC recommends that you divide the work into three main areas: Model for real processing, in general it will be in Java or other general purpose language , View to describe how the web looks like, generally in JSP, and Control to control processing between the two last areas.
When programming Web Pages, MVC becomes a must, if you want your code to be extensible, readable, and easy to maintain.
هذا الموضوع مغلق.