About Bob Ray

I am the author of MODX: The Official Guide and over 30 MODX add-on components. I host Bob's Guides, a source of valuable information for MODX users, and I've been very active in the MODX Forums with over 18,000 posts.

Here are my most recent posts

Author Archives: Bob Ray

About Bob Ray

I am the author of MODX: The Official Guide and over 30 MODX add-on components. I host Bob's Guides, a source of valuable information for MODX users, and I've been very active in the MODX Forums with over 18,000 posts.

Using Parameterized Prepared Statements to Retrieve Data

In previous articles, we discussed using PDO to do fast writes to the database. If you’re going to write a bunch of objects to the database, though, it’s wasteful to …

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

Using fromArray() to Write Raw Values to the DB

In the previous article, we saw a way to write raw values to the MODX database with PDO. In this one, we’ll see a slightly slower, but much more convenient …

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

Bypassing MODX to Write Directly to the Database

In some previous articles, we discussed fast ways to get data from the database in MODX Revolution, but what if you want to update the database? Suppose that you also …

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