Step1: Learn More
One of the banes of my existence is writing MODX extras that will run inside and outside of MODX. Worse yet, sometimes they also run in a browser and from the command line.
In an earlier Article, I wrote about how to instantiate MODX outside of MODX. That makes things easier since you can use any MODX methods once you’ve instantiated the
$modx object, but what about the parts of the program that might run before that? If they display messages to the user (possibly error messages), you might like to use lexicon strings to internationalize those messages. Learn More
Opencart makes really good use of Ajax all throughout the framework installation. There may come a time where you will need to make your own Ajax call because you want to set something up that does “not” come with the basic installation. This tutorial will teach you how to do this so you can say money and do it yourself :). First, let’s discuss what AJAX is first.