воскресенье, 2 сентября 2012 г.

Documentation to project

HMI (Human-Machine Interface) with Amber

Khubbatov Rustem
Short description:  The aim of this project is to create a framework for building web-based Human-Machine Interfaces in Smalltalk with Pharo-based server back-end model and UI front-end in Amber.

среда, 22 августа 2012 г.

Small screencast

Here is a small screencast presenting my project. Nearly all the functionality is presented here. Not all the features that were planned at the beginning are implemented at the moment, but I hope the results are still interesting and useful for Smaltallk society. And for sure, I'm planning to continue to develop this project further on.





четверг, 26 июля 2012 г.

Pharo & WebSocket: Google Chrome problem

Hi!
Month ago i discovered that my application don`t want in Google Chrome browser. As it turned out there was a problem not only for me. My mentor and some people from amber-lang told about this problem to me. I had no idea what the reason of such behavior of WebSocket.
After a little time JacobWagner said that may be google uses more and more recent specifications of this protocol, but WebClient-Core in Pharo was not updated for a long time.

Now this problem has gone. Here [1] is a version of WebClient, which is compatible with the new RFC [2].
[1]http://leves.web.elte.hu/squeak/WebClient-Core-klub.91.mcz
[2] http://tools.ietf.org/html/rfc6455

воскресенье, 17 июня 2012 г.

How i wrote server side of my application



First of all i want to tell you about how i write my server using Pharo 1.3.
I used WebSocket to make comunication between Amber and Pharo, so i was need in some WebSocket class in my Pharo 1.3. My mentor helps me to found package of classes that contains WebSocket class.

вторник, 5 июня 2012 г.

Some words about project

Good morning!


Today i have working application, running on localhost. This application is consist of server, that runs on Pharo 1.3, and client, that runs on Amber 0.9.
My application now supports:
-add element to scheme
-remove element from scheme
-change element position (drag&drop)
-change element state
-change parameters of element

All objects are stored on the server.
Comunication between Amber and Pharo is made by using WebSocket.
I used Raphael.js library for render pictures in my app.

It is my first post, i will publish more information about my work during summer.

пятница, 11 мая 2012 г.

Greetings to you!


In this blog i will publicate information about my work during Google Summer Of Code programm.
Some words about my project... 


A concrete task that should be implemented with this project is a prototype of UI for network management system or SCADA. Server-side (Pharo) will simulate network components and their data, and provide relevant events for client (Amber). The latter will present network items, their state and associated information, and provide UI to control them. An important part of this system is a communication layer between Amber and Pharo.


You can read my proposal here.