[英]Platform for web-based PDF generation: PHP or .NET
I'm writing a web-based app from scratch, that needs PDF generation capabilities. 我正在从头开始编写基于Web的应用程序,需要PDF生成功能。 All other things being equal, does either .NET or PHP better lend themselves to that task?
在所有其他条件相同的情况下,.NET或PHP是否更好地适合于该任务?
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. 我认为这将更多地取决于您要使用哪个库来进行实际的PDF生成,因为其他所有内容都是相同的。
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. 由于PDF文件是您的工作重点,因此请找到具有所需功能且最自在的库,然后从那里开始工作。
我发现FPDF是与PHP创建PDF的简单和roboust库。
PHP.net has some fairly good explanations on how to generate PDF's, I have not used it myself though. PHP.net对如何生成PDF有一些相当不错的解释,尽管我自己没有使用过。 http://www.php.net/manual/en/book.pdf.php
http://www.php.net/manual/zh/book.pdf.php
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.