Hi,
I wonder what is preferred way of mounting Tim engine in Conductor. For
UI Tim will be mounted at "/tim":
mount Tim::Engine, :at => "tim"
But Tim resources should be accessible through our API too (under /api),
there were two proposals how to do this:
1) mount Tim engine under /api, so Tim's resources will be nested:
scope "/api", :as => 'api' do
mount Tim::Engine, :at => "tim" # other mountpoint name can be used
end
A disadvantage is that there will be another entrypoint for Tim:
https://gist.github.com/4474874
As Petr pointed out the entrypoint problem could be solved if Tim engine
provides a method or partial which returns its resources - this would be
then included directly in Conductor's entrypoint.
2) "include" Tim's resources in /api, so these resources will not be
nested, I suppose this requires enumerate all Tim resources:
scope "/api", :as => 'api' do
resources :templates, :only => [:index, :create, :show, :update,
:destroy]
resources :base_images, :only => [:index, :create, :show, :update,
:destroy]
# same for the rest of resources
end
A disadvantage is that namespace safety is lost - e.g. if there will be
2 engines with resource 'template', we will have to do some resource
renaming (sounds like a big problem to me) and it also requires to
manage another chunk of code outside of Tim.
Unless there is strong disagreement till tomorrow, I will use option 1
which seems to be most reasonable option to me.
Jan
hi there,
I recently come across the concept of pretotyping. It isn't a misspell,
I really meant pretotyping and not prototyping.
A formal definition, from the book:
Pretotyping [pree-tow-tie-ping], verb: Testing the initial appeal and
actual usage of a potential new product by simulating its core experi-
ence with the smallest possible investment of time and money.
A less formal definition:
Make sure – as quickly and as cheaply as you can – that you are
building the right it before you build it right.
I think the book is worth reading by everyone working on new ideas and
you can get it for free or for very cheap money from Amazon:
http://www.pretotyping.org/pretotype-it---the-book
If you happen to know the concept already and have used it before, it'd
be nice to share the results.
--
Giulio Fidente
GPG KEY: 08D733BA | IRC: giulivo
--
Giulio Fidente
IRC: giulivo
Hi,
I'm looking for anyone who might have a few minutes to chat in depth with me about either of the two personas below. As part of the personas update, we will be adding detail that gives a better sketch of the persona and crafting a narrative that puts their goals in context. In order to do that, I'm hoping to learn a little more about what motivates each persona to do what they do.
As a reference, I'm linking to the existing personas that are in the process of being updated. If you've been this guy or know someone who has, I'd love to get a few minutes of your time.
Security Administrator
https://redmine.aeolusproject.org/redmine/projects/aeolus/wiki/Personas#Sec…
Infrastructure Manager
https://redmine.aeolusproject.org/redmine/projects/aeolus/wiki/Personas#Inf…
Cheers,
Jeremy