Use readable code with the Fluent API

Fluent API is a way of implementing object oriented API in a way that it provides readable code. A fluent interface is normally implemented by using method chaining to relay the instruction context of a subsequent call (Wikipedia:Fluent Interface Design). Each line of code does a task oriented operation.

The Fluent API is built on top of the standard API. It is another layer, which can be described as a wrapper of the all manager classes that a developer would usually use in order to create content, pages, classification units or users. Its main purpose is to simplify the development.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?