Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Using XWorker to develop SWT & RAP Programs
Using XWorker to develop SWT & RAP Programs [message #1802870] Mon, 18 February 2019 11:47 Go to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
This post will briefly introduce how to use XWorker to develop SWT and RAP applications. I hope you can use and join XWorker. XWorker is an open source software under Apache 2.0 license.

XWorker is the development platform of dynamic model. Dynamic model is a model-based object-oriented programming method. For XWorker and dynamic model, you can refer to the home page of XWorker https://www.xworker.org.At present, XWorker is still under development. I hope to receive your suggestions.

Online Examples https://www.xworker.org/rap?app=rwt.RwtExample.

One minute GIF presentation creates, edits, publishes and runs SWT models .
https://www.xworker.org/files/2019/0218/165257swt.gif

The 34 seconds GIF demo creates, edits, and packages RAP applications.
https:///www.xworker.org/files/2019/0218/172157rwt.gif
Re: Using XWorker to develop SWT & RAP Programs [message #1802871 is a reply to message #1802870] Mon, 18 February 2019 11:50 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Brief Introduction of Dynamic Model

Dynamic model is a model-based object-oriented programming method, in which objects, classes and behaviors are represented by models, while models are tree-structured data and can be represented by XML.

Dynamic models are executed by interpretation, while models are data that can be modified at any time, so dynamic models can be used to program dynamically while the system is running.

The dynamic model engine used by XWorker is implemented in Java, which relies on Java to run.

The dynamic model itself is relatively simple, but powerful programs can be developed.
Re: Using XWorker to develop SWT & RAP Programs [message #1802872 is a reply to message #1802871] Mon, 18 February 2019 11:52 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
A Brief Introduction to XWorker's SWT Subproject

The swt used here is a subproject of xworker. XWorker chose SWT as its interface, so we modeled SWT, through which we can quickly develop SWT and RAP applications.

XWorker has modeled most of the SWT and Nebula controls, and integrated third-party controls such as TkuiCss, Jfreechart and Barcode. XWorker has also written a large number of composite controls and frameworks.

The SWT model in XWorker still has a lot of work to develop. I hope that one day Eclipse will be able to use dynamic models to make SWT-related models by itself. After all, we are only users of SWT, not professional.
Re: Using XWorker to develop SWT & RAP Programs [message #1802877 is a reply to message #1802872] Mon, 18 February 2019 12:03 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Models can be integrated into Java

See https://www.xworker.org/do?sc=xworker.app.orgweb.web.Index&id=1692

https://www.xworker.org/files/2019/0218/200223modeljava.png
Re: Using XWorker to develop SWT & RAP Programs [message #1803033 is a reply to message #1802877] Thu, 21 February 2019 09:52 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Features

My final goal is to donate XWorker's SWT-related sub-projects to Eclipse, or Eclipse to rewrite the relevant models, hoping to get anyone's help to achieve this wish.

The following link is a 2:27 second video, showing some features of the SWT model, hoping you can learn more about the SWT model.

https://www.xworker.org/files/2019/0221/173007features.mp4
Re: Using XWorker to develop SWT & RAP Programs [message #1803130 is a reply to message #1803033] Sat, 23 February 2019 04:42 Go to previous messageGo to next message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Why Choose Dynamic Model

This is because the dynamic model is simple, but it can be used to write powerful applications.

For example, it can be used to develop new programming methods. We know that if we can turn the programming process into a selection process, it is possible to add AI to automate programming. The next 51 seconds video demonstrates how to write a SWT interface by choice, based on the fact that the application can change its model at runtime.
It should be noted that the above functions are still an idea of XWorker.

https://www.xworker.org/files/2019/0223/123704swtselector.mp4
Re: Using XWorker to develop SWT & RAP Programs [message #1803131 is a reply to message #1803130] Sat, 23 February 2019 05:03 Go to previous message
zhangyuxiang Mising name is currently offline zhangyuxiang Mising nameFriend
Messages: 31
Registered: March 2011
Member
Join and help us

XWorker is still in the stage of creating various models, among which SWT model is the first mature model that can be applied. In addition to SWT, there are WEB, AI and games.

The biggest challenge for XWorker is to let you understand the dynamic model. I haven't found a suitable method yet. I think the possible reasons are:
1. The dynamic model is so simple that it is difficult to figure out its use. The solution is to try to use it.
2. Dynamic models are similar to many technologies, and it's easy to feel that others have already done it. In fact, the foundation of dynamic model is meta-model, and the structure of meta-model is itself.

Honestly speaking, I have failed to introduce dynamic model once. At that time, I was mainly caught in the philosophy of metamodels. Fortunately, I have passed through this difficulty now. I hope this time will be successful. I hope you can join us and help us.
Previous Topic:SWT Browser about:blank not firing DocumentComplete
Next Topic:Resizing Nightmares
Goto Forum:
  


Current Time: Wed Dec 04 10:51:46 GMT 2024

Powered by FUDForum. Page generated in 0.02731 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top