News Feed
Jobs Feed
Sections



Recent Jobs

News Archive
feed this:

php|architect:
oddWeek Episode #5
March 17, 2010 @ 11:02:01

php|architect has published the latest episode in their "oddWeek" podcast series today - episode 5 with an interview with Matthew Turland.

This week we talk with Blue Parabola Alumni Matthew Turland about the awesomeness that is Phergie [an IRC bot developed in PHP].

You can listen to this latest episode in a few different ways - you can either listen via the in-page player, by downloading the mp3 directly or by subscribing to the php|architect feed to get this and other great news and articles from the site.

0 comments voice your opinion now!
podcast episode matthewturland phergie



Matthew Turland's Blog:
Environmental Awareness Quickie
July 28, 2008 @ 07:57:00

Matthew Turland came across someone having an issue running his PHP-based IRC bot (Phergie) an an environment where the exec function wasn't allowed:

This causes a warning in the Quit plugin, which uses exec to automatically detection of the full path to the PHP CLI binary on non-Windows systems that it will later use that path to initiate a new PHP CLI process to "restart" the bot.

It check this setting for the future, it was recommended that he look at the SPL ReflectionFunction class (a part of the Standard PHP Library) that would let him check the disabled status of any PHP function (looking at the result of the isDisabled call).

0 comments voice your opinion now!
spl isdisabled reflection exec irc bot phergie exec


C7Y:
Reflections on Designing an IRC Bot in PHP, Part 2
April 18, 2008 @ 11:14:56

Matthew Turland notes that the second part of his "IRC Bots in PHP" series of articles has been posted to the C7Y community site (from php|architect).

The precursor to this article introduced some background and an overview of the design for the Phergie project as an example of the concepts involved in a PHP IRC bot implementation. This article will go further into the topic of plugins including descriptions of those that are commonly needed to make a bot fully functional as well as the commonly needed core features to support plugin development.

In part one he set up some of the foundation code and explained some of the thought behind the structure of the bot. In this part he gets more into the heart of the bot, showing how to define functions for common IRC actions (join/part/ping/etc) and how he made a plugin system to handle custom actions. He also mentions topics like memory usage, data storage methods and some of the "niceties" he included.

0 comments voice your opinion now!
irc bot tutorial example plugin action memory phergie


Matthew Turland's Blog:
Meet Phergie
February 25, 2008 @ 10:13:00

Matthew Turland has been working on a project based on an idea he and Ben Ramsey thought up - a wrapper around the libircclient libraries to make IRC interface simple. As a result, Matthew turned it into a more practical application - you can call her Phergie.

I had toyed with some previous iterations of Phergie, some Python-based and later some PHP-based, before I finally got an API design I was happy with.

The source for the bot can be downloaded from its subversion repository and you can find out more about it on its Trac site. Also, if you feel like chatting about it, you can head over to the #phergie channel on the Freenode IRC network.

0 comments voice your opinion now!
phergie irc bot pecl libircclient library project plugin



Community Events





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


phpunit voicesoftheelephpant release framework application zendframework introduction injection opinion unittest symfony2 podcast api language zendframework2 database community testing interview conference

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