O'Reilly logo

Mastering Joomla! 1.5 Extension and Framework Development by Chuck Lanham, James Kennard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Joomla! process

For security purposes, Joomla! has been designed with only two entry points. Frontend and backend requests are always initiated through the root index.php and administrator/index.php entry points respectively. When we create extensions for Joomla!, we must be sure to never create any new entry points. To ensure that we do not do so, we should always include the code described in the previous section at the beginning of all our files. By using the normal entry points, we are guaranteeing that we are not circumventing any security or other important procedures.

Working with JRequest

Generally when we develop PHP scripts, we work extensively with the request hashes: $_GET, $_POST, $_FILES, $_COOKIE, and $_REQUEST. In Joomla!, instead ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required