|
Posted by Wayne on 09/16/05 08:31
On Wed, 14 Sep 2005 18:12:13 +0200, "Drazen Gemic" <here@there.net>
wrote:
>I agree for basic things like sockets, but cURL functionality is something that
>would be easy to write using existing socket library.
cURL functionality isn't much needed anymore because of sockets -- but
in the past, PHP didn't do as well with sockets which is why the cURL
extension exists. If you can get by without it, then do so.
>Database drivers rely on sockets most of the time. They are not very much
>system specific. Besides network library(ies), most of the work is parsing
>data streams.
PHP is a glue language -- most of it's functions are just slim
wrappers over existing libraries. That's really the point. While it
may be possible to write your own database driver for say MySQL it's
far easier and smarter to use the driver provided by the MySQL
developers.
>Many PHP people argue about Java choice for enterprise
>applications, but the main reason is ability to extend Java by just
>dropping JAR files somewhere on the hard disk.
Well mostly it isn't hard to extend PHP by dropping the appropriate
library and extension somewhere on the hard disk.
Navigation:
[Reply to this message]
|