User Tools

Site Tools

Anatomy of a Module

So far, please refer to PS 1.5 documentation on this topic.

Notably, compatibility with PS 1.4 is going away before too long, so files should not get placed in PS 1.4 compatibility folders like js/, css/ or img.

Glitches found there:

They list /views/templates/css, /views/templates/js and /views/templates/img as preferable places for JS/CSS/image files. These places aren't supported and no known module uses them. Actual preferred places are views/js, views/css and views/img. Like described below the table.

In addition to the hierarchy described by PS, thirty bees adds a place for third party libraries not coming as a composer module: libs/, views/js/libs/ and views/css/libs/ for PHP/JS/CSS files.

TODO: about the entire page :-)

anatomy_of_a_module.txt · Last modified: 2018/09/05 20:18 by Traumflug