News Feed
Jobs Feed
Sections




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

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


blog comments powered by Disqus

Similar Posts

Stoyan Stefanov: Server-side React with PHP

Robert Basic's Blog: Chaining routes in Zend Framework

CodeForest.net: How to crop an image using jQuery and PHP

Andrew Podner: PHP Apps and Platform as a Service

PHPHacks.com: Generate OpenOffice documents with PHP


Community Events











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


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

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