After a two years pause due to COVID, ESUG conference is back. This year’s edition took place 22-26 August in Нови Сад (Novi Sad), Србија (Serbia). As usual, it was a delight to meet the Smalltalk community. It was also an opportunity to present latest updates on PharoJS, give demos and even implement new stuff as summarized in the following.
Talk: PharoJS for Real World Applications
I was the first speaker at ESUG 2022. Almost all conference attendees were in main amphitheater. And from the numerous questions and comments I got, I can tell that they seem to have enjoyed my presentation. You can find below a very short summary and the slides. I’ll put a video of the recording once it will be available.
But, for development, we wanted to benefit from Pharo’s unique set of features and IDE. To do so, PharoJS provides a framework and a toolset that supports integrating Pharo code with third-party JS libraries. It also enables testing and debugging applications running on a JS interpreter. We’ll discuss these features, and how they were successfully used to produce real world software.
Demo of PLC3000 a PharoJS-based Software for Teaching Factory Automation
PLC3000 is a SaaS solution for teaching factory automation and Programmable Logic Controllers (PLC). It provides a collection of exercises, development tools and programmable simulated benches. Being 100% online, it requires only a web browser, and can be used to teach remotely, in person or hybrid classes. It works even for large groups of students.
PLC3000 has been of course developed using PharoJS. I gave different demos as part of the ESUG Innovation Technology Awards. The videos below gives a glimpse of the solution. Some technical details about PLC3000 are also given in the above slides of my talk.
Live Experiment of 3D Graphics with PharoJS
Based on a simple example from ThreeJS documentation, I showed how to convert the JS code sample to PharoJS. It’s rather straight forward, almost a 1 to 1 direct mapping. On the way back home I’ve cleaned up the code and published on GitHub. It’s now part of the PharoJS examples package. The example is an interactive cube with PharoJS icon. It can be rotated in all directions using the arrow keys of the keyboard. You can try it on the demo page of the PharoJS web site.