Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
DelphiNewsWebinar

Building Microservices with Boss and Horse

horse and boss 2

Here are the slides, links, and additional resources from Building Microservices with Boss and Horse. This session was a collaboration with Vinicius Sanchez of Hashload.

Hashload is an open-source community on GitHub founded by Brazilian developers that works with many programming languages (Delphi, Python, Go…);

hashload full text

Hashload Projects

  • Boss: Dependency Manager for Delphi applications
  • Horse: Fast, opinionated, minimalist web framework for Delphi
  • ORMBr: ORM (Object Relational Mapper) Framework for Delphi
  • Delphi-Docker: Visual tool integrated with the IDE to aid in the execution and creation of containers Docker
  • BCrypt: a password-hashing function
  • dataset-serialize: JSON to DataSet and DataSet to JSON converter
  • RESTRequest4Delphi: Delphi library to consume REST services written in any programming language
  • Ragna: a query builder for projects written in Delphi, compatible with FireDAC and UniDAC

Documentation

Replay coming!

Horse Middleware

Middleware adds additional features and functionality to Horse for specific use cases.

Official Horse Middleware

horse/jhonson jhonson: middleware for working with JSON Object and JSON Array;
horse/basic-auth basic-auth: middleware for working with basic authentication;
horse/cors cors: middleware for handling CORS;
horse/stream stream: middleware for working with Stream;
horse/jwt jwt: middleware to validate a JWT token with a secret key;
horse/exception exception: middleware for handling exceptions;
horse/logger logger: middleware to register log (console and file);
horse/compression compression: middleware for compressing content

Other 3rd Party Horse Middleware

bittencourtthulio/etag
bittencourtthulio/paginate
bittencourtthulio/cachecontrol
gabrielbaltazar/gbswagger
willhubner/socketIO
dliocode/ratelimit
dliocode/slowdown
giorgiobazzo/upload
dliocode/query
CarlosHe/healthcheck
CarlosHe/staticfiles
CachopaWeb/horse-server-static
arvanus/horse-exception-logger
claudneysessa/Horse-CSResponsePagination
claudneysessa/Horse-XSuperObjects
andre-djsystem/horse-bearer-auth
andre-djsystem/horse-manipulate-request
andre-djsystem/horse-manipulate-response
antoniojmsjr/Horse-IPGeoLocation
isaquepinheiro/horse-jsonbr
IagooCesaar/Horse-JsonInterceptor

More Horse Details

Methods

  • Get
  • Put
  • Patch
  • Head
  • Post
  • Delete

Request Props

  • Body
  • Session
  • Query
  • Params
  • Cookie
  • ContentFields
  • MethodType
  • Headers

Resp Methods

  • Status
  • Content
See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Director of Delphi Consulting for GDK Software USA. Many software related patents, including swipe and pattern unlock and search engines. First Silver and Gold Delphi badges on Stack Overflow Former Developer Advocate for Embarcadero Technologies. Long time fan of programming, especially with Delphi. Author, Podcaster/YouTuber, Improvisor, Public Speaker, Father, and Friend.

1 Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES