Tag Archives: MODx

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

Getting Multiple Object Fields — FAST

In some previous articles, we discussed a fast way to get individual object fields in MODX Revolution with getValue(), but what if you need more than one field? In this …

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