Kevin and I are about ready to introduce the comprehensive Zend_Pdf updates I described last week for community review and early testing. I am working on shoring up the documentation now and could use some feedback:

  In what ways are you are currently using Zend_Pdf?

I don't necessarily need detailed descriptions--though that would be great--something like "we open pre-printed forms and draw text on top of them" would be sufficient.

The reason I'm asking is, as I mentioned last week, this update breaks backwards-compatibility. There's no real loss of functionality, it's just that the API has evolved. For example, to draw a filled rectangle on a page:

// current Zend_Pdf
$page->drawRectangle($x, $y, ($x + $width), ($y + $height), Zend_Pdf_Page::SHAPE_DRAW_FILL);

// new Zend_Pdf
Zend_Pdf_Path::fillRect($page, new Zend_Pdf_Rect($x, $y, $width, $height));

I'm working on a migration guide, and in addition to listing out each "this API call changed to that API call," I'd like to supplement it with some examples based on real-world use cases. These examples would also evolve into a full-fledged tutorial which will be included in the framework Reference Guide.

Also, if you're not currently using Zend_Pdf, but you would use it if it did "feature X," please share that too. Hopefully the feature you are waiting for will be included in this update, and I'll be sure to include an example for it as well.

Thanks!

--

Willie Alberty
Spenlen Media
[EMAIL PROTECTED]

http://spenlen.com/

Reply via email to