shogun-toolbox / shogun-web

Shogun Website
5 stars 7 forks source link

General Interface for Demos and SVR Demo #8

Closed zhengyang92 closed 11 years ago

zhengyang92 commented 11 years ago
  1. Add a general urls.py rule. It will handle links like shogun-toolbox.org/demos/demo-name/function with pages.views.demoHandler. The mechanism of demoHandler is to find the matching class in the demos.py by the demo-name specified in the link, then invoke the matching funtion. the function receives the request and processes the request into the response and returns. The returned response are sent to the page finally via the demoHandler.
  2. Add svr demo to the demos.py.
  3. add some js librarys for the demostration.
  4. don't know why shogun.sqlite is always commited, I'tried to git checkout to revert it, but no use indeed. just ignore it.