Daraja Framework RESTful extension 2.4 released

Version 2.4 of the RESTful extension is compatible with the new 1.2 release of Daraja HTTP Framework. It uses the TdjRequest and TdjResponse types instead of TRequest and TResponse. It also uses const string parameters to reduce the overhead caused by refrence counting.

Continue reading

Advertisements

Daraja Framework 1.2 released

Habarisoft released Daraja Framework 1.2, with updated example projects, DUnit / FPCUnit test enhancements, updated documentation, core library performance fixes, and other changes. The Twitter Bootstrap demo project (screen shot below) uses a single code base for Delphi and Lazarus. Also available is a new release of the Daraja Framework RESTful extension.

bildschirmfoto-am-2017-01-27-um-19-23-13-fullpage

Daraja Framework unit test enhancements

The Daraja Framework unit tests (DUnit/FPCUnit based) are now more self-documenting. A new HTTPTestCase test base class provides methods CheckGETResponseEquals, CheckPOSTResponseEquals, CheckGETResponseContains, CheckGETResponse404, and others, which allow to write more concise unit test methods.
The changes are available in the master branch, a snapshot is available for download here.

Continue reading

Daraja Framework: commercial license

Daraja Framework is a HTTP service framework for Free Pascal and Delphi 2009 and newer.

Its source code is dual licensed under the GNU Affero General Public License Version 3 and a commercial license, which removes the requirements of the AGPL license. When the annual subscription is terminated, the license is still valid for unlimited time. Termination of the subscription only ends additional services such as the free (basic) support.

Continue reading

Daraja Framework RESTful extension 2.1 released

Daraja Framework is a free open source library for Object Pascal, based on the stand-alone HTTP server in Internet Direct (Indy).

In the past, the separate “experimental” RESTful extension library only compiled with Delphi, as it used anonymous methods.

With version 2.0 / 2.1, the RESTful extension library now also compiles with Free Pascal, where it uses procedural types instead of anonymous methods.

In projects which must be single-source for Delphi and Free Pascal, usage of procedural types can be enforced by defining the symbol DARAJA_RESTFUL_COMPATIBLE.

 

Continue reading

Daraja Framework 1.0 released

Daraja Framework is a new free open source library for Object Pascal (Free Pascal 2.6.4, Free Pascal 3.0, Delphi 2009+) available on GitHub. It is based on the stand-alone HTTP server in Internet Direct (Indy) and the successor to the Habari Web Components library by Habarisoft.

Continue reading