Habari Web Components is a Delphi 2009+/FPC 2.6+ web application framework for small to medium size HTTP services, built on top of the popular open source TCP/IP library Internet Direct (Indy) 10.6 (license information)

With this compact library, you can wire your individual method handlers to GET, POST, DELETE, PATCH, HEAD, TRACE and OPTIONS requests, map requests to your different custom web components easily, routed by absolute paths, path prefixes or suffixes, apply request delegation, serve static content, and more.

See it in action: try the on-line demo, or download the off-line demos.

Need more information? Browse the online API documentation, and the Getting Started document.

Changes in version 2.10
Indy 10.6.2
Tested with Internet Direct (Indy) version 10.6.2 r5268
Ticks64
The library uses IdGlobal.Ticks64 and GetTickDiff64
Deprecated methods
The core library uses IndyTextEncoding_UTF8 instead of deprecated IndyUTF8Encoding
On-line Demo
The on-line demo has been updated from Habari Web Components version 2.5 to 2.10
Demo
The "Kitchen Sink" demo component TFormPage no longer uses UTFDecode in its OnPost method
Minor changes
Minor code and documentation fixes.
Quick Facts
Lightweight
The light-weight architecture of the Habari Web Components framework makes it easy to use - without any package installation.
Stateless
Web components are stateless by default, but context-wide and dynamic on-demand creation of HTTP sessions are supported.
Mapping
Web Components can be mapped dynamically to URI patterns using absolute paths, or prefix/suffix mappings.
Contexts
Web Components can be organized in logically separated scopes on the same server, using context base paths.
HTTP 1.1 and Caching
The HTTP connector uses HTTP 1.1 keep-alive and Indy SmartFileServe to reduce network traffic.

Download Demo Download Demo

Current version:
2.10
Release date:
10 April 2015
Tested with:
Indy 10.6.2, Free Pascal 2.6.4
Release notes:
Use GetTickDiff64/Ticks64, minor fixes
Documentation:
Included - also available for download here

Registered version Registered Version »

Request account information

On-line documentation

Habari Web Components API documentation

Habari Web Components

Single Developer License

✓ Instant Electronic Delivery
✓ Full library source code included
✓ Free redistribution with your product when used in binary compiled applications
✓ Non-exclusive life-time license
✓ Updates included for one year
✓ 14 day money back guarantee

14days.png

Buy a license Buy a license »

Use Habari Web Components with jQuery Mobile to to build web apps for mobile devices. A demo application (Flightplan) is included with source code.

Please note: the Habari Web Components library does not contain specific support code for jQuery Mobile. The demo project source contains plain HTML code which uses jQuery Mobile CSS and JavaScript.

Habari Web Components with jQuery mobile

(click to enlarge)

DUnit tests for the Habari Web Components core library are included with full source code.

The library is DUnit tested with Delphi 2009 and verified for zero memory leaks.

Habari Web Components DUnit tests

(click to enlarge)

FPCUnit tests for the Habari Web Components core library are included with full source code.

The library is FPCUnit tested with Lazarus 1.2 and verified for zero memory leaks.

Habari Web Components FPCUnit tests

(click to enlarge)