News Feed
Sections




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

PHPLiveDocX.org:
PDF Generation with Zend Framework
October 06, 2009 @ 10:41:23

On the PHPLiveDocX.org site today there's a new article showing how to generate PDF files with the help of the Zend Framework.

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: HTML-to-PDF and Programmatic (created via X and Y coordinates in a script).

As a third option, the article presents what could be a simpler method - creating templates in Microsoft Word and having PHP populate the data. How? With the help of their Zend_Service_LiveDocx_MailMerge component (still in incubation, coming to ZF 1.10). This allows you to assign values to placeholders in the document and push the result out to a file. Several different documentation templates and code samples are included in the post to get you started.

0 comments voice your opinion now!
phplivedocx pdf generate zendframework


blog comments powered by Disqus

Similar Posts

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 5

Chris Hartjes' Blog: Testing Web Services in Zend Framework 1.x

Padraic Brady's Blog: Zend Framework Book: Surviving The Deep End - Chapter 10 Released!

Rob Allen's Blog: Zend Framework in Action forum and errata

Chris Hartjes' Blog: Smarter DB Migrations using Zend Framework and Doctrine 1.2


Community Events





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


language code configure release application developer library community framework wordpress project laravel introduction podcast series list bugfix api interview threedevsandamaybe

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