News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

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



Logan Buesching's Blog:
Zend_Pdf_Cell
December 05, 2007 @ 12:58:00

Logan Buesching has submitted a post about an extension he's created for the Zend_Pdf component of the Zend Framework to add one key feature - positioning.

Needless to say, I was quite disappointed when I came to find out that Zend_Pdf doesn't currently have any type of text layout support except for the exact position to place it. I created a small extension to Zend_Pdf, and building off of an idea from FPDF, I created Zend_Pdf_Cell.

His code is not officially included into the Framework, but has been posted for anyone to use if they might need it. It includes features like: the ability to create a cell and put text inside, position a cell, specify the height/width and format it with different fonts.

He also includes installation instructions (copy the file over, basically) and usage examples to get you started.

0 comments voice your opinion now!
zendpdf zendframework positioning formatting zendpdfcell zendpdf zendframework positioning formatting zendpdfcell


Zend Developer Zone:
Zend_Pdf Tutorial
September 10, 2007 @ 07:58:00

The Zend Developer Zone has posted a new tutorial from Alexander Veremyev as an introduction to the Zend_Pdf component for the Zend Framework.

The Zend_Pdf component of the Zend Framework is intended to allow you to create or manipulate PDF documents from within your applications. [...] In this tutorial my goal is to give you an overview of the capabilities of Zend_Pdf.

Alexander shows the process from start to finish - loading the module, creating a new document, working with text, creating images and shapes, styling, rotation and cropping.

1 comment voice your opinion now!
zendpdf zendframework tutorial pdf document zendpdf zendframework tutorial pdf document



Community Events









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


job package PEAR developer database framework conference zendframework releases cakephp book zend application PHP5 example mysql ajax release security code

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