doc/tutorials/advanced/index.rst
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 19 Jan 2017 15:27:39 +0100
changeset 11899 bf6106b91633
parent 10491 c67bcee93248
permissions -rw-r--r--
[schema] load schema from modules names instead of directories Introspect cubicweb, cubes and apphome using pkgutil to generate the full list of modules names for loading the schema. Keep historical behavior and check if source .py file exists if a module is found using python bytecode file (.pyc and .pyo) Loading schema from apphome require apphome to be present in sys.path and that "schema" module resolve to a file located in apphome. Update migraction tests to explicitely update sys.path when loading schema from different apps, use a contextmanager for this so it's more readable. Require updated logilab-common and yams


.. _TutosPhotoWebSite:

Building a photo gallery with |cubicweb|
========================================

Desired features
----------------

* basically a photo gallery

* photo stored on the file system and displayed dynamically through a web interface

* navigation through folder (album), tags, geographical zone, people on the
  picture... using facets

* advanced security (not everyone can see everything). More on this later.


.. toctree::
   :maxdepth: 2

   part01_create-cube
   part02_security
   part03_bfss
   part04_ui-base
   part05_ui-advanced