Dear Moose Community,
My internship ends today in the Rmod team. So I share with you the
latest improvements I've made on Moose On Web.
This application is in two parts:
- the server part on a Moose Image is querying the moose model through
a REST API based on Zinc-REST. You can access the model but also import
our own models through it.
Download at :
http://smalltalkhub.com/#!/~VincentBlondeau/MooseOnWeb
- the client part is using the server part and display the moose data.
It's based on Amber, a smalltalk to JavaScript compiler. Download at :
https://github.com/VincentBlondeau/amber-MooseOnWeb.
The live demo is here :
http://37.139.2.203/client
The new features:
- Upload MSE files
- Model deletion
- No 'noname' anymore
- Useless buttons deleted
- sourceLanguage bug resoved
- latest amber version
- New querying grammar :
Some examples :
-
http://37.139.2.203/API/entities/1?action=allClasses!(name,fanIn) : get
on each classes of the model of id 1 the name and the fanIn
-
http://37.139.2.203/API/entities/1?action=allClasses;size
:get the number of classes of the model of id 1
-
http://37.139.2.203/API/entities/1?action=allClasses*allPackages : get
all the classes and the packages of the model of id 1
Thanks for your feedback !
Vincent