From: <al...@be...> - 2018-11-15 07:34:07
|
Hello all, I want to tell you about my new Harbour + HwGUI project. It is GuiServer - a special tool that makes it relatively easy to implement GUI frameworks for different programming languages. It works as a GUI service, which receive tcp/ip connection from a program, written on any language, and executes it commands - creates windows, controls, etc. The interesting possibility is that GuiServer and a main program, which gets from him the GUI, may run on different computers in a network. GuiServer on github: https://github.com/alkresin/guiserver GuiServer page: http://www.kresin.ru/en/guisrv.html The first GUI framework, which uses the GuiServer, is for Golang: https://github.com/alkresin/external The first application, written with this framework - ETutor, https://github.com/alkresin/etutor. It is the interactive Golang tutorial, an analogue of the HwGUI Tutor. An interesting point is that ithe GuiServer may be used not only for Golang, Python, etc. programmers to provide for them GUI, but, on the contrary, for Harbour programmers to give them opportunities of other languages. For example, you write a Golang program, which includes such a main function: func main() { if egui.Init("") != 0 { return } egui.OpenMainForm("forms/main.xml") egui.Exit() } This function runs the GuiServer and force it to open and show a main window form, created with the HwGUI Designer. All other code implementing the program logic, may be in this and other forms and written on Harbour. But this code may call functions from a connected Golang program, which realizes those things, which Golang does better than Harbour - from web pages parsing to handling of MongoDB. Regards, Alexander. |