SIMPLX Controller
SIMPLX Controller is an extra by larscwallin, first released on 2012-01-25.
Package Description
Go with the flow!
Please see the forum thread for tutorial and information (to be updated since the table syntax has changed a bit)
Many times when building an app on top of Modx i have wanted to do some custom routing depending on state of a form, or a specific url parameter or whatever. In order to cut dev time i began thinking about making a generic routing controller to supplement the Modx system.
With SIMPLX_Controller you can easily execute Snippets depending on Resource URL, QueryString parameter, HTTP method, Cookie value or whatever is present in the Request Message.
Functionality like this is found in most MVC frameworks, so if you have played around with Symfony etc you will find the concept familiar.
Have fun :)
Usage/Installation Instructions
Installing
1. Download using Package Management.
2. Go to the simplx_controller Plugin/System Events
3. Set Property Set for the onManagerPageInit/onWebPageInit Events to use the Default set.
4. Look at the Routing Table Chunk "simplx.controller.routingtable.query.id", which is the default table.
5. Patiently await more documentation ;)
Details
- Developer(s)
- larscwallin
- Released
- 2012-01-25
- First seen
- 2012-01-25
- License
- GPLv2
- Supported databases
- Minimum MODX Requirement
- 2.0
SIMPLX Controller Releases
| Vendor | Signature | Released on |
|---|---|---|
| MODX.com | 0.8-beta4 | 2012-01-25 (14 years ago) |