News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Factoring Content Boxes with the Factory Pattern in PHP 5
July 09, 2007 @ 14:36:00

DevShed finishes off their look at using the Factory design pattern in a PHP5 application with this last part of the series - using the pattern in factoring content boxes on your site.

I'd like to put the tiny details of the factory pattern to the side (at least momentarily) and introduce the topics that I plan to cover in this final article of the series. In this last tutorial I'm going to teach you how to implement this useful pattern to build a bunch of highly-customizable content boxes, which can be quickly included into any web page.

Building on the foundation from previous parts of the series, they create the different boxes with different types (like GreyContentBox and BlueContentBox based on ContentBox) and displaying them to a page via calls to their Factory interfaces.

0 comments voice your opinion now!
factory designpattern content box php5 tutorial factory designpattern content box php5 tutorial


Edin Kadribasic's Blog:
PECL4WIN Build Box Dead
November 14, 2006 @ 16:38:00

Some unfortunate news from Edin Kadribasic to be felt particularly by the Windows PHP users out there - the box that hosts the PECL packages for Windows has suffered a bit from a power failure.

The power failures are very rare in Denmark, but nonetheless this one managed to take out the build box. The website itself is not affected, but there are no updates for the time being.

The PECL4WIN project hosts a repository of PECL extensions precompiled for the Windows platform. The packaging and distribution system used by PECL is shared with its sister, PEAR.

UPDATE (11.15.2006) - The box is back up and working at 100% again (faulty memory was to blame). A new build has already been created.

1 comment voice your opinion now!
pecl4win box machine power failure downtime update pecl4win box machine power failure downtime update


ThinkPHP Blog:
Real life SOAP - connecting your browser to a VoIP PBX
June 07, 2006 @ 05:53:55

Björn Schotte has a new post on the ThinkPHP blog today with details on a handy interface script, a port of this PhoneMonitor application, over to PHP5.

Here at Mayflower, we're using two Innovaphone IP800 gateways at each of our departments (Munich and Würzburg). They are connected to each other and replicate their data. Besides that, the Gateways do use LDAP for saving the contact data and provide a SOAP interface for connecting to the PBX.

In a crazy moment in my sparse free time, I had a look at Gregor's PhoneMonitor application he's written in C# and decided to write a PHP5 based approach to connect to the PBX and handle calls. The result is a SOAP client library that is able to connect to a PBX, poll for events, register users and create calls between two endpoints.

He also includes an example of a request to the server, dialing another phone number based on the name of the person. There's also a screenshot of the application showing a portion of its interface.

He doesn't offer the code up for download yet, so don't get too excited. He does hint, though, at some future functionality he might be adding other features as well.

0 comments voice your opinion now!
soap voip box connection phonemonitor port innovaphone ip800 soap voip box connection phonemonitor port innovaphone ip800


Gentoo Blog:
Reminder - You *Can* Run PHP4 And PHP5 On The Same Box At The Same Time
April 21, 2006 @ 15:06:26

Stuart Hebert of the Gentoo blog has posted this new item as a reminder to all of those naysayers out there that didn't think it could be done that PHP4 and PHP5 can live together happily on the same box.

Today has served as a timely reminder to me that not everyone understands that it's perfectly possible to have both PHP4 and PHP5 installed in Apache at the same time. A lot of folks just stop when they learn that you can't load mod_php4 and mod_php5 at the same time into Apache. There's no solution in the excellent PHP Manual that I could spot this afternoon (maybe I've just missed it?), and a lot of folks just don't get any further along than that.

As an illustration of its possiblity, he points to this article from Andreas Korthaus showing how it's done under various different types of installs (Apache/CGI, Aapche/suphp).

0 comments voice your opinion now!
multiple versions same box simultaneous cgi module suphp multiple versions same box simultaneous cgi module suphp



Community Events











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


application introduction symfony2 package opinion release unittest facebook security language code composer hack hhvm podcast overview component framework example install

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