TangramCombined Construction with software
Tangram is an English counterpart of the Chinese "Jigsaw Puzzle". Generally, outsiders think that "Jigsaw Puzzle" is a wise game of the Tang Dynasty, and the overseas Tang Dynasty symbolizes China. The "Jigsaw Puzzle" shows an obvious simple constructor thought. You can create it with seven elements as the base. When Tangram was first developed, it took a lot of time to get the name of the system. Good Ideas must have matched names. The idea of the clever board is to give a software system a full and large "base" that allows you to construct a rule-compliant structure. The combination construction of software functions is a very interesting issue. First, you must provide the basis of the combination construction, and then you must develop rules for the combination construction, then you must provide the scheduling and interaction solutions between the member elements involved in the combination. The HTML model is an interesting example. By providing a set of controls, you can construct a colorful page, at first, I implemented HTML model interconnection with frameworks such as MFC and ATL by driving HTML extension interfaces. A typical practice is to design an idispatch object iextdisp, this object can access your object model, and then try to bind this object to the HTML model. The mshtml Library provides this mechanism. Through the above processing, you can call your object Command System on your HTML page. A typical example is the implementation of the Visual Studio. NET code wizard (wizard. Although HTML commands can be expanded, they are not a good choice. I finally treat HTML as a larger "base" member, the reason is that HTML is too expressive, because after all these things are not programs or are not like programs. When I used Delphi in the early days, there was a class of Frame Objects in VCL that impressed me very well. In the form, a cframewnd is very similar to a Delphi frame, but not. In general, Delphi objects are pre-compiled. That is to say, (the vast majority) system objects such as Delphi must be compiled before they can be used, therefore, the feasibility of using Delphi to construct the Tangram subject is excluded (in fact, Delphi is equally feasible because Delphi supports rtti ). When constructing TANGRAM, you should think of Frame Objects that support Delphi (the current Tangram system can support activeform of Delphi/BCB ). The final choice of MFC as the underlying foundation of Tangram is because MFC better supports rtti (runtime class information) and has a flexible storage mechanism (the storage mechanism of MFC is simple but powerful !). Let's look at a more complex frame form: (a merged frame window) the above form is composed of one. net Control, two userforms, and one MFC view synthesis. The frame framework consists of two splitter and one Excel tabwnd. The combination of software means that the frame is completed first, and then the above object (. net Control, two userforms and one MFC view) "Install", there may be a variety of architecture patterns, if a program does not have a built-in design engine, the programmer will work hard, the customization capability of users is greatly limited. Tangram's design goal is to ensure that all of this can be done visually! In addition, it must be professional enough. In general, HTML cannot meet the requirements of programmers, and programmers cannot or are difficult to have HTML flexibility. In this regard, Tangram provides a compromise solution: HTML design, editing, and Visual program interface. Traditional programs, because most of the objects to be operated reside in the program, the design is greatly restricted. Tangram is based on providing a wide range of "software object base ", make the design a fact, if the MFC view, ActiveX CTRL/ActiveX document ,. net Control, HTML, Flash, and other types of elements become an atomic component in a super "Jigsaw Puzzle". What is waiting for you will be a huge and colorful object world, mastering TANGRAM, you have taken control of the Microsoft Component world, and you have unlimited connection capabilities ...... (Built-in form object after VBA) (Secondary Development) (Form Design)
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