I'm writing a web-based app from scratch, tha开发者_开发知识库t needs PDF generation capabilities. All other things being equal, does either .NET or PHP better lend themselves to that task?
Thanks-
I think it will depend more on what library you want to use to do the actual PDF generation, since everything else is the same.
- iTextSharp is a great .Net generation library for PDF files and it is free.
- The Zend PHP PDF framework is another free library that gets a lot of good reviews.
Since the PDF file is your focus, find the library that has the features you need and you feel most comfortable with, and work from there.
I found fpdf to be a simple and roboust library for creating PDFs with PHP.
PHP.net has some fairly good explanations on how to generate PDF's, I have not used it myself though. http://www.php.net/manual/en/book.pdf.php
精彩评论