Forms instead of a frontend codebase
A form declares its objects, properties, filters and actions, and the platform builds the web interface: tables, trees, panels and dialogs. The same form can be printed or exported to JSON, XML, CSV, XLS or DBF.
Web applications · One language · Open source
Describe data, business logic and forms in one language. The lsFusion web client renders reactive forms from these definitions, the server runs the logic and the database runs the queries, so you build neither a separate frontend nor a REST endpoint for every screen.
Forms bound to data
In a typical web stack the same entity is described in the database schema, the ORM, the services, the API and the frontend state. In lsFusion it is described once: forms bind directly to properties, and the platform keeps the browser in sync.
A form declares its objects, properties, filters and actions, and the platform builds the web interface: tables, trees, panels and dialogs. The same form can be printed or exported to JSON, XML, CSV, XLS or DBF.
When a user changes data, every value calculated from it is updated in the open form at once. A user action usually takes one asynchronous request, and lost requests are resent and processed in the right order.
Draw a list, a value or a whole part of a form with your own JavaScript or React component, restyle the interface with CSS or build a separate frontend on the HTTP API.
Three-tier web architecture
The application server runs on the JVM and holds all the business logic; the web server delivers the client to the browser; PostgreSQL stores the data and runs the queries. The client has no business logic of its own, so the same client serves any application.
FORM orders 'Orders'
OBJECTS o = Order
PROPERTIES(o) number, date, total
;
NAVIGATOR {
NEW orders;
}
Out of the box
Standard views and user tools come with the platform, so a business screen does not start with picking a component library.
Lists, flat and recursive trees, panels and tabs; large lists are read in portions.
The pivot view groups data, calculates totals and builds charts right in the browser.
Objects with dates can be shown on a calendar, objects with coordinates on a map.
Group editing, copying to and pasting from Excel, saving or canceling changes.
Users add filters and sorting, rearrange columns and calculate sums in any table.
Reports in PDF, DOCX, XLSX, HTML and other formats from the same form definitions.
Call actions and run lsFusion code over HTTP; JSON, XML and CSV in and out.
Access by roles down to individual properties and actions, and interface localization.
A standard engineering workflow
Data, logic, forms and design are plain-text code in Git. There is no separate frontend project to build and version in step with the backend.
Less to build and keep in sync
The point is not “no code”. It is how many layers you write by hand to show and change the same data.
Get started
The platform, the IDE plugin and the examples are free and open source.
Not for ordinary forms: the platform builds the web interface from the form declarations and their design. JavaScript is needed only for custom components, and CSS only for custom styling.
Yes. A separate frontend can work with the application over the HTTP API, exchanging JSON — see the frontend how-to. React components can also draw parts of the platform’s own web client — a form container, a table, a navigator window: see React views.
Yes. The web client works in mobile browsers and switches to a mobile layout on narrow screens, where the navigator becomes a menu.
In production, lsFusion applications work with up to 10,000 concurrent users and 1 billion records out of the box: the platform compiles the logic into SQL queries and optimizes them.
Installers for Windows and Linux set up the platform with OpenJDK, PostgreSQL and Tomcat, and Docker is supported as well. The web client, and desktop clients started via Java Web Start, are updated together with the web server; a desktop client installed with the Windows installer is updated manually.
Yes. The same forms also work in a Java desktop client, which users install from the login page or with an installer.
Yes. The platform is open source under LGPL v3, with no license keys and no fees per user or per server.
One language, the whole web application
Try the language online, open a running application or start with the documentation.