Reply to Re: pure PHP

Your name:

Reply:


Posted by Oli Filth on 09/14/05 22:50

Colin McKinnon said the following on 14/09/2005 20:35:
> Oli Filth wrote:
>
>
>>Drazen Gemic wrote:
>>
>>>Is there any initiative out there aiming to rewrite PHP
>>>extensions in pure PHP ? For example, MySQL driver in
>>>pure PHP or LDAP extension in pure PHP ?
>>
>>Things like database access libraries (and comms protocols like
>>sockets, cURL, etc. AFAIK) rely on platform-specific libraries
>>deep-down, so there's no way you could could replicate them in pure
>>PHP.
>>

> Nonsense. Most of them can be replicated - in practice it's usually not
> really worth the effort.

I guess it depends how you interpret "pure PHP". I would hazard a guess
that with no extensions at all (i.e. literally just PHP language
constructs), then it's not possible, as cURL functionality etc. still
relies on sockets, which rely on low-level drivers.

> PHP now has a range of process control functions - it does not have direct
> access to the device ioctls you'd need for writing low level hardware
> drivers but if you really wanted to do that there's not a lot to stop you
> writing your own PECL.

Well, clearly, but that doesn't really fall in line with the OP's
original question about pure PHP functionality (i.e. not using
extensions), without involving any other languages, etc.


--
Oli

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация