Author Archive

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 […]



Custom Tasks in Symfony 1.1

By marc • Jul 15th, 2008

Awhile ago I wrote a post on how to create custom tasks in symfony 1.0. A reader posted a question on how to do this in symfony 1.1. At first I figured out a solution of how to do it manually, but then I discovered this tutorial on the symfony cookbook section: http://www.symfony-project.org/cookbook/1_1/en/tasks which describes […]



PuTTY with Tabs (PuTTY Connection Manager)

By marc • May 23rd, 2008

Whenever I am using a Windows desktop and I need to connect to various servers via SSH, I use PuTTY. It’s lightweight and gets the job done without any problems. However, the one problem has always been that I may have 10 different instances open and it’s a pain in the ass to switch between […]



Store Symfony Sessions in Database with Propel

By marc • May 23rd, 2008

Previously, I wrote a post on how to store user sessions in a database using Doctrine. I figured that I would follow it up by writing this article to demonstrate how to do the same thing using Propel. The steps are pretty much similar, but with some slight variations.
Step1 - Create your sessions table

 

CREATE TABLE […]



You know your Website is soooo Web 1.0 When…

By marc • May 20th, 2008

We all have seen them…those websites that are still caught somewhere in the year 1999 - 2002. Here’s a checklist to make sure your site isn’t stuck in Web 1.0 world
1. Your website’s pages end in any of the following: .asp, .php3, .php4
2. You have a 30 second Flash Splash Page.
3. You have […]



Remove CVS or .svn Directories from the Linux Command Line

By marc • May 18th, 2008

So, you copied a bunch of directories from one source controlled project to another and you don’t want to go through and delete all those CVS or .svn directories by hand? Ok, no problem…
Below are two snippets that will show you how to recursively remove those directories from the Linux command line in one quick […]