Tehničko veleučilište u Zagrebu · Zagreb

Extending PHP with modules

stručni rad

stručni rad

Extending PHP with modules

Vrsta prilog u časopisu
Tip stručni rad
Godina 2015
Časopis Polytechnic and design
Nadređena publikacija POLYTECHNIC & DESIGN
Volumen 3
Svesčić 1
Stranice str. 79-79
ISSN 1849-1995
EISSN 2459-6302
Status objavljeno

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