Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve resource descriptions (config) #1

Closed
Dashron opened this issue Apr 1, 2012 · 3 comments
Closed

Improve resource descriptions (config) #1

Dashron opened this issue Apr 1, 2012 · 3 comments

Comments

@Dashron
Copy link
Owner

Dashron commented Apr 1, 2012

Add support for multiple files.

End goal is to reduce the amount of files that need to be updated when changing configuration options.

eg. a routes file, a models file, etc.

@Dashron
Copy link
Owner Author

Dashron commented Apr 1, 2012

Also, allow support for configurations similar to how ubuntu's apache configs work.

so a file like
/resources/example/default/example.routes.js

will be overriden by something like
/resources/example/live/example.routes.js

which allows us to create standard user resources, blog post resources etc, and enable users to override certain information without modifying existing files.

I would like this so that we could encourage new developers to follow certain standard methods of authentication and other techniques, encourage them to change and expand upon the resources, yet not punish them by making updates challenging.

@Dashron Dashron mentioned this issue Apr 6, 2012
@Dashron
Copy link
Owner Author

Dashron commented Jun 19, 2012

Models are great.

models : [
user : require('user')
]

Maybe we can do something similar with routes.
or simply do..

routes : require('./routes/stuff')

@Dashron
Copy link
Owner Author

Dashron commented Jun 19, 2012

add resource constructor for #13

@Dashron Dashron closed this as completed Jun 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant