News Feed
Jobs Feed
Sections




News Archive
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

Robert Basic's Blog: A Zend_Captcha example

Ibuildings techPortal: Zend Studio formatted for Zend Framework and ATK

Zend Developer Zone: Zend Framework Gets An Unofficial PEAR Channel

Mike Wallner's Blog: Dropping server load with HTTP caching

PEAR Blog: Request for ideas: New developer FAQ


Community Events











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


podcast interview symfony2 functional usergroup series framework opinion unittest database development release introduction phpunit rest conference testing zendframework2 community language

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