Hello Yehosef,
The integration of Kohana is a good project and a very good idea.
Plus, you’ve raised a lot of interesting point regarding MODx, what could be improved and why Kohana can be a good choice to do so.
However, i want to review some points you’ve made in your post(on Kohana forum) who are not up to date concerning MODx Revolution.
- MODx Revolution default Manager is only a "context" which means that you can replace it by one who does not contain ExtJS. The way to do it is foggy for now because the core team concentrate their efforts on deveopment rather than documentation and tutorials.
- MODx Revolution’s manager is made with ExtJS 3.
It does not include all the refinement available for this libs (yet!), but it up to date.
- Regarding ExtJs, i think that this choice has been made because it’s a very robust, easily extendable and OOP javascript library.
- I might have misunderstand your comment on php4. Revo is only compatible with php5+
- Did you check the docs for both Revolution and xpdo since the early beta? There are a lots of exemple and demo available now for both of them.
See for example how we could rewrite your above code with Revolution:
<?php
$blogs = $modx->newQuery('blog',array('cat',5))->getCollection();
foreach($blogs as blog){
$output .= $blogFactory->getChunk('post',array(
'post' => $blog->get('post')
));
}
Try to give MODx Revolution more time, you might be surprised!
Good luck for your project too.