News Feed
Sections




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

Maarten Balliauw's Blog:
Saving a PHPExcel spreadsheet to Google Documents
February 03, 2009 @ 12:58:56

Maarten Balliauw has written up a guide to saving the output of your PHPExcel applications out to the Documents service that Google offers.

As you may know, PHPExcel is built using an extensible model, supporting different input and output formats. The PHPExcel core class library features a spreadsheet engine, which is supported by IReader and IWriter instances used for reading and writing a spreadsheet to/from a file. Currently, PHPExcel supports writers for Excel2007, Excel5 (Excel 97+), CSV, HTML and PDF. Wouldnt it be nice if we could use PHPExcel to store a spreadsheet on Google Documents? Let's combine some technologies.

The two technologies in question are a standard install of the PHPExcel library and the Zend Framework (with its Zend_Gdata component). Using the component, a save() method is created and hooked into the IWriter interface of PHPExcel. When this save method is called, the Zend_Gdata component connects to the Documents service and uploads the resulting information for the account you supply.

0 comments voice your opinion now!
tutorial save phpexcel extensible document google spreadsheet zendframework zendgdata


blog comments powered by Disqus

Similar Posts

DZone.com: Codeigniter and Object-Oriented PHP: Two Guides

Zend: Zend Framework Database Access Webinar (Oct 31st, 2007)

Andrew Podner: Lithium: Building Views Using Layouts

Lior Messinger's Blog: 5 Frameworks Every Software Architect Should Consider

NetTuts.com: Programming with Yii2: Getting Started


Community Events

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


opinion application introduction api framework composer language interview project part2 series yii2 symfony podcast php7 laravel example voicesoftheelephpant community list

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