Habari Web Components

Web Application Framework for Delphi and Free Pascal

Current Release

Version 2.3 (demo) »

Released 2013-04-16. Support for exception stack traces, NCSA logging.

Try it on-line

On-line demo »

The on-line demo is based on the Kitchensink-Linux demo application, compiled with Free Pascal

Read more

Getting Started »

Demo documentation, full release notes.

Download

Registered Version »

Secure customer download area for product releases and snapshots.

Habari Web Components is a web application framework for small to medium size HTTP services, based on the popular open source TCP/IP library for Delphi and Free Pascal, Internet Direct (Indy).

To see it in action, check the on-line demo, download the archive with off-line demos, or install the demo client app for Android.

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

I was seriously contemplating going for IntraWeb and over the weekend, I was looking at the pros and cons with the two frameworks. In the end, Habari won out.

E. L., Singapore

I'm really enjoying learning the components and what they can do.

U. I., Australia
  • Use it with jQuery Mobile to to build apps for mobile devices. A demo application (Flightplan) is included with source code.

  • Habari Web Components with jQuery mobile

    (click to enlarge)

  • Use it to provide web services which can consumed by mobile devices. A small demo application for Android is available on Google play.

  • Habari Web Components Android app

    (click to enlarge)

Features

Based on Indy
Internet Direct (Indy) provides advanced features such as resource caching and MIME type detection. Current versions of Indy components do not have to be installed in the IDE, only the Indy library or source paths are required.
No RAD
The light-weight architecture of the Habari Web Components framework is designed to work without forms, datamodules, or TComponent-based classes. With a few lines of code a HTTP server can be added to a console program, a services, or a GUI application.
Stateless
Web components are stateless, so one instance handles all requests. State information can be stored in HTTP sessions. The framework uses Indy for HTTP session management. Web applications can enable sessions for all requests, or use on-demand creation of sessions to save server resources.
Authentication
Web applications can use HTTP Basic Auth and Form based authentification to protect specific resources.
Contexts
Different web appplications can be run in the same server program, using different 'context' names, which is the first part of a resource path (such as http://example.com/contextname/resourcename).
Caching
The HTTP connector uses the Indy SmartFileServe function to automatically reduce bandwith usage by responding with a 'HTTP 304 not modified' code for unmodified static resources.
IPv6
The HTTP connector uses a IPv6 binding if the host name contains a colon (like "::1" for localhost).
Multiport
The framework can run HTTP connectors on different ports and bind contexts to a connector, making resources only accessible over their assigned port. This can be used to run admin web interfaces on a second port, which can be protected by a firewall.
Mapping
Web Components only accept requests for paths which have been configured using absolute path, prefix or suffix mappings. For example, one web component can be configured to handle requests for dynamic creation of *.gif and *.png, while a second web component handles dynamic creation of *.pdf requests.
Multithreading
Habari Web Components are multi-threaded by design. The framework allocates a thread for each new request for a single Web Component without any special programming.

Quick Facts / Technical Information

Compiler
  • Delphi 2009 (Update 4) or newer
  • Free Pascal 2.6.0 and newer
Indy The library requires Internet Direct (Indy) 10.5.9
Logging The library supports the Log4D open source logging framework (licensed under Mozilla Public License (MPL) 1.1).

Buy Licenses for Habari Web Components

Product Buy online

Habari Web Components - Single Developer License

With one year free minor and major updates
Full source code
60 days money back guarantee

60days.png

79 €

Use coupon code
web40 for a discount

Additional software assurance

Two years free minor and major updates
Order with the Single Developer License to receive a discount

49 €