view · edit · sidebar · attach · print · history

Index>

20161017-steinwies-rack

Summary

  • port sbsm/steinwies.ch to use the rack webserver
  • Keep in Mind

Commits

Index

port sbsm/steinwies.ch to use the rack webserver

Will setup logging later, see http://ruby-doc.org/stdlib-2.0.0/libdoc/webrick/rdoc/WEBrick/AccessLog.html. We should probably have a similar format than before. Must figure out on howto handle/call correctly the translate_uri. Found a solution. Now the different pages display correctly. Fixing the failing unit tests. Fall old unit tests pass again. But we still have a lot of uncovered lines in sbsm.

Pages like de/page/schwerpunkte/ are now displayed correctly.

Used rack-test to add a new unit test using the Rack::MockRequest. Unit tests with persistent user inputs still fail. Also cookies get not handled correctly.

I think SBSM::Request (and maybe also SBSM::Session) should derive directly from Webrick and not be using SimpleDelegator. Or would this be a performance killer?

view · edit · sidebar · attach · print · history
Page last modified on October 17, 2016, at 06:10 PM