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

Рефакторинг структуры файлов #52

Open
nzinov opened this issue May 17, 2014 · 0 comments
Open

Рефакторинг структуры файлов #52

nzinov opened this issue May 17, 2014 · 0 comments
Assignees
Milestone

Comments

@nzinov
Copy link
Contributor

nzinov commented May 17, 2014

Несколько советов, на примере тех же handler'ов:
сейчаc:
handlers.base_handlers.admin_request_handler.AdminRequestHandler
handlers.dictionaries_packages_admin_handlers.ChangeWordsHandler
есть смысл сделать:
handlers.base.AdminRequestHandler/WebRequestHandler/ServiceRequestHandler/....
handlers.dictionary.manage.ChangeWordsHandler

То есть базовые классы - прямо в пакете, если они небольшие и их немного - можно даже все в одном файле.
Конкретные обработчики - в подпакетах (по объекту), сгруппированные в файлы по категориям - api/web show/admin/service

@nzinov nzinov self-assigned this May 17, 2014
nzinov added a commit that referenced this issue May 17, 2014
nzinov added a commit that referenced this issue May 17, 2014
@nzinov nzinov modified the milestone: API v2 Nov 2, 2014
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