Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is a Zend Framework 2 Module. AssetsCompiler is a tiny module which copies all files in each module's /public directory to the common ~/public/assets directory _which must be writable_. So your module is ~/modules/MyModule Create ~/modules/MyModule/public and put .js, .css, .png, .mov, .cdr files in and organize externals by module. You then continue to use the same /assets/ModuleName/file.ext to include files in a page. Other asset modules use this same schema and you may find them more useful than this during development but using this at the time of release will make your application sing. An html page would reference such external as <img src="/assets/Application/logo.gif"> The assets pattern in ZF2 has been established as ~module/public and ~/public/assets and no further configuration of a ZF2 app derived from the skeleton is necessary.