News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPFreaks.com:
Template based document generation using LiveDocx and Zend Framework
November 06, 2009 @ 12:56:32

On PHPFreaks.com there's a new tutorial posted today looking at combining the Zend Framework with the LiveDocx libraries to create PDF/DOCX/DOC/RTF documents based on simple templates.

Generating print-ready well-formatted PDF documents with PHP is not an easy task. Traditionally, there are two main approaches to PDF generation with PHP. Given sufficient time and patience, both partially get the job done, but still leave a lot to be desired. [...] In this article, the author presents an entirely new, third approach. It relies on templates being created in a WYSIWYG environment, such as Microsoft Word or Open Office, and then being populated with data in PHP. The resulting document can be saved not only to PDF, but also DOCX, DOC and RTF.

They include both an overview of the LiveDocx tool and some code samples to use a template made in Microsoft Word to generate a PDF file with dynamic values. They also include a bit about how to create dynamic images.

0 comments voice your opinion now!
livedocx zendframework tutorial


blog comments powered by Disqus

Similar Posts

Label Media Blog: Installing Sphinx and PECL/Sphinx on Mac OS X

NETTUTS.com: How to Read an RSS Feed with PHP - Screencast

DevShed: Lazy and Eager Loading in PHP 5

Lorna Mitchell's Blog: Google Analytics Accounts API

PHPBuilder.com: Cross-Platform Database PHP Development


Community Events

Don't see your event here?
Let us know!


threedevsandamaybe laravel5 introduction api community voicesoftheelephpant wordpress unittest library release interview extension laravel language series feature development opinion podcast framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework