Crop the cairngorm framework

Source: Internet
Author: User

1 Overview

1.1 cairngorm is suitable for large and complex applications. For small and simple applications, it is too large and cumbersome, reducing development efficiency.

1.1 server implementation is blocked through servicelocator + biz delegate

1.2 simple applications and complex applications can share a servicelocator + biz delegate

2. Simple Application

2.1 servicelocator + biz delegate

2.1.1 directly instantiate a biz delegate in the view layer to call its method.

2.1.2 create a responder object when instantiating biz delegate to process the results or exceptions returned by biz delegate

3. complex applications

3.1 servicelocator + biz delegate + MVC

3.1.1 view registers the command in control through Event Notification. Command calls biz delegate and processes the results or exceptions returned by biz delegate.

3.1.2 The processing result usually means to change the model. Because the model is bound to the view, the view also changes when the model changes.

4. differentiate between simple and complex standards

4.1 TBD

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.