mirah / dubious

A Web Framework Written in Mirah for running on AppEngine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{routes,asset,application}.properties - unused?

igrigorik opened this issue · comments

New apps place these files under config/ but there is no documentation for what is supposed to live in this files, or in what form.

Looking at the source, I also don't see where they get picked up (if at all)? Am I missing something?

Looking at the checked in examples, the routes are set directly in app.yaml, instead of routes.properties file.

asset.properties is used in src/dubious/asset_timestamps_cache.mirah:8 and has something to do with emulating Rails' cache busters.

routes.properties is used in src/dubious/custom_routes.mirah:9 and allows you to define custom routes--though I'm not completely certain how it works.

application.properties appears to be picked up by GAE and used to manipulate certain Servlet properties. e.g. what to use as the secret for encoding session cookies and the key for the session cookie.

Thanks Nick.. I stumbled over the routes.properties shortly after I opened the issue - not sure how I missed it prior to that.

Having said that, would love to see an example of how that's supposed to work.. @woodie: any tips?