You could download it from: http://www.r-city.net/Public/coto/co...5-trial.tar.gz
(Maybe slow, cause it's located in China.)
Currently it supports:
1. cli web env emulator
2. json format
3. soap server
The following is the example:
[yarco@localhost coto]$ php index.php | head -n 10
<html>
<title>Coto PHP Framework</title>
<body>
<pre>
Welcome to Coto PHP Framework. This is the sample page.
controller: sample/public/ErrorController.php
template: sample/tpl/public/error_index.html
You would see this page cause you don't have enough rights to access:
[yarco@localhost coto]$ php index.php -g 'entry=json' | head -n 10
{"status":-1,"data":[],"errors":["error: You would see this page cause
you don't have enough rights to access -- Public.Index.Index\n"]}
[yarco@localhost coto]$
[yarco@localhost coto]$ php client.php
error: You would see this page cause you don't have enough rights to
access -- Public.Index.fetchUsers
error: You would see this page cause you don't have enough rights to
access -- Public.Index.fetchUsers
[yarco@localhost coto]$ head -n 10 client.php
<?php
/**
* Sample Soap Client
*/
$client = new SoapClient(null,
array(
// location ÐÞ¸ÄΪÄãµÄµØÖ·
'location' ='http://localhost/~yarco/workspace/´úÂë/
coto/index.php?entry=soap&a=fetchUsers',
'uri' ='http://coto',