Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Service_LiveDocx Component Proposal

Proposed Component Name Zend_Service_LiveDocx
Developer Notes
Proposers Jonathan Maron
Zend Liaison ...
Revision 1.0.2 - February 04, 2009: Updated proposal.
1.0.1 - February 02, 2009: Split into multiple components: Tis_Service_LiveDocx, Tis_Service_LiveDocx_MailMerge, Tis_Service_LiveDocx_Convert and Tis_Service_LiveDocx_Exception
1.0 - January 29, 2009: Initial Draft. (wiki revision: 17)

Table of Contents

1. Overview

Zend_Pdf is a great component to generate PDF files with ZF. If you want to populate PDF templates with text, however, it can be very time consuming to get the positioning of the text fields just right. After having developed several ZF applications in which text had to be inserted into PDF templates, I knew there must be a better way and went about developing one.

The result is a family of components called Zend_Service_LiveDocx_*:

Zend_Service_LiveDocx_MailMerge allows developers to generate documents by combining structured data from PHP with a template, created in a word processor. The resulting document can be saved as a PDF, DOCX, DOC or RTF file. The concept is the same as with mail-merge.

Zend_Service_LiveDocx_Convert allows developers to convert word processing files from one format to another. For example, with one single line, you can convert a DOCX file to a DOC file; or a DOC to PDF. In fact, it possible to convert between any two supported formats.

The Zend_Service_LiveDocx_* components are an implementation of the LiveDocx web services.

Learn more here:

Getting started guide:

Download classes and sample applications:

Detailed article on why Zend_Service_LiveDocx is needed:

Basic example:

Advanced example:

Contact the author:

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

4. Dependencies on Other Framework Components

  • Zend_Service_LiveDocx
  • Zend_Service_LiveDocx_MailMerge
  • Zend_Service_LiveDocx_Convert
  • Zend_Service_LiveDocx_Exception
  • Zend_Pdf
  • Zend_Soap_Client

5. Theory of Operation

The Zend_Service_LiveDocx_* components are an implementation of the LiveDocx web services.

6. Milestones / Tasks

  • Publish article on why Zend_Service_LiveDocx_* is needed (outline problems with current solutions)
  • Publish proposal
  • Publish PHP implementation
  • Publish documentation
  • Publish sample applications
  • Publish unit tests
  • Commit to incubator
  • Commit to core

7. Class Index

  • Zend_Service_LiveDocx
  • Zend_Service_LiveDocx_MailMerge
  • Zend_Service_LiveDocx_Convert
  • Zend_Service_LiveDocx_Exception

8. Use Cases

9. Class Skeletons

Please download the current implementation from

Note: In the above download files, Zend_Service_LiveDocx_* are called Tis_Service_LiveDocx_*. As soon as this proposal has been approved, the classes will be renamed to reflect the ZF coding guidelines.



Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.