PHP/HTML/CSS/JS code for the EWSDN 2014 website.
This code is adapted from the ACM SIGCOMM 2012 repository. It is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
What's in the various subdirectories:
cssCSS code, only edit style.css, the rest is from vendorscss/imagesjquerymobile CSS imagesimagesour images (logos, etc.)includePHP partials and codejsJavascript, only edit script.js, the rest is from vendorsscriptsvarious helper scripts to check and compile the site
This site uses a bunch of open javascript libraries. You will want to use their latest versions:
- http://jquery.com/ - the javascript goes into
js - http://jquerymobile.com/ - the javascript goes into
jsand the CSS and images go intocss - http://jquerymobile.com/demos/1.1.0/docs/_assets/css/jqm-docs.css - the CSS for the jquerymobile documentation page, goes into CSS
- http://code.google.com/p/css3-mediaqueries-js/ - the javascript goes into
js
The scripts/publish script generates this automatically. Edit the script to control which objects are included in the manifest.
Much better to publish this minified version than the source files. Bash script in scripts/publish.
In order to save time, this script does not optimize any images. You should really run your images through pngquant (http://pngquant.org/) and then image_optim (https://github.com/toy/image_optim) before you add them to the repository.
With recent versions of PHP, you can run a development test server on your machine like this: php -S 127.0.0.1:8000
Run a local test server (see above) and then run linklint (http://www.linklint.org/):
linklint -doc report -http -host 127.0.0.1:8000 /@
Checker results are in report/index.html afterwards.
Run a local test server (see above) and then run bash scripts/lint.