Hello everyone!
BlaiseVue is a modern framework for creating Single Page Applications (SPAs) using the power of Object Pascal and the agility of the web ecosystem.
BlaiseVue was born with a clear mission: to bring the "Vue-style" (Single File Components) development experience to the Pascal community, without sacrificing the strong typing and robustness we love in Lazarus.
What's in Version 1.0?
SFC (.bv Format): HTML Template, Pascal Logic, and CSS Style in a single organized file.
Next-Generation Reactivity: Reactive engine based on JS Proxies with automatic dependency tracking.
BlaiseCLI (bv.exe): A native orchestrator written in Pascal that compiles and manages the project up to 50x faster than Node.js-based tools.
Navigation & State: Integrated SPA Router (with Navigation Guards) and Global Store (B-Store) for complex state management.
Ready Ecosystem: "Unofficial" libraries already included for Bootstrap 5 (bootstrap-bv) and Charts.js (chart-bv).
Code Quality: Full integration with Vitest for direct unit testing in Pascal code.
Epic Documentation: Over 20 detailed chapters covering everything from "Hello World" to advanced Provide/Inject architectures.
The Future: Towards BlaiseVue 2.0
We are already working on the foundations of version 2.0, which will bring:
HMR (Hot Module Replacement): Instant component updates in the browser without losing state or refreshing.
History Mode: Support for clean URLs (HTML5 History API) for improved SEO and UX.
Scapped Slots: Advanced dynamic and bidirectional communication between parent and child components.
Browser DevTools: A dedicated Chrome/Edge extension for inspecting the Pascal component tree in real time.
Static Optimization: Intelligent compilation to remove dead code and speed up loading times.
Family Licensing
To honor our roots, BlaiseVue adopts the Lazarus/FPC licensing model: a hybrid license (GPL/Modified LGPL) that allows you to create proprietary commercial applications without the obligation to open your source code, while keeping the core of the framework free and collaborative.
Useful links:
https://github.com/affonsoelias/BlaiseVueAll of this was created with artificial intelligence, and to be honest, I don't have the capacity to maintain a project like this. I would have to study it more deeply, although it seems user-friendly. The goal is to show myself and the community that the Pascal object can indeed be used in a modern front-end. I decided to do this because I was studying mORMot in my spare time and couldn't find a free, open-source library like Vue.js or Angular for FreePascal.
There's an extension for Visual Studio Code for Windows. Just run the install_extension script in PowerShell.
The framework was tested on Windows 11, and I have a computer with Manjaro KDE that I'll test later and ask the artificial intelligence to create a Linux extension.
That's it.