Commits

Author Commit Message Labels Comments Date
Christian Scholz
- fixed ``render_slot()`` to work again - refactored the resource management in order to be only once initialized as it costs performance otherwise Now back to 830 r/s from 420 r/s with instantiating the resource manager in each call. See ``initialize_resources()`` for more information.
Christian Scholz
removed unused code such as overriding of variants in every possible call. This might get readded in case it's actually needed. Also changed that implementation of PageVariants in that they are now instantiated not on import time but on every call to the page. TODO: This is now on every call to a slot which is slow, should really be done on setting the variant name.
Christian Scholz
wondering why some code is there and added a TODO item to think about it :-)
Christian Scholz
factored out wsgi rendering function to make it more reusable. ``Page.render_wsgi()`` now uses ``render_data_to_wsgi(data, start_response)``
Christian Scholz
added Ajax command examples
Christian Scholz
added call command
Christian Scholz
added the jQuery plugin for handling Ajax commands as a ``quantumcore.resource`` Javascript resource
Christian Scholz
``render_slot()`` now also takes additional keyword arguments which are mixed into the keyword arguments of the page instance
Christian Scholz
implemented and added Ajax commands for dynamically replacing slots inside a page
Christian Scholz
added resource management to the ``Page`` object by using ``quantumcore.resources``. You can now handle resources and template slots in one class. TODO: Example and documentation
Christian Scholz
added description of the Ajax protocol
Christian Scholz
selected different pygments style
Christian Scholz
some changes to layout and design of documentation
Christian Scholz
added a second example with Ajax dynamic loading
Christian Scholz
added some documentation of features to come.
Christian Scholz
added a ``render_wsgi()`` method to the ``Page`` object for making it easier to use WSGI for serving pages
Christian Scholz
implemented example further, now fully working also as WSGI application
Christian Scholz
implemented basic page handling with variants and slots
Christian Scholz
Started to implement template store, Page objects and Page variants
Christian Scholz
more text for the intro
Christian Scholz
added tutorial
Christian Scholz
fixed some design stuff again
Christian Scholz
started a tutorial, incomplete for now
Christian Scholz
started to implement an example using dynamicpage
Christian Scholz
some more styling and some text work
Christian Scholz
fixed glossary markup
Christian Scholz
replaced logo
Christian Scholz
changed stylesheet to compressed format
Christian Scholz
initial import of quantumcore.dynamicpage