21Nov2011
A Boilerplated CMS RESTful ready
OK, some good news!
Boilerplate
We have switched to Boilerplate. A bit less powerful but really simpler than Less.js. The new default theme, very very minimalist, is now mobile compliant.
APC
Use APC for partial caching is now a pleasure. We have added some checks to clean cached info automatically when you change data.
Restler
A new interesting option is to use X3CMS to develop your REST API. Restler is now included in X3.
Create your own API is a joke. Test it at the URL http://your_x3cms/api/example, http://your_x3cms/api/example/2, http://your_x3cms/api/example/2.json
If you want get the response as XML you need to remove xml extension from the .htaccess file.
Open the example api in cms/apis/ folder and see the code.
Security
Last but not least a big thanks to Stefan Schurtz who report a vulnerability via Secunia.
You can add on all fields on public forms a sanitize option to delete malicious code.
Enjoy