News Feed
Jobs Feed
Sections




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

Jani Hartikainen's Blog:
Making a PDF generator class using Zend_Pdf
October 06, 2008 @ 08:44:32

Using the Zend_Pdf component of the Zend Framework Jani Hartikainen has created a simple way to make a PDF generator class that uses templates and content arrays/XML to create the new files.

There are some expensive libraries that you can use to generate PDF files...but why bother with them, when there are good free alternatives like Zend_Pdf? [...] Since this is a quite repetitive task, let's also create a PDF generator class to help us. In case you don't have Zend_Pdf, just download Zend Framework to get it.

He shows how to set it up to work with basic PHP arrays to pull the content from as well as an XML structure with the same sort of information. You can download his class here.

0 comments voice your opinion now!
zendpdf zendframework pdf generate tutorial download


blog comments powered by Disqus

Similar Posts

DevShed: Developing an Extensible TCP Server with Sockets in PHP

Padraic Brady's Blog: New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)

TheTechLabs.com: Integrate Flex Builder 3.0 & Php easily with the fresh ZendAMF

ProDevTips.com: File Uploads with PHP Doctrine

PHPBuilder.com: Top 10 phpMyAdmin Tips and Tricks You May Not Know


Community Events











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


install package application language database introduction security hack component overview release composer opinion unittest podcast hhvm performance symfony2 framework facebook

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