For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > June 2004 > Re: [PEAR-QA] About IRC Classes (was Re: [PEAR-QA] HTTP_Upload patches)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] About IRC Classes (was Re: [PEAR-QA] HTTP_Upload patches)
Lukas Smith

2004-06-01, 2:35 pm

Tomas V.V.Cox wrote:

> David Costa wrote:
>
>
> Seeing the status of the IRC classes:
>
> Net_IRC: always beta, 2600 downloads, one year inactivity, no docs
> Net_SmartIRC: stable status, 13000 downloads, one year inactivity, docs
>
> IMHHO, thinking on what is best for PEAR, the actions I'd take for them
> would be:
>
> - Mark Net_IRC as deprecated
> - Rename Net_SmartIRC to Net_IRC (until the Net_EvenSmarterIRC class
> arraises)
> - Accept developers for the class


Well I dont know if the API is 100% compatible, either way it sounds
like a new major version to me:
http://pear.php.net/group/docs/20031114-bbr.php

So it seems renaming to Net_IRC2 would be better.

Also from what I gathered on IRC today SmartIRC doesnt use PEAR_Error
(or PEAR_ErrorStack), which should be fixed. Also the isError method
should be using is_a() nowadays (since we have set 4.2 as the lowest
supported PHP version).

regards,
Lukas Smith
smith@backendmedia.com
_______________________________
BackendMedia
www.backendmedia.com
berlin@backendmedia.com

Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin

Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07
Stefan Neufeind

2004-06-03, 1:33 pm

On 1 Jun 2004 at 17:12, Tomas V.V.Cox wrote:

> David Costa wrote:
>
> Seeing the status of the IRC classes:
>
> Net_IRC: always beta, 2600 downloads, one year inactivity, no docs
> Net_SmartIRC: stable status, 13000 downloads, one year inactivity, docs
>
> IMHHO, thinking on what is best for PEAR, the actions I'd take for them
> would be:
>
> - Mark Net_IRC as deprecated
> - Rename Net_SmartIRC to Net_IRC (until the Net_EvenSmarterIRC class
> arraises)
> - Accept developers for the class


Imho simple renaming is not a good idea since this might lead to name-
confusion. The good solution I could think of would be Net_IRC2 ...
and then maybe somebody should write try to compare both classes and
see which Net_IRC-functions would need to be added to SmartIRC, if
there are any. And there should imho be a guide how to move from
Net_SmartIRC to Net_IRC if possible.


Regards,
Stefan
Tomas V.V.Cox

2004-06-03, 2:32 pm

Stefan Neufeind wrote:
> On 1 Jun 2004 at 17:12, Tomas V.V.Cox wrote:
>
>
>
>
> Imho simple renaming is not a good idea since this might lead to name-
> confusion. The good solution I could think of would be Net_IRC2 ...
> and then maybe somebody should write try to compare both classes and
> see which Net_IRC-functions would need to be added to SmartIRC, if
> there are any. And there should imho be a guide how to move from
> Net_SmartIRC to Net_IRC if possible.
>


Were talking with meebey at IRC about that. The plan more or less was to
drop Net_IRC and let SmartIRC where it is. He is planning to reorganize
SmartIRC in different levels deppending how deep the user wants to play
with the IRC protocol. That resultant class would become in some months
Net_IRC or Net_IRC2 (will discuss that at its properly moment).

I'm still waiting to Paul Querna (the guy who took the class), what he
thinks and feels about Net_IRC and its current/future status. If he
doesn't answer in a considerable time, I'll agree with that plan.

Tomas V.V.Cox
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com