JS: The Right WayRachel Andrew is not only Editor in Chief of Smashing Magazine, but also a web developer, writer and speaker. She is the author of a number of books, including … More about Rachel Andrew …. Earlier issues. Many web applications have the requirement of giving the user the ability to download something in PDF format. In the case of applications such as e-commerce stores , those PDFs have to be created using dynamic data, and be available immediately to the user.
The web is full of PDFs floating around out there. How many times have you tried to open a PDF file on a machine and not had the correct software installed? It can be very frustrating. For most users out there they already have the correct software installed to view PDFs , but as users move towards tablets or newer machines - they may not have it installed. Another issue is that often certain PDF readers and plugins don't support important PDF features - which is a bit of a problem if you want your website to be accessible to everyone out there and if you want all your users to have the same experience. The code is available for download on Github.