Wednesday, August 22, 2007

Use-cases for PHP and Pdf needed

Zend Framework features a really cool component called Zend_Pdf; its development is led by Alexander Veremyev.
We are currently trying to better understand the use-cases around how PHP developers are using Pdf files on the Web in order to figure out what the requirements are for future enhancements to our Pdf component.

Are you reading pre-formatted templates for invoices and just filling them in? Are you password protecting files depending on who downloads them?

Also, if there are just some discrete features you'd like to see please let us know too.

Please send feedback to the fw-formats mailing list. Even if you're currently not using Zend Framework we'd be very interested to hear about your use-cases. Thanks!

13 comments:

Regin said...

Invoice templates and print material - once I worked in a company that needed thousands of database dependent labels printed out each and everyday.

snl said...

I use Zend_Pdf to generate shipping manifests for outgoing shipments from our bookstore. It's a pretty simple setup: Zend_PDF fills out the order data on an existing PDF template.

The most conspicious missing feature is lack of support for non-western languages (we do a lot of business with Japan). Instead of reverting to FPDF -- which does support Japanese -- , I opted for a hack by generating the Japanese text as image and inserting that into the document.

For barcodes, I use a similar method, meaning I generate the barcode as an image and throw that into the document.

Basic text formatting would be a nice addition. For instance, if I could define a fixed-width box and "paste" text into it with whatever alignment I want.

tmferreira said...

Please, this comment don´t need to be posted.
------------------
Hi, Mr. Gutmans.

My name is Thiago and I´m Administrator of the biggest forum (http://forum.imasters.com.br) from Brazil, about web technology, and
I have a personal blog (http://www.tmferreira.com.br/blog/). .
Our Portal (http://www.imasters.com.br) is the biggest too.

I would like to invite you for an interview about PHP and its innovations. This interview has about 15 questions.

Your interview is very important to us and Brazilian PHP community!

I hope you accept our invite.

Thanks a lot.

Thiago Ferreira.

tmferreira said...

My e-mail is tmferreira@bol.com.br

Goran Dodig said...

I use it for generating PDF catalog of around 10.000 products complete with their pictures. It's generated weekly as the prices change.

Goran Dodig said...

Oh, yes, what would I like to see as new feature...
Some way of inserting page content in such a way that it would automatically get spread across multiple pages, with headers, footers, boarders and such without the need to calculate it all by hand.
Best regards,

Goran Dodig

Anonymous said...

Im sorry Mr. Gutmans this is OT cuz I cannot find the topic if there is about AJAX in ZF, but if you dont mind me asking, will there be a support in ZF for AJAX/JS thing like there in RoR? Thanks and more power to PHP and ZF!

Alderete said...

I have two use cases. One is a form that needs to be printable, filled in with applicant's information. Pre-existing template, merging in the data.

Second use case is almost the opposite: I have a PDF file (uploaded by users), and I want to create a thumbnail graphic for display on a web site, e.g., in GIF or PNG format.

Right now there doesn't seem to be any good way to take a PDF and render it into a thumbnail image (of the first page of the PDF), in the Zend Components or with any other PDF or graphics tool.

drcetinerdotorg said...

Good works..
Thanks for all
drcetinerdotorg

phprtf.com said...

Sometimes it's need to create not only printable but also editable files, what user can edit. Then Pdf is not right choise, it's better generate Rtf files, editable in MS Word or Open Officce writer. For what tool from www.phprtf.com could be used.

phprtf.com said...

Sorry, the right link should be
www.phprtf.com

wow gold said...

If wow goldfocal point of wow gold our new buy wow goldOpen RvR buy wow goldInfluence system cheap wow gold is mortal combat cheap wow goldbetween players of wow power levelingenemy realms. wow power levelingIn order power leveling to ensure that power leveling Keeps, and Fortresses. wow gold buy wow gold cheap wow gold

Reynold Hugh said...

Little but Informative!
Template Magician