After some user input, I updated the cakeswxphp packages. I also started a branch which supports cakephp 1.2. There is a change in the gateway locations: you no longer connect to cake_swx_gateway.php or cake_amf_gateway.php, but to swx.php and amf.php (default locations in swx). This should make it even simpler to start with (cake)swx!
Again, you can download it at the cakesxwphp page…


Thanks. I waited this for a long time.
I found one typo in swx/php/core/shared/adapters/zendrowsetAdapter.php , the php end tag. :)
Hey, thanks for this, ill test now.
I think this SWX / cakephp integration has GREAT potential. Too bad this project does not have more visibility.
I met the performance issue in using this solution. The original method called through official amfphp took about 250ms, but the one without change to be called in CakePHP & amf.php took more than 4000ms.
hey kiang,
I ran some benchmarks myself. You can see the results in my latest blog post: http://blog.aboutme.be/2008/01/20/benchmarking-cakeswxamfphp/
CakePHP & AMF is slower then the native amfphp. However, I didn’t get such a slowdown as you have here…
I don’t know if I found the reason. I just removed pecl/apc from my server and then the result became similar with your benchmark. Sorry for post the message without more testing.
Bbbug ?
cake_gateway_init.php : check out the comments
if(!defined(‘CORE_PATH’))
{
if(function_exists(‘ini_set’))
{
ini_set(‘include_path’,ini_get(‘include_path’).PATH_SEPARATOR.CAKE_CORE_INCLUDE_PATH.PATH_SEPARATOR.ROOT.DS.APP_DIR.DS);
//define(‘APP_PATH’, null);
//define(‘CORE_PATH’, null);
}
//else
//{
define(‘APP_PATH’, ROOT.DS.APP_DIR.DS);
define(‘CORE_PATH’, CAKE_CORE_INCLUDE_PATH.DS);
//}
}
require CORE_PATH.’cake’.DS.’bootstrap.php’;