WXP DomRouter is an easy to learn Wordpress plugin that allows theme developers to create beautiful, scalable, and extendable themes, using an object oriented interface. PHP DomRouter was inspired by JS “[Dom based routing]” which fires certain Javascript functions based upon the id or class of the document body. WXP DomRouter takes advantage of the body’s classes in much the same way, allowing developers to add data to the view based upon classes found in the document’s body tag.