Developing Web Apps with Pascal

This is the current revision of Developing Web Apps with Pascal, edited by Peter.kainz at .

Overview

This page describes various ways of integrating javascript with Free Pascal.

XIDE/XComponents

XIDE is a simple, stand alone, open source IDE for Free Pascal which runs in the browser (and on other platforms supported by Lazarus).

It is a combined Client Side Run Time Library and RAD IDE intended to allow Pascal(Pas2JS) and/or Python(Pyodide) development with the minimum of installation or learning curve while also being as platform independent as possible. XComponents is the widgetset that enables XIDE.

XIDE is intended for Prototyping, Small Group Collaboration and Agile Line of Business projects where the choice of browser can be specified. It will run on any platform that is supported by Chrome or Electron, or Lazarus(+CEF). It is not intended for the development of general-purpose public facing web sites. It may also run on other HTML5 browsers (e.g. Microsoft Edge), but this is not tested.

XIDE projects can be deployed as a single static HTML/Javascript (or .exe) file combining the User App with the RTL and IDE Code. This can be done with the IDE disabled (for end users) or enabled (as done in the examples below, for collaborators).

Examples…..

   XIDESimplePascalExample.html https://steve--w.github.io/XIDEPages/XIDESimplePascalExample.html
   XIDESimplePythonExample.html https://steve--w.github.io/XIDEPages/XIDESimplePythonExample.html
   XIDEPascalSVGAndGPUExample.html https://steve--w.github.io/XIDEPages/XIDEPascalSVGAndGPUExample.html

To build from source….

   XIDE https://github.com/Steve--W/XIDE 
   XComponents https://github.com/Steve--W/XComponents

XIDE Screenshot

ExtPascal

ExtPascal is a set of Pascal components that wrap the Ext JS set of JavaScript widgets.

http://code.google.com/p/extpascal/

With the optional ExtP Toolkit, you can turn Lazarus into an ExtPascal IDE.

qxotica

The qxotica tools provide a way to use Lazarus to create both the qooxdoo-based JavaScript client and the Pascal server backend for a Web app.

https://sourceforge.net/projects/qxotica/

xProject – Turn Delphi & Lazarus Applications into Web Apps

Your Pascal code. Your GUI. Your web application.

With xProject, transform your existing Delphi or Lazarus desktop applications into fully functional web applications – without rewriting your application from scratch!

xProject converts your Pascal source code and GUI definitions into a web application that preserves the look and feel of your original program. The generated application uses standard web technologies: HTML, CSS and JavaScript.

What makes xProject F9 special?

Latest release: 2026.10.2

Bring your Pascal applications to the web!

Learn more, watch the tutorials and download xProject:

xproject.studio Youtube Facebook

See also