Pragma Guides

From beginner to advanced, we have prepared a set of guides for any skill level that will allow you to understand Pragma and its rich ecosystem. By using real-world problems and solutions, these guides will get you up to speed in no time.

Your first Pragma API

This guide will show you how to build your first Pragma application, from start to finish. It will explain the basics of operations, policies, contracts and decorators. At the end of the guide, you will have a complete understanding of the fundamentals of Pragma and you will be able to build your own RESTful APIs.

Read the guide

Testing Pragma

This guide will show you how test each component of your APIs: operations, contracts, policies and decorators. It will also walk you through the implementation of a complete end-to-end functional test for your API that leverages all of the components together. At the end, you'll be a Pragma testing master!

Coming soon!

Advanced Pragma patterns

More often that not, our APIs are not just datastores and we need a bit more than CRUD. This guide will show you some common patterns for implementing certain business flows. At the end of the guide, you will know how to validate certain conditions, how to execute operation callbacks conditionally and much more.

Read the guide

Documenting Pragma APIs

This guide will show you how to use Pragma::Migration to implement efficient API versioning. You will learn how to keep a changelog, how to track (breaking) changes and how to keep multiple API versions without having to maintain completely separate codebases.

Coming soon!

Microservices with Pragma

Pragma is not only great for client-facing APIs, but also for building service-oriented architectures. By leveraging Pragma and Pragma::Client, this guide will show you how you can build and use microservices. At the end of the guide, you will be able to build, implement and test your own services.

Coming soon!

Efficient API versioning

This guide will show you how to use Pragma::Migration to implement efficient API versioning. You will learn how to keep a changelog, how to track (breaking) changes and how to keep multiple API versions without having to maintain completely separate codebases.

Coming soon!