Open cmillr opened 12 years ago
Let's go a step further: what if all content and assets lived in public_html
, but only requests to assets
were allowed through? And all other requests, including to content that exists in the public tree, were routed to index.php?
Perhaps there's a good way for asset requests to be handled by PHP? If this is the case, then we could allow an
assets/
directory inside each template directory, so templates could become entirely modular and redistributable.This way, all the content-based assets can stay with the content tree (maybe side-by-side with the
contents
tree could be anassets
directory?) and all the template-based assets can stay with the template.