News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

C7Y:
Reflections on Designing an IRC Bot in PHP, Part 2
0 comments :: posted Friday April 18, 2008 @ 11:14:56
voice your opinion now!

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.

tagged with: irc bot tutorial example plugin action memory phergie


C7Y:
Reflections on Designing an IRC Bot in PHP, Part 1
0 comments :: posted Tuesday April 08, 2008 @ 15:25:01
voice your opinion now!

Matthew Turland set out a while back to develop a bot in PHP. The result of it is Phergie an "an IRC bot written in PHP 5 with an OO API" that can be extended with components for a wide variety of features. Another pleasant offshoot from his project is this first part of two articles on the C7Y community site detailing its creation.

The PHP Community channel on the Freenode IRC network, #phpc, had a longstanding bot called "Ai". Like many bots at the time of her creation, she was based on PHP 4. [...] With the coming end-of-life of PHP 4 and at the encouragement of channel users, I decided to start a project to develop a new bot based on PHP 5 that would fully utilize its new object model and offer users a chance to contribute to the bot they used in their channel.

Matthew talks about the initial stages of development (planning, research) and some of the development process of the bootstrap file, configuration file, and driver as well as the event handling.

tagged with: design irc bot tutorial c7y pecl extension libircclient

Matthew Turland's Blog:
Meet Phergie
0 comments :: posted Monday February 25, 2008 @ 10:13:00
voice your opinion now!

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.

tagged with: phergie irc bot pecl libircclient library project plugin

PHP-GTK Community Site:
Gataka the PHP-GTK IRC bot
0 comments :: posted Monday January 28, 2008 @ 10:36:00
voice your opinion now!

The admins over on the PHP-GTK Community site have announced a new resource PHP-GTK ircers can take advantage of - a new bot that hangs out in the #php-gtk channel over on the Freenode IRC network with an aim to be as helpful as possible.

The PHP-GTK.eu community site is now host to an IRC bot named Gataka (for "GTK"), helping users on the Freenode IRC channel for PHP-GTK, at irc://irc.freenode.net/php-gtk.

Currently is has an API interface (for PHP-GTK elements), user tracking and the ability to learn factoids. They're even starting to look for input regarding new features (log publication, in this case).

tagged with: irc bot phpgtk api reference user track factoid


security releases zend mysql ajax cakephp framework code zendframework developer PEAR database pecl release book application package job PHP5 conference

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