Publishing Engine Programmer's Guide > PTC Arbortext Publishing > The Publishing Framework
  
The Publishing Framework
The publishing framework (sometimes also known as the composition framework) is the layer of ACL code that surrounds the content pipelines and content compilers. The publishing framework is responsible for:
receiving control from Arbortext Editor or from custom ACL code in an application
prompting for or gathering publishing parameters
creating the content pipeline
setting up the parameter array for the content pipeline
running the content pipeline
running content compiler(s)
cleaning up afterwards (closing documents, deleting temporary files, and so on)
launching a viewer for the output if needed
detecting and reporting errors at each stage of processing
calling customer-provided code at each state of processing.
The publishing framework is divided into two layers of code. The outer layer contains code and information specific to producing particular kinds of output (such as PDF, HTML, PostScript, and so on). It’s explained in the next section.
The inner layer of the publishing framework is operation-independent, and it's explained in The Inner Layer of the Publishing Framework.