In Joomla, a program that associates a path (URL) with internal Joomla queries. Normally a router contains two methods, build() and parse(). The build() method takes an array of commands and returns a JURI object. The parse() method reverses this and turns a JURI object into an array of commands.