PharoJS Logo


How to Develop Mobile Apps with PharoJS?

A dedicated page explains through an example how to build a mobile app using PharoJS. It relies on Apache Cordova (formerly PhoneGap) to turn HTML based project into Anroid and iOS applications.

Talk at the ESUG 2018 Conference, Tuesday 11th September, Cagliari, Italy

Abstract: This talk is an update on PharoJS ( It covers the current status of the PharoJS development process, as well as its tools. Through an example, we will describe how to use PharoJS, and how it supports TDD, starting with a Pharo code, and ultimately compiling it to Javascript that runs on a JS interpreter (Web browser, NodeJS...). The talk will also give a glimpse of some recent applications developed using PharoJS, and draw a roadmap for the future of PharoJS.

PharoJS: Pharo-Based TDD for Javascript Applications from ESUG

Talk at ESUG 2016 Conference, Monday 22nd August, Prague, Czech Republic

Abstract: PharoJS is an infrastructure (framework + middleware + tools) that allows developping and testing in Smalltalk for applications that will ultimately run on a Javascript interpreter. Unlike to Amber, that runs inside a web browser, PharoJS is built on top of Pharo. Apps are initially buit in the image as pure Pharo objects that run on the Smalltalk virtual machine. The PharoJS middleware allows interacting remotely with third party Javascript objects running on a web browser, or interacting with a web view, particularly for mobile apps. Such interactions are used only during tests. Ultimately, the Smalltalk code is converted to Javascript. So, at the production stage, only a Javascript interpreter is required to run the app. In this talk, we present the current status of PharoJS and its implementation. Through an example, we describe the application development process, with a focus on tests and TDD.

Download the ZIP archive with files used for demo.

PharoJS from ESUG