Difference between revisions of "Brook for Free Pascal"

From Free Pascal wiki
Jump to navigationJump to search
(Add section on difference between the two Brooks)
 
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
{{Brook_for_Free_Pascal}}
 +
 
= About =
 
= About =
'''Brook framework''' is the Pascal framework for web applications. Release 4.0 [https://github.com/silvioprog/brookframework/tree/v4.0.0] is compatible with FreePascal. The new 5.0 [https://github.com/silvioprog/brookframework] also has Delphi compatibility but is still in development. BrookFramework 4.0 is pure Pascal. You don't need to leave your preferred programming language.
 
Further, unless otherwise specified mean 4.0 version.
 
  
It's complete: simple actions or configurable actions for database access, advanced routing features, wizard for [[Lazarus]], support for i18n, 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.
+
'''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_FAQ|Lazarus]], support for internationalization, high compatibility with [[JSON]] structures, easy and elegant [http://en.wikipedia.org/wiki/Representational_state_transfer 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
  
 
= Features =
 
= Features =
Line 9: Line 15:
 
* '''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.
 
* '''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.
 
* '''Integrated data persistance''' – Brook offers a table object where data can be handled. Less instantiations, less coding, with an elegant syntax.
* '''JSON native support''' – [http://json.org JSON] is widespread in the web for data exchange purposes. You will really appreciate Brooks' good JSON support.
+
* '''JSON native support''' – JSON is widespread in the web for data exchange purposes. You will really appreciate Brooks' good JSON support.
 
* '''REST architecture support''' – [http://en.wikipedia.org/wiki/Representational_state_transfer REST] 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.
 
* '''REST architecture support''' – [http://en.wikipedia.org/wiki/Representational_state_transfer REST] 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 [http://www.lazarus.freepascal.org Lazarus], development is easier; with the Brook wizards, only a few clicks are required to start and configure your Brook projects.
+
* '''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.
  
= Demos =
+
= Plugins =
  
If you want to see Brook in action, then take a look a database demo [https://dl.dropboxusercontent.com/u/135304375/brookframework/demos/index.html here] and a simple chat [https://brookframework.org/cgi-bin/chat.bf here].
+
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/dopf dOPF]''' – Sleek, intuitive and fast object persistence for faster and easier database development.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/rutils RUtils]''' – Some general purpose routines for string conversion, parsing, encoding and more.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/jtemplate JTemplate]''' – Fill variables in a template file.
 +
* '''[https://github.com/leledumbo/QTemplate QTemplate]''' – Alternative to the FPTemplate engine.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/easyrss EasyRSS]''' – Easiest way for Pascal developers to provide news updating services in their applications.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/xmailer XMailer]''' – Simple way to send e-mail using Free Pascal.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/algex AlgEx]''' – Process algebraic expressions passed as strings.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/captcha Captcha]''' – Verification images to block ''bot'' access on login pages.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/mgeoip MGeoIP]''' – Identify the name of the country or city where IPs reside.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/convutils ConvUtils]''' – Conversion between units of measurement (centimeters, inches, liters etc.)
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/htmldoc HtmlDoc]''' – Write headers, body and other relevant tags using Object Pascal.
 +
* '''[https://github.com/risoflora/brookfreepascal/tree/master/plugins/ljgridutils LJGridUtils]''' – Easy conversion from LCL to JSON and vice versa.
 +
* '''[https://github.com/Al-Muhandis/brook-telegram Brook-Telegram]''' – Consume the Telegram Bots API in a Brook application.
  
= Plugins =
+
= Homepage =
 +
 
 +
* Get started, documentation, license, download and others details: [https://risoflora.github.io/brookfreepascal/ Home page].
 +
* [https://github.com/risoflora/brookfreepascal GitHub repository]
  
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/dopf dOPF]''' – This plugin provides sleek, intuitive and fast object persistence for faster and easier database development.
+
= Comparison with Brook Framework =
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/rutils RUtils]''' – This plugin offers some general purpose routines for string conversion, parsing, encoding and more.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/jtemplate JTemplate]''' – This plugin helps you to fill variables in a template file.
 
* '''[https://github.com/leledumbo/QTemplate QTemplate]''' – This plugin implements an alternative to the FPTemplate engine.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/easyrss EasyRSS]''' – This plugin is the easiest way for Pascal developers to provide news updating services in their applications.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/xmailer XMailer]''' – This plugin offers a really simple way to send e-mail using Free Pascal.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/algex AlgEx]''' – This plugin helps you to process algebraic expressions passed as strings.
 
* '''[https://github.com/silvioprog/captcha Captcha]''' – This plugin provides the handling of verification images, usually to block ''bot'' access on login pages.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/mgeoip MGeoIP]''' – This plugin allows you to identify the name of the country or city where IPs reside.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/convutils ConvUtils]''' – This plugin allows conversion between units of measurement (centimeters, inches, liters etc.)
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/htmldoc HtmlDoc]''' – Whith this plugin you can write headers, body and other relevant tags using Object Pascal.
 
* '''[https://github.com/silvioprog/brookframework/tree/v4.0.0/plugins/ljgridutils LJGridUtils]''' – This plugin offers easy conversion from LCL to JSON and vice versa.
 
* '''[https://github.com/Al-Muhandis/brook-telegram Brook-Telegram]''' – This plugin helps you to implement telegram interface for brook application via a bot.
 
  
= Homepage =
+
[[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.
  
Get started, documentation, license, download and others details here [https://github.com/silvioprog/brookframework 5.0] and [https://github.com/silvioprog/brookframework/tree/v4.0.0 4.0].
+
= Alternatives =
  
[[Category:Networking]]
+
* [https://github.com/synopse/mORMot mORMot] - Synopse mORMot ORM/SOA/MVC framework.
[[Category:FPC]]
+
* [https://github.com/motaz/freespider FreeSpider] - Web development package for Free Pascal/Lazarus.
[[Category:Lazarus]]
+
* [http://wiki.freepascal.org/fcl-web FCL-Web] Built-in Free Pascal web library.
 +
* [https://fanoframework.github.io Fano Framework] Web application framework for modern Pascal programming language.

Latest revision as of 08:42, 18 January 2022

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

About

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

Features

  • 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.

Plugins

  • 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.

Homepage

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.

Alternatives

  • 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.