-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
Categories
Tags
ajax apache api bandwidth bash browsers bug config custom fields data validation Developing with Netsuite Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks network override PHP PHP Framework php toolkit plugin routing sample code script search security Symfony task Ubuntu web browsers xml YML
Category Archives: PHP
PHP whitespace issues when exporting to csv files
Exporting data to a simple CSV file has provided me an array of problems. The problem: In every exported .csv file the first row of the document was blank and then the data started in the second row. The methods … Continue reading
Posted in PHP
2 Comments
Netbeans PHPUnit Code Completion
By default, Netbeans dosen’t do code completion for PHPUnit classes even though it includes support for PHPUnit. Thankfully, adding in the code completion support is very easy. Simply go to Tools>Options>PHP>General and then click “Add Folder” under the Global Include … Continue reading
PHPUnit require_once(PHP/CodeCoverage… Error on Ubuntu
When trying to install PHPUnit on Ubuntu 11.10, I received the following error: PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38 PHP Fatal error: require_once(): Failed opening required ‘PHP/CodeCoverage/Filter.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in … Continue reading
Changing Symfony Routing Requirements
One of my favorite features of Symfony is the routing sub-system. It allows for very flexible routing rules. On a project I have been working on, I have been tweaking the routing requirements in Symfony. One really nice feature is … Continue reading
Posted in 1.4, PHP, Symfony
Tagged factories.yml, PHP Framework, routing, routing.yml, sample code, Symfony, YML
Leave a comment
Retrieving and Displaying Netsuite Address Information
Adam Haeder requested to see some sample code for accessing address information via the Netsuite Webservices API. So here it is:
Posted in Netsuite PHPToolkit, PHP
Tagged api, backend, Developing with Netsuite, netsuite, PHP, php toolkit, sample code
1 Comment
PHP Output Buffering (with HTML)
Over the past year I have made heavy use of PHP output buffering. Although it serves no function purpose, it can make for much more readable code; I have found it particlarly useful for outputting HTML from methods. Consider the … Continue reading
Posted in Html, PHP, Uncategorized
Tagged html, netbeans, output buffering, PHP, sample code
Leave a comment
Symfony including extra libraries or classes
I had a need lately to include an external library of php classes in a Symfony project. On option was dumping them into the lib folder, but I didn’t want to do that. At first I tried placing a script … Continue reading
Doctrine Query Foreach Problem
The other day I was trying foreach loop through a Doctrine collection. I was getting confused, because my loop was never executing even though count() returned a positive value. It turns out that I had forgotten to run ->execute() on … Continue reading
Netsuite Webservices and Multiple Item Sales Orders
By request, here is a post on creating a sales order record with Netsuite PHPToolkit with more than one item: Its not all that intuitive, but that’s Netsuite Web-services for you…
Posted in Netsuite PHPToolkit, PHP
Tagged Developing with Netsuite, netsuite, PHP, php toolkit, sample code
3 Comments
Symfony Framework for PHP
Our Company has been in the process of evaluating the Symfony Framework for PHP. We have written several projects using the framework some small and some larger. In this post I intend to layout some of pluses and drawbacks of … Continue reading
