Google
Web dns.bdat.net

RE: [PHP-ES] DLL en PHP

Write haof XML files: sergio ( sergio10@euskalnet.net)
Fecha: jue 12 may 2005 - 16:05:32 CEST


hola a todos

ya he tomado una decisión con respecto a las DLL. No las voy a utilizar . He
conseguido varias respuestas y las voy a postear aqui, siento que esten en
ingles pero no creo q sea muy dificil de entender, si alguien no lo ve claro
que me lo comente y lo traduzco

############################################################################
################################

If you insist on compiling your PHP code into DLLs, consider
this:

1. DLLs are platform-dependent. You can only use them in
under one OS. DLLs compiled under Windows will not work
under Linux and vice versa.
2. Installation of DLLs requires root-level privileges on
the host machine.
3. While it is possible to compile PHP into DLLs (Phalanger
can do that), there is no guarantee that those DLLs
will be usable by PHP. In fact, PHP has a rather
strict set of requirements as to how extension libraries
should be written. DLLs compiled by Phalanger, in contrast,
are meant to be used by .NET languages, not PHP...

technically you could create DLLs in PHP (as PHP allows you to write files
in binary mode), but basically youd also need to write a compiler 8-)
There is no point though, when plenty of other languages and compilers offer
DLL creation. Use the right tool for the job - PHP is not the right tool
for generating compiled code

Cheers,
NC

           Sergio Saenz
 Departamento de Desarrollo
   sergio.saenz@interzona.tv <mailto: sergio.saenz@interzona.tv>
 <http://www.interzona.tv>

-- 
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Este archivo fue generado por hypermail 2.1.7 : sáb 18 mar 2006 - 18:24:01 CET