5.1.2.1. Source code. The phpVirtualBox client is written in PHP and Javascript.
All the interactions with the VirtualBox web API happen in two files: one PHP file which is automatically generated based on the server’s XIDL file and a second PHP file, this one manually created, which contains all the web API interaction logic.
While at a first sight this is a sound design decision as it results in one single point which potentially needs to be changed should the server push breaking changes, our analysis revealed a different scenario. Indeed,
a single point for change exists but all the source code directly relies on this file which is a 1-to-1 mapping of the server-side methods and data types. In other words, the client’s source code is directly tied to specific methods of the server-side