Practical Software Development Framework-experiment outline
This series of articles is written by ex_net (Zhang jianbo). Please indicate the source for reprinting.
Http://blog.csdn.net/ex_net/article/details/8744192
Author: Zhang jianbo mailbox: 281451020@qq.com Phone: 13577062679 welcome to exchange calls!
Course Lab (Computer) syllabus
Course name: Practical Software Development Framework
Course code: 16500599
Credits: 2
Hours: 32
Applicable Major: Computer Science and Technology
I. Purpose and Task of the experiment (Computer)
Framework technology is of great significance for software development. It not only simplifies the development process, but also facilitates later maintenance. Through the development experiment of fxcad framework, students can learn how to perform "Secondary Development" based on the framework and how the "Software Framework" is designed.
This course lab mainly includes the following tasks:
(1) Measure the test taker's knowledge about Interface Definition of fxcad framework and function calling methods related to plotting.
(2) ability to draw simple basic Images Based on fxcad
(3) "drag", "copy", and "Paste" of Objects"
(4) saving objects to XML documents
(5) complete a comprehensive case, such as the simple version of Visio.
Ii. Basic Requirements for lab (Computer)
(1) master the compilation of C # programs
(2) understand the internal operating principle of fxcad framework
(3) understanding how to read and save XML documents
(4) Understanding object-oriented design ideas and abstracting real things into specific computer models (objects)
(5) Complete the experiment independently
Iii. Experiment (Computer) selection principles
After five experiments, a major assignment (work) is required ). You can choose from industrial control, two-dimensional games, and professional graphics software. The selection should be based on social, scientific theory, industrial control, and actual conditions, and independently design and develop works based on the fxcad framework.
For example: simple Visio tools, card and board puzzle games, Industrial configuration control systems, etc.
Iv. Experiment (On-machine) content (specifying the location, content, and schedule of the design (Practice)
Experiment 1 simple drawing
Location: Computer Room
Content: draw the following basic Images Based on fxcad
SCHEDULE: 2 lessons
Experiment 2: Moving Objects
Location: Computer Room
Content: After completing experiment 1, you can complete the code in the red box to move the figure drawn by experiment 1.
As long as you click in the middle of the width of the drawn rectangle, and hold down the mouse, drag the "rectangle object" and find that there is no, the rectangle object can be moved.
SCHEDULE: 2 lessons
Experiment 3: Property events of an object
Location: Computer Room
Content: After completing Experiment 1 and Experiment 2, you can right-click the graphic object to bring up a winform attribute interface for object parameter adjustment.
SCHEDULE: 2 lessons
Experiment 4: save objects in fxcad to an XML file
Location: Computer Room
Content: XML can serialize information and store it as text, so that data can be used in any environment that may be needed. Therefore, the most common XML application is to store configuration information in our system. XML can also be said to be used to describe information, data, and even the software of all objects. The fxcad diagram or other applications we draw are mostly stored in the form of files, then, the file will be restored to the style we saw before saving it. There are many formats for saving files, such as ASCII, UTF, and XML. They are all saved in a specific form.
The fxcad development file contains three parts: fxclasslibrary, fxcontroller, and fxdesignview. Fxclasslibrary mainly includes the code for drawing nodes in fxcad, the code for drawing connections, the main class code added during secondary development, and the graphic. implementation Code for saving and opening XML files. In this experiment, you can store the drawn image to the specified XML file.
SCHEDULE: 2 lessons
Experiment 5 resistance, capacitance, IC, table, car, and other models
Location: Computer Room
Content: This experiment adds more models to the fxcad framework. Through rapid code replication, you can complete modeling of components such as resistance, capacitance, and IC as soon as possible. Students can also build models based on their own interests and interests, and choose the things they are familiar with and like.
SCHEDULE: 2 lessons
Experiment 6 Integrated Program Design
Location: Computer Room
Content: this hands-on experiment combines all the results of the previous five hands-on experiments to complete a software work of a relatively large scale.
For example:
(1) "tanks" that can launch Shells"
(2) function Simulator
(3) flying planes
SCHEDULE: 6 class hours
V. Experiment (Computer) References
1. fxcad Practical Software Development Framework tutorial, self-developed teaching materials, Zhang jianbo
2. Network Data http://blog.csdn.net/column/details/fxcad.html
3. proficient in GDI + programming, Tsinghua University Press, Zhou mingyang, 2004-2-17
Vi. Test (On-machine) score Assessment
Lab reports, attendance, and works