View Single Post

  #2 (permalink)  
Old 08-08-2007
Jerry Stuckle
 
Posts: n/a
Default Re: Hello?Anyone who would like to write IM extension?

Yarco wrote:
> I have an idea. We could write a php IM extension just like PDO.
> So, if we turn on
> extension = php_im.dll
> extension = php_im_gtalk.dll
>
> We could talk to our friends on gtalk by php code something like:
>
> $link = im_gtalk_connect($server, $user, $pass);
> // etc...
>


Why?

> Certainly if Microsoft support this feature, we could also add
> php_im_msn.dll.
> Anyone have the power to do that?
>
> I searched over the internet, couldn't find anything about this.
>


Probably because PHP wouldn't be the best language for this.

PHP is server side. It communicates with the client via HTML, which is
a stateless "pull" protocol - and not at all suited for such features.

You can install and run PHP on a client machine, but its UI is limited,
even with external libraries.

There are languages much better suited for such applications. C/C++ and
Java both come to mind.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote