What is Fluent Interface Design Pattern?

What is Fluent Interface Design Pattern?

HI Ian,

Design patterns are a way to deal with recurring problems in software design. A design pattern describes a common software development issue, and an existing solution to that issue, in a general enough way that the solution can be easily implemented in multiple situations.

Fluent Interface Design Pattern Solution is used when you want to create readable and easy-to-use API. It allows you to chain calls (or methods) together, which means that you can use less code because you don’t need to call each method separately. It’s widely used for example in jQuery library.

1 Like