tailieunhanh - Quản lý cấu hình web - part 30
Tham khảo tài liệu 'quản lý cấu hình web - part 30', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Alfresco Surf and Web Editor All of these applications are presently being built on top of the Surf platform. The Surf platform itself is a product that our community and customers may wish and are encouraged to use in building their own web applications. Surf-based Applications Alfresco Share Alfresco Network Alfresco Web Editor AJAX Flex Alfresco Surf Alfresco Repository REST API Non-Alfresco Repository Alfresco Surf architecture Surf architecture shows a deep appreciation for the Web architecture and web application mash-ups. It s important to point out that although tools exist to reduce the need for technical skills the platform does not eliminate or discourage access to its internals for those who need it. Surf utilizes the MVC pattern using various components and objects. MVC stands for Model-View-Controller. MVC pattern The Dispatcher Servlet can be considered as a controller. It is responsible for rendering the view. It considers the incoming request context and decides what and how to render. It constructs the page view by looking at the related model components or templates to render using different possible rendering engines. The dispatcher can receive requests for the following A specific page A page ID may be given directly to the dispatcher. A type of page For instance the user may be requesting the login page. The application may actually have several login pages for customers employees and so on and it must select one and render it back. An object An object ID may be given to the dispatcher. The dispatcher must then figure out which page to use to render this object. 272 Download from Wow eBook Chapter 9 The Surf model This can be considered as the model of the MVC architecture. Model is an entity that holds data. The Surf platform uses a lightweight XML-driven model to store all model objects that implement the majority of common websites and web application object types. XML files are effectively bound together to .
đang nạp các trang xem trước