Brook for Free Pascal

From Lazarus wiki
Jump to navigationJump to search

Deutsch (de) English (en) français (fr) polski (pl)


Brook for Free Pascal is the perfect Free Pascal framework for web applications. It's pure Pascal. You don't need to leave your preferred programming language.

It's complete: simple actions or configurable actions for database access, advanced routing features, wizard for Lazarus, support for internationalization, high compatibility with JSON structures, easy and elegant REST implementation, plugins for varied needs, extensible and decoupled brokers... In fact, you have several reasons to adopt Brook as your web development framework.

Author: Silvio Clecio

License: GNU LGPL


  • Advanced routes management – Actions are performed by means of routes. Brook knows how to receive a request and choose the correct URL and the correct method to reply to it.
  • Integrated data persistance – Brook offers a table object where data can be handled. Less instantiations, less coding, with an elegant syntax.
  • JSON native support – JSON is widespread in the web for data exchange purposes. You will really appreciate Brooks' good JSON support.
  • REST architecture supportREST is an architecture able to simplify and standardize data requests and replies. Brook is powerful even if you don't use REST – but you will want to use it.
  • Lazarus wizards for installation and usage - With Lazarus, development is easier; with the Brook wizards, only a few clicks are required to start and configure your Brook projects.


  • dOPF – Sleek, intuitive and fast object persistence for faster and easier database development.
  • RUtils – Some general purpose routines for string conversion, parsing, encoding and more.
  • JTemplate – Fill variables in a template file.
  • QTemplate – Alternative to the FPTemplate engine.
  • EasyRSS – Easiest way for Pascal developers to provide news updating services in their applications.
  • XMailer – Simple way to send e-mail using Free Pascal.
  • AlgEx – Process algebraic expressions passed as strings.
  • Captcha – Verification images to block bot access on login pages.
  • MGeoIP – Identify the name of the country or city where IPs reside.
  • ConvUtils – Conversion between units of measurement (centimeters, inches, liters etc.)
  • HtmlDoc – Write headers, body and other relevant tags using Object Pascal.
  • LJGridUtils – Easy conversion from LCL to JSON and vice versa.
  • Brook-Telegram – Consume the Telegram Bots API in a Brook application.


Comparison with Brook Framework

Brook Framework is another web application library by the same developer. The main difference between Brook for Free Pascal and Brook Framework is that Brook for Free Pascal is pure Pascal and relies on the HTTP functionality provided by fcl-web, covering CGI, FastCGI and standalone, whereas Brook Framework uses libsagui, a C library, for its underlying HTTP/S functionality.


  • mORMot - Synopse mORMot ORM/SOA/MVC framework.
  • FreeSpider - Web development package for Free Pascal/Lazarus.
  • FCL-Web Built-in Free Pascal web library.
  • Fano Framework Web application framework for modern Pascal programming language.