This bachelor’s report is based upon an assignment specified by the company IT Resource AB, located in Årjäng Värmland.
The goal of this bachelor’s project was to create an API to extend the functionality of PHP. The API shall simplify and make the work more efficient for IT Resource AB when developing web applications. The simplification and the increased efficiency that the API offers are the possibilities to reuse and easily add new functions to the API when needed.
The functionality that the API will offer is an enhanced capability to handle variables and strings generated from a web page written in PHP. The enhanced capability refers to the possibility to store variables and strings from a web page written in PHP.
The API created consists of 2 parts, a client and a server. The client in the client/server system is an external module which contains the functionality for the communication with both PHP and the server. This means that the client in the client/server system will act as an interface between PHP and the server.
The implementation of the API’s functionality is found in the server part of the client/server system. The functionality implemented in the server is the possibility to store variables and strings in the main memory.
The result of this project is an API that increases the functionality of PHP. The API can, when needed, be extended further, and IT Resource AB can benefit from using it when developing web applications that make use of PHP.