PHP RPC Client/Server Example
What does it do?
It was originally just an experiment with the YAR PECL extension, to see what can do an how it compares with my own RPC project Plinker. Having worked on it for a few hours it slowly mutated into a remote server database CRUD, with the ability to manage tables, columns and rows. By default a new
/tmp/database.db sqlite file will be used, to manage other tables you simply need only change the
R::setup('...') dsn in the
Unlike Plinker, there is absolutely no security implemented into the extension, so this is only useful for non sensitive data.
To install the extension:
sudo apt-get install php5-dev libcurl4-gnutls-dev sudo pecl install yar
Then create a new extension apache config file for
echo "extension=yar.so" > /etc/php5/apache2/conf.d/yar.ini