1. scsf introduction:
Scsf is a framework that applies multiple design patterns and is suitable for large-scale software development. It is characterized by combining the advantages of B/S and C/S architectures, developers can develop code in parallel by business function modules. The coupling between modules is very small. When business requirements change, the software that uses scsf architecture can minimize the amount of code modifications.
Compared with the traditional B/S architecture, smart client has the following advantages: fatclient design, rich user experience, the client can run in a non-online State. In the traditional B/S architecture, all the burdens are handed over to the server. When the network is unavailable, the B/S system is completely paralyzed.
Compared with the traditional C/S architecture, the Smart Client facilitates deployment and maintenance. When the clickonce client is used, it will automatically prompt or update when the upgrade is required.
Scsf's help for software development: this framework allows developers to easily adapt to changes in business needs with the maximum loose coupling design. This allows developers to easily apply some design patterns; it is easier to implement iterative development.
Ii. Design Patterns and architecture ideas in scsf:
Control reversal (IOC), dependency injection, MVC and MVP;
Strategy and observer ).
Only by understanding these models can we easily understand the architecture of scsf.
Iii. References:
1. scsf _ handsonlabs contains five labs. by imitating the examples, you can implement a simple application step by step. After completing this program, you can get a preliminary understanding of the scsf development process and design ideas.
2. demo_application, a sample program on www.codeplex.com, which is relatively simple and describes the basic applications in scsf.
3. The smart client software factory help and scsf help documents are suitable for reading and querying some technical details.
4. Programming composite UI Application Block and Smart Client software factory, and Design Smart Clients Based on cab
And scsf -- Introduction tural guidance for composite Smart Clients introduces scsf books. At present, scsf has few tutorials and books. You can read these articles after you have a preliminary understanding of scsf to deepen your understanding of the scsf framework and improve your own architecture capabilities and ideological realm.
5. Head first design patterns-best-selling book; Design Pattern
Patterns)-a classic book.
Iv. required installation files:
. Netframework 3.0,
Guidanceautomationextensions,
Guidanceautomationtoolkitforvs2005,
Sqlservercompacteditionruntime_en,
Vs2005extensionfor. netframework3.0,
Smart Client software factory-May 2007
5. Core Ideas and important components:
1. infrastructure is the basic module of the scsf Project (infrastructure indicates the underlying layer), and the shell class library in this module is closely related to developers.
(1) set the way the program starts: Open shellapplication. CS and you can see the [stathread] attribute. This is where the program starts. For programming, aftershellcreated () is often used.
(2) configure the function module to be loaded at startup (businessmodule): configure it in profilecatalog. xml.
Program shell: the core idea of scsf is to assemble the business module of group development through shell to form the final software project, the implementation of each function module does not affect the main program shell. This is basically different from the previous development model -- it is necessary to wait for each module to complete the Assembly and run the program. The main interface of the project can be run from the very beginning, and a functional module can be loaded, the entire project is almost always a program with an interface that can be run, which is obviously iterative development. Shellform. CS is the main interface during project running. On this form, you only need to plan the layout and leave the loaded position for the function module.