Version 2 (modified by jhorwitz, 13 years ago)

--

Terminology

  • HLL: high level language (e.g. Rakudo Perl 6, PHP)
  • NCI: Parrot's native call interface, used to call C functions from Parrot
  • HLL layer: code that implements a particular HLL Apache module
  • Metahandler: code that implements a single Apache phase for a particular HLL
  • PMC: Parrot Magic Cookie
  • Context: a data structure containing information about the current connection

Design Goals

  • Provide an Parrot interface to the Apache API and data structures
  • HLL modules require no C code
  • Remain invisible to the end user

mod_parrot Module

Contexts

Interpreter Management

Apache Interface

NCI Functions

Parrot Objects

HLL Modules

Module Registration

Metahandlers

Multiprocessing Module Support

Prefork MPM

Threaded MPM (e.g. worker)