There is a saying: the programmer is the most lazy. Only lazy people will find the most powerful in a variety of implementations.
In long-term programming practice, the zero chaos of the client program is not easy, and the time is expensive, and it has been deeply evil. Therefore, the characteristics are summarized as follows (especially the interfaces in the three-layer architecture):
The response time requirements are not strict, usually zero seconds are the ability to endure, in general, enter some content, submitted to the background service via the function key or button, and the return result is displayed to the user to ask the user interface as simple as possible, help Customer learning may need to save some customer information, such as the username of the login, login date, etc. Based on the above consideration, consider using Python to implement the client's development:
Python is "glue" language, it can be convenient to call C (C ) library python is interpretative, syntax is simple enough, using programming; the corresponding release is also simple, release source file (.py) or compile intermediate products (.pyc) It is ok, the space is small, the release fast python has a rich class library, and the development is convenient than C, Python is an object-oriented, supporting exception, automatic garbage recycling (GC), can improve Efficiency Disadvantages:
Slow speed. Client programming does not have to pursue efficiency. In addition, the memory loaded can be used, and the speed of speed (which will be mentioned later) is not born to Chinese. This can be supplemented by the development platform. Currently considering the use of Python to implement similar to Autobranch (Nantian-based CURSES) development platform, if you might use Tkinter to implement similar graphical interface development platforms. A product similar to Uniface is finally implemented such that the development front end interface is as simple as drawing sketches, preferably under the graphical interface.
Feasibility: The current NCURSS-based class library that has been developed similar NewT concepts has been developed, providing a preliminary unified data naming (bus) support, which can be added to generate a message generation method (such as FML / carry / XML / separator) ), Support different levels (windows, controls) events (buttons). The corresponding graphical interface development should also be feasible.
Preliminary idea:
Extract the window, buttons, events, data bus concepts, consider platform ideas.