Reputation: 20493
I am learning Play! 2 for Scala, coming from a Django background. In Django I was used to being able to modularize a project by dividing it in various applications, each having its own models, views, controllers and assets. Does Play! allow a similar subdivision of a project or it is mandatory that everything goes under the app
directory?
EDIT I already got the answer, but I will make some examples of the use of Django apps:
and so on
Upvotes: 6
Views: 1076
Reputation: 662
Just a little update on the thread. From 2.1 Play supports routing mapping of sub-modules:
Upvotes: 2
Reputation: 744
Maybe sub-projects are what you need. It would help if you would describe a little why you want to modularize and what a module should consist of from your point of view.
Upvotes: 4