Jump to content
mjustin

Daraja HTTP Framework 3.0 released

Recommended Posts

Daraja is a compact and flexible HTTP server application framework for Object Pascal, based on the HTTP server included in Internet Direct (Indy). The framework uses URL patterns to match requests to your resource handler code, and optional request filtering for pre- and post-processing. It enables developers to create well-structured HTTP server applications, written with 100% open source code. Daraja HTTP Framework is dual licensed under the GNU Affero General Public License and a commercial license.

 

More information
- GitHub: https://github.com/michaelJustin/daraja-framework
- API documentation: http://michaeljustin.github.io/daraja-framework/
- Features and FAQ: https://www.habarisoft.com/daraja_framework.html

  • Like 1

Share this post


Link to post

The 3.0 Version contains some API improvements, all changes are listed here: https://github.com/michaelJustin/daraja-framework/milestone/9?closed=1

Noteworthy are

* a simplified, parameterless Init method for WebComponents (and WebFilters).

* methods which register WebComponents (and WebFilters). return an object which can be used for further configuration.

* overloaded registration methods: instead of  Context.AddWebComponent(...) and Context.AddWebFilter(...), Context.Add(...) can be used.

The unit tests, code examples and API docs have been updated accordingly.

 

 

Edited by mjustin
  • Thanks 1

Share this post


Link to post

The "Getting started" doc on the webpage shows good examples, but you are right! Seeing some code at the first view is maybe better.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×