MCache (formally MSession) redesign

  • warning: include(/tmp/fortune.txt): failed to open stream: No such file or directory in /home/mohawksoft/org/www/htdocs/includes/common.inc(1696) : eval()'d code on line 1.
  • warning: include(): Failed opening '/tmp/fortune.txt' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/mohawksoft/org/www/htdocs/includes/common.inc(1696) : eval()'d code on line 1.

As reported earlier, MCache development is progressing. The area I have been focusing on is isolating the request transport format from the application layer. The mreq.cpp file and other application level files have had too much knowledge and dependency on implementation details making changes very difficult. Since certain new features needed some addition data to be transfered, it became a question about how to shoe-horn them in, which was possible, but ugly, or rethink the interface so that  future additions don't require changing every single plugin and file that touches the request layer. I decided that now, with MCache not yet released, was the right time to make communication level changes.