Zend Server User Guide > Tasks > Working with Libraries > Library Package > Understanding the Pacakge Structure

Understanding the Package Structure

This topic will help you understand the structure of the .zpk package which contains the data, scripts, and an XML descriptor file for your library.

Package Structure

The .zpk package contains the following components:

Data

Your library (all the source code files of your library).

Descriptor File (deployment.xml)

This XML file, which is defined by an XSD file, describes all necessary information in order to deploy your library using Zend Server’s deployment feature, and contains:

For an example of the descriptor template see The XML Descriptor File.

Scripts

Zend Server Deployment allows you to insert scripts during the staging process of the library deployment:

See Preparing the Package Using the Deployment Tool to learn how to build your library package.

Hook Script Examples

The following is a list of examples for operations that may be defined in each hook script:

 

Read Also

  Libraries    
  Working with Libraries    
  Zend Deployment    
  Preparing the Package Using the Deployment Tool