You are here: Re: Are PHP libraries linked dynamically or statically? « PHP Programming Language « IT news, forums, messages
Re: Are PHP libraries linked dynamically or statically?

Posted by Rami Elomaa on 07/21/07 10:27

Martin Larsen kirjoitti:
> Hi Henk,
>
>> This may be true from a strict technical definition, but juridical
>> reasoning may not be that strict.
>
> Thank you for making clear what I was trying to say. It is in fact a
> juridical matter.
>
> If we agree that the term linking might not be entirely irrelevant,
> which kind of linking would you say is in effect when a PHP program
> links to a script: dynamically or statically.
>
> The reason why this is important is that dynamically linking is often
> seen as a licence boundary
> (http://en.wikipedia.org/wiki/Library_(computer_science)#Dynamic_linking)

Looking at this definition:

"Dynamic linking means that the subroutines of a library are loaded into
an application program at runtime, rather than being linked in at
compile time, and remain as separate files on disk."

Based on that I'd say php "linking" resembles more dynamic linking than
static linking, since there is no separate "compile time" per se, a
script is each time recompiled at runtime. Plus the included scripts are
separate files on disk, they are not "built" into one executable.

And the reason I say it _resembles more_ is the basic problem that
neither of these terms can really be applied to php scripts, what you
need is a new term: call it including.

--
Rami.Elomaa@gmail.com

"Wikipedia on vähän niinq internetin raamattu, kukaan ei pohjimmiltaan
usko siihen ja kukaan ei tiedä mikä pitää paikkansa." -- z00ze

 

Navigation:

[Reply to this 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

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