Common output strategies

Template files receive content and how they deliver it to the user is what we call the output strategy. There are a few different options and this section covers each in detail.

  • Direct output

    You already know direct output because it simply means printing output directly, as you might do in any other PHP script.
  • Delayed output

    Delayed output focuses on rendering the content/markup for all the various regions of our final document ahead of time, but delaying that output until everything is ready.
  • Markup regions

    Markup regions give you the best of both worlds—the simplicity of direct output with the power of delayed output, just using HTML.

Latest news

  • ProcessWire Weekly #521
    In the 521st issue of ProcessWire Weekly we'll check out the latest weekly update from Ryan, introduce a new third party module called FormBuilderHTMX, and more. Read on!
    Weekly.pw / 5 May 2024
  • ProFields Table Field with Actions support
    This week we have some updates for the ProFields table field (FieldtypeTable). These updates are primarily focused on adding new tools for the editor to facilitate input and management of content in a table field.
    Blog / 12 April 2024
  • Subscribe to weekly ProcessWire news

“We were really happy to build our new portfolio website on ProcessWire! We wanted something that gave us plenty of control on the back-end, without any bloat on the front end - just a nice, easy to access API for all our content that left us free to design and build however we liked.” —Castus, web design agency in Sheffield, UK