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

apps or modules? #15

Open
joafeldmann opened this issue May 10, 2013 · 1 comment
Open

apps or modules? #15

joafeldmann opened this issue May 10, 2013 · 1 comment

Comments

@joafeldmann
Copy link

What do you think of renaming what you call an app to module? Further there could be a "common" module to place views,models,collections shared by multiple other modules.

And what do think of renaming the app.js (in each app folder) to something like module-controller.js? If I get you right this should be the place to create collections, views and control the module flow, right?

@alexbeletsky
Copy link
Owner

Both module and application (and controller if you like) are highly overused terms. Someone call them module or widget, but I really like term - application.

Because I see that as kind of independent part of product (in 'TheMailer' - mails, contacts, tasks) are all different applications. Application have an entry point. Entry point is responsible for fetching the data and firing up MainView.

As for me, controller is something that handles some incoming requests. Application handles nothing, is just a object with run function (btw, it could be simple function as well)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants