Archive for the ‘PHP’ Category

Using symfony sfForms in a Zend Application

By marc • Jun 5th, 2010

Recently I have been experimenting with the Zend Framework to look into it’s potential to be used in my future applications. Having been a symfony junkie for the last couple of years I was reluctant to try and use it, but I see that it has come a long way since last using it. I’m […]



Wishing that PHP had something like JAXB

By marc • May 9th, 2010

Lately I have been doing alot of Java development especially in regards to web service development and consumption. One of the tools that I have relied on heavily is the JAXB project to consume and create XML feeds. This has been a godsend and made my life easy when parsing and creating XML. By just […]



PHP SoapClient and Polymorphic Service Objects

By marc • Apr 2nd, 2010

There may be a time when you need to deal with passing polymorphic objects back and forth between PHP’s SoapClient and a SOAP web service. Things are nice and easy (work as expected) when you are retrieving these objects from a service. But, when it comes time to pass these objects back…well…it’s not as simple […]



Get PHP SoapClient to speak with Java’s JAX-WS

By marc • Mar 29th, 2010

When delving into the magical world of trying to get a PHP SoapClient to consume a Java JAX-WS web service, there may be a few unexpected surprises that pop up. If you have been using SoapClient to communicate with other PHP SoapServer service, things are pretty straightforward. However, things get slightly more complicated when trying […]



Writing Custom PHP Extensions to Speed Up Applications

By marc • Jan 9th, 2010

Sometimes you may come across a situation where a core piece of your PHP is doing some sort of intensive algorithm or something else which is just taking way to long.
Recently I had this problem with an application which I was developing. Essentially I was redesigning an existing application that needed to be able to […]



Get a PHP Script’s Own Linux PID (Process Id)

By marc • May 14th, 2008

Previously, I wrote this article on how to check the status of a known system PID from PHP. I figured that I would follow it up with another short article on how to determine the process id of a running PHP script from within itself. Many google searches seem to have led people to the […]



Check if Linux Process is Still Alive from PHP

By marc • Apr 28th, 2008

At some point you may need to figure out if a system process is still running from within a PHP application. The secret is by running a system command from PHP that returns the information for a specific process id (PID).
The normal shell command would be something like this:

 

$ ps 4946

Which would return something like […]



Why I use the symfony Framework

By marc • Apr 17th, 2008

About two years ago I was looking through the various web development job listings and started noticing this thing called Ruby on Rails in the requirements of various job descriptions. Upon further research I discovered that it was this wonderful godsend thing called a Web Development Framework. Before that point in my years of web […]