Getting PHP framework to work [IMPORTANT]
1 post
• Page 1 of 1
Getting PHP framework to work [IMPORTANT]
We are experimenting getting cakephp to run on Phalanger and making really good progress so far.
There are two major issues that is stopping a large number of PHP framework to work
* Compiled assembly doesn't invalidate when source code is changed, currently a iis restart is required. I have observed this behaviour when there are large number of deep includes, work for some file. may be there is a quick fix exists in "web.config"
* Since most of PHP framework are fairly complex and heavily OO driven. I have observed a pretty nasty bug in phalanger, "calluserfunc_array" misbehaving if there is reference involved, I don't know which part of following code is causing the problem
$output = calluserfunc_array(array(&$controller, $action, $params ));
is it array element has problem carrying a reference or calluserfunc_array is broken in general.
I made a quick fix to use php's evil eval function,
$output = eval("\$controller->$action($paramstring)
I see there are number of people trying to get PHP framework / CMS working, we should have a common effort into this area.
There are two major issues that is stopping a large number of PHP framework to work
* Compiled assembly doesn't invalidate when source code is changed, currently a iis restart is required. I have observed this behaviour when there are large number of deep includes, work for some file. may be there is a quick fix exists in "web.config"
* Since most of PHP framework are fairly complex and heavily OO driven. I have observed a pretty nasty bug in phalanger, "calluserfunc_array" misbehaving if there is reference involved, I don't know which part of following code is causing the problem
$output = calluserfunc_array(array(&$controller, $action, $params ));
is it array element has problem carrying a reference or calluserfunc_array is broken in general.
I made a quick fix to use php's evil eval function,
$output = eval("\$controller->$action($paramstring)
I see there are number of people trying to get PHP framework / CMS working, we should have a common effort into this area.
- speedmax@codeplex
- Posts: 1
- Joined: January 7th, 2012, 8:55 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 18 guests