You are here: start » plugin_tutorial_data

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin_tutorial_data [2014/08/14 16:25]
Christoph M. Becker [Concurrency] added notes about XH_lockFile() and XH_renameFile()
plugin_tutorial_data [2018/10/26 15:33] (current)
Line 34: Line 34:
 ==== JSON ==== ==== JSON ====
  
-JSON (JavaScript Object Notation) is very suitable for storing human readable and editable data. It's quite fast and easy to handle with PHP's json_encode()/​json_decode(). Note however, that these functions are not available in PHP < 5.2, so you might consider to provide a fallback for older PHP versions (e.g. from the [[http://​cmsimpleforum.com/​viewtopic.php?​f=29&​t=5592|CMBUtils]]).+JSON (JavaScript Object Notation) is very suitable for storing human readable and editable data. It's quite fast and easy to handle with PHP's json_encode()/​json_decode(). Note however, that these functions are not available in PHP < 5.2, so you might consider to provide a fallback for older PHP versions (e.g. from the [[http://​cmsimpleforum.com/​viewtopic.php?​f=29&​t=5592|CMBUtils]]). CMSimple_XH 1.6 introduced [[http://​www.cmsimple-xh.org/​dev-doc/​php/​XH/​_cmsimple---functions.php.html#​functionXH_encodeJson|XH_encodeJson]] and [[http://​www.cmsimple-xh.org/​dev-doc/​php/​XH/​_cmsimple---functions.php.html#​functionXH_decodeJson|XH_decodeJson()]],​ which provide such a fallback.
  
 ==== XML ==== ==== XML ====
 
You are here: start » plugin_tutorial_data
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Valid XHTML 1.0 Valid CSS Driven by DokuWiki