News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pablo Viquez's Blog:
Export Excel Spreadsheets using Zend Framework
August 25, 2009 @ 07:57:30

New on his blog today Pablo Viquez has this post looking at code that will let your Zend Framework applications export to Microsoft Excel spreadsheets (via the Spreadsheet Excel Writer PEAR component).

Last week, I had to allow the user to export a given report into an MS Excel file format. The application uses Zend Framework 1.9.1 and so far ZF does not support for "Office" formats, so after searching for a nice implementation, I found a PEAR module called Spreadsheet Excel Writter, which looked pretty good, it had very good documentation and the code was clean and well structured so I wanted I give it a shot.

He lays out the structure of the sample application and, using a context switch on the request, he creates a controller that responds to the "/report" by calling a special model/view combination that uses the PEAR package to push out the custom "report.xls" file.

0 comments voice your opinion now!
zendframework pear excel spreadsheet


blog comments powered by Disqus

Similar Posts

Sander van de Graaf's Blog: Optimizing your (ZF) web application

Rob Allen's Blog: Zend_Filter_Input / Zend_Validate Messages

Raphael Stolt's Blog: Using the Zend Framework plugins for server-sided Ajax request identification

Internet.com: Storing Blobs in Microsoft Azure with the Zend Framework

Community News: Latest PEAR Releases for 04.30.2007


Community Events





Don't see your event here?
Let us know!


series list security version community laravel composer interview introduction artisanfiles framework language opinion voicesoftheelephpant release symfony podcast tool library conference

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework