News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Maarten Balliauw's Blog:
Reuse Excel business logic with PHPExcel
May 06, 2008 @ 07:51:38

Maarten Balliauw has made a new blog post today about a method he's using to help reuse some of the business logic that Excel spreadsheets can have in a PHP script with help from PHPExcel.

In many companies, business logic resides in Excel. This business logic is sometimes created by business analysts and sometimes by business users who want to automate parts of their everyday job using Excel. [...] Did you know you can use PHPExcel to take advantage of the Excel-based business logic without having to worry about duplicate business logic?

He creates a quick example of a script that can take in an Excal file and pull it into a PHPExcel object, ready for manipulation. He fills in values for the already defined fields (like "carColor" or "leatherSeats") and uses the getCalculatedValue method to perform the action on the cell. The output is dropped into a variable that can be echoed out or used later on in the PHP script.

0 comments voice your opinion now!
phpexcel excel business logic reuse tutorial example



Similar Posts

Zend Developer Zone: Data Migration and Import Examples

DevShed: Generating View from MySQL to Simulate the Model-View-Controller Schema in PHP

WebCheatSheet.com: PHP: Dynamic Image Generation

Evolt.org: AJAX Login System using XMLHttpRequest

PHP-GTK Community Site: GtkProgressBar and GtkFileSelection


Community Events











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


book security database zendframework cakephp example framework job package PHP5 zend application ajax releases PEAR mysql conference release developer code

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