I've got a pure, working, PHP application with its own specific and complicated MSSQL database.
In Rails, I want to receive data from this app without any SQL adapters, because it's too complicated to run queries directly from Rails.
For example, there is a getCustomersWithAccounts
method it PHP database that returns array of clients. How can I get this array from my Rails app?
Maybe use the PHP-CLI and run /usr/bin/php5 get_customers.php
, which will print the JSON array. But how to implement this from Rails?
Now I use shared memcached keys.