To run the recipes you need to place the code bundle within a HTTP server that serves the pages. All library dependencies required by the recipes code, such as OpenLayers or Dojo toolkit (http://dojotoolkit.org), are included in the bundle itself.
Some recipes request data from PHP scripts included in the source bundle. The function of these scripts is to generate some random data to later integrate within the map. To run these recipes properly the reader needs a HTTP server with PHP support.
Solutions such as XAMPP (http://www.apachefriends.org/en/xampp.html ...