How Pega Fits Together
If you’re coming from a typical web stack, the first surprise is that there
is no local project to clone. You don’t run a scaffolding command, there’s
no dev server on localhost, and there’s no folder of source files to open
in an editor — Pega applications are built almost entirely inside Designer
Studio, a web application that runs against a live Pega Infinity server. The
“repository” is the platform’s own database, and the “build” is you clicking
through rule forms in a browser.
Two studios sit inside that one browser app. App Studio is where most day-to-day design happens: case types, the stages and steps they move through, the fields a form shows. It deliberately hides the underlying structure. Dev Studio is where that structure — every rule, every class, every ruleset — is fully visible and directly editable; it’s what an application architect uses to lay the foundation App Studio later builds on top of.
Everything you create is a rule, and every rule lives in exactly one ruleset (the thing you package and migrate between environments) and applies to exactly one class (what kind of object the rule is even relevant to — an order, a customer, a case). A case type is really just a special class whose rules — its stages, processes, and steps — describe a unit of work from start to finish, and which App Studio lets you assemble visually instead of writing by hand.
The rest of this page is organized in roughly the order you’d meet these pieces building a first app: Rulesets & Classes and Rule Types cover the building blocks; Case Management covers assembling them into a unit of work; App Studio, Dev Studio, and Admin Studio cover where you go to do each kind of work; Constellation covers the newer UI layer cases are presented through. The Starter Templates in this category give you a shape to sketch out before you go build the real thing in Designer Studio.
The big picture before the details: where Pega development actually happens, and how rulesets, classes, and case types relate.
- Designer Studio
- Pega's own browser-based IDE — App Studio and Dev Studio are two views into it, not separate installs
- Ruleset
- The unit of packaging every rule belongs to — like a versioned package, not a folder of files
- Class
- What a rule applies to — a rule's class decides which case types and other rules can even see it
- Case type
- The definition of a unit of work, built from stages and processes rather than hand-written code