Skoči na glavni sadržaj

Stručni rad

https://doi.org/10.19279/TVZ.PD.2015-3-1-09

EXTENDING PHP WITH MODULES

Davor Lozić orcid id orcid.org/0000-0002-0750-5162 ; Tehničko veleučilište u Zagrebu, Zagreb, Hrvatska
Alen Šimec orcid id orcid.org/0000-0001-6715-861X ; Tehničko veleučilište u Zagrebu, Zagreb, Hrvatska


Puni tekst: engleski pdf 638 Kb

str. 74-79

preuzimanja: 289

citiraj


Sažetak

The purpose of this article is to show how to
extend PHP and build modules. Since PHP is
built mostly with C, one must be familiar with
C or at least with some programming constructs
like variables, loops, structures, unions, macros
etc. PHP modules are built when standard PHP
abilities doesn’t fit developer’s needs and when
a developer wants to create a set of function or a
library for which he doesn’t want to provide the
original source code. Since PHP is an interpreted
language, it’s hard to hide the original source
code. Before creating a module, this paper will
also explain how PHP variables are handled
internally and what tools one must have for
creating PHP modules. Source code in this paper
will work on Debian Linux distribution, but with
small modifications, it should also work on other
Linux distributions.

Ključne riječi

Internet; php; modules; source code; variables; Debian Linux

Hrčak ID:

194720

URI

https://hrcak.srce.hr/194720

Datum izdavanja:

16.3.2015.

Posjeta: 575 *