You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour
Right now location of our models and logic is somewhat chaotic
Expected behaviour
We could move to architecture suggested by newest Phoenix, which is model-based. The directory hierarchy would probably look like:
room/
- room.ex
- ecto.ex/schema.ex (whatever), it can also be in room/room.ex, not sure yet how to solve this
- other files
room.ex <- a module providing an API for other modules
This is how lib folder looks after generating example phoenix project and generating a user ecto model:
I would wait with this change, I would say it is not a priority for now, we have more important things to do. I would polish the product, deploy it, add missing features and then reorganise structure to match Phoenix 1.3 architecture. I do not want to bother myself with this change since I consider us having more important stuff to do.
I was thinking about giving it a high priority as part of the elixir
refactor task. I agree with you, so I'll just create the next milestone
later and assign this issue as a part of it.
On niedz., 3 wrz 2017, 13:36 Patryk Mrukot ***@***.***> wrote:
I would wait with this change, I would say it is not a priority for now,
we have more important things to do. I would polish the product, deploy it,
add missing features and then reorganise structure to match Phoenix 1.3
architecture. I do not want to bother myself with this change since I
consider us having more important stuff to do.
Why do you consider having this a high priority?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APOb2wSSyaMMGMoeiwff1s0G5D_mSeUVks5seo9SgaJpZM4PLHe6>
.
Type
Enhancement
Current behaviour
Right now location of our models and logic is somewhat chaotic
Expected behaviour
We could move to architecture suggested by newest Phoenix, which is model-based. The directory hierarchy would probably look like:
This is how lib folder looks after generating example phoenix project and generating a

user
ecto model:Motivation / use case
#52
The text was updated successfully, but these errors were encountered: