Author Archives: Bob Ray

About Bob Ray

Bob Ray is the author of MODX: The Official Guide and over 30 MODX add-on components. He hosts Bob's Guides, a source of valuable information for MODX users, and has been very active in the MODX Forums with over 19,000 posts.

Using Namespaces with an Autoloader

In the last few articles, we looked at autoloaders and ways to prevent collisions between the names of classes and their methods. In this article, we’ll see how to use …

Tags: , , | Posted under MODX, MODX | Leave a comment

Using Namespaces to Avoid Class-name Collisions

In the several previous articles, we looked at ways to prevent collisions between functions and classes. In this article, we’ll see how to handle that using PHP namespaces.

Tags: , | Posted under MODX, MODX | Leave a comment

Using an Autoloader to Load Classes

In the previous articles, we looked at ways to prevent collisions between functions and classes. In this article, we’ll see how to make that more convenient by using an autoloader …

Tags: , | Posted under MODX, MODX | Leave a comment