I see what you mean. Thats why i like ModX, its every pragmatists dream
However, i think ModX needs a defined/solid way to communicate its objects using HTTP. I am very happy to see how the concepts of SOA are evolving within the CMS community, with projects like CMIS (
http://en.wikipedia.org/wiki/Content_Management_Interoperability_Services) etc. I think the implementation of well defined RPC protocols are essential for all modern business systems, and one of the most important corner stones of any content-centric system specifically.
For now I’ll make a module to configure a GET based XML-RPC protocol (XRPC?) for remote querying of ModX objects (Pages, Templates Chunks etc). This protocol will return JSON Objects wrapped in XML.
I was happy to see that PHP5.2 has a feature to JSON encode/decode assoc. arrays on the fly

This will make it easy (i hope

) to layer the current "Document Object" and "DocumentParser Object".
For a really cool implementation of SOA, and REST in particular, check out
www.alfresco.com.
If anyone wants to help, mezz me
Thnx,
Lars