Logo

Navigation

  • index
  • modules |
  • next |
  • previous |
  • CubicWeb 3.26.22 »
  • Tutorials »

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.
  • Cube creation and schema definition
    • Step 1: creating a virtual environment
    • Step 2: creating a new cube for my web site
    • Step 3: pick building blocks into existing cubes
    • Step 4: glue everything together in my cube’s schema
    • Step 5: creating the instance
  • Security, testing and migration
    • Step 1: configuring security into the schema
    • Step 2: security propagation in hooks
    • Step 3: testing our security
    • Step 4: writing the migration script and migrating the instance
  • Storing images on the file-system
    • Step 1: configuring the BytesFileSystem storage
    • Step 2: importing some data into the instance
    • Conclusion
  • Let’s make it more user friendly
    • Step 1: let’s improve site’s usability for our visitors
    • Step 2: providing a custom index page
    • Step 3: more navigation improvements
    • Step 4: preparing the release and migrating the instance
  • Building my photos web site with CubicWeb part V: let’s make it even more user friendly
    • Step 1: tired of the default look?
    • Step 2: configuring boxes
    • Step 3: configuring facets
    • Conclusion

Table of Contents

  • Building a photo gallery with CubicWeb
    • Desired features

Previous topic

What’s next?

Next topic

Cube creation and schema definition

This Page

  • Show Source

Quick search

Navigation

  • index
  • modules |
  • next |
  • previous |
  • CubicWeb 3.26.22 »
  • Tutorials »
© Copyright 2001-2015, Logilab. Last updated on Jul 22, 2021. Created using Sphinx 1.8.5.