Create a Web Service using SOAP

This week one of the requirements for our client was to have a force.com application communicate with an external web service running on PHP to generate a barcode sequence. I’ll teach how I was able to setup the web service using NuSOAP and a document/literal as rcp/encoded is not supported by force.com. My goal was to make the task easier on php side so from force.com it would make a request by passing a string delimited by an asterisk and pipe. We process the string and return it back as url for the barcode image. I wont be covering barcode creation though in this tutorial but only the web service and sample client.
Read the rest of this entry »

How to Setup PHP, MySQL and phpMyAdmin on Mac OS X Snow Leopard

My previous working setup was on WAMP( Windows, Apache, MySQL and PHP). On Windows I used a bundled app WampServer that did the job, just install the executable and your all set.

On Mac it kinda needs a bit of work but basically you have to configure PHP, download-install MySQL and phpMyAdmin.
Read the rest of this entry »

PHP Certified Developers

I’ve been preparing for the past few months to take the Zend certification for PHP. However I’ve been busy as well with client projects but I plan to take it this year. Here is an interesting chart on the growth of PHP Certified Developers through the years. The growth of PHP developers have been phenomenal due to developing applications on open source environment LAMP(Linux, Apache, MySQL and PHP) has always been cheaper alternative, but with the numbers of PHP developers growing there has not been a significant growth for those getting themselves PHP certified.

Here is a slide chart courtesy from a research made by Prof. Mauricio Garcia F. Nascimento from Sao Paulo

certified-php-experts

With the U.S. leading with 1,047 PHP Certified Developers based on 2009.

And from 2004-2008 only 15 are PHP Certified from the Philippines. I want to belong in that company soon this year. So back to studying again.

All in One Package

I didn’t like using All in One Package during the my early years of learning how to install Apache, PHP and MySQL in my Windows box – there were programs like PHPTriad and similar which offers these three in one convenient installation without getting your hands dirty so to speak on the configuration. From my experience you should start with the manual installation to know the ins and out. That was what I was doing for the years, when a new version comes out I apply the upgrade to my system.

Earlier this month I got this client who uses WAMP 2.0 setup for the system we were developing.  Somehow I wasted several hours trying to make it run on my system. Was getting close but somehow if some changes were done to the system codes I feel it would break again. So I decided to try using WAMP 2.0 and it turns out its not that bad afterall. It has a UI for disabling/enabling extensions and modules, you can still go into the php.ini, my.ini, httpd.conf if you decide to edit manually from a shortcut all in one convenient place in your systray.

image_menu_wamp

It made my work faster, overall if you are using the manual way and move to an all in one package like WAMP 2.0 you would benefit both time and organization. I’m now a believer.

Zend Certified

I have made a goal for myself to become Zend Certified, I’ve been prepping up studying to get ready for the test hopefully by October, 3 months to go. From starting out ages ago as graphics designer to becoming a full pledge web developer. Just having your name listed on Zend Yellow Pages would definitely be an achievement. Kudos to the guys who already made it.

Read the rest of this entry »