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

Logic.__constructが実行されるようにする #352

Closed
fukudayasuo opened this issue Jun 17, 2014 · 1 comment
Closed

Logic.__constructが実行されるようにする #352

fukudayasuo opened this issue Jun 17, 2014 · 1 comment
Assignees
Milestone

Comments

@fukudayasuo
Copy link

コントローラと同様、Logicにも、Logic.__constructを定義できるようにし、ロジックの初期化処理等を記述できるようにする。

fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Jun 17, 2014
以下のテストケースを追加しました
『__constructの実行』
『__constructが例外を投げる場合』
『h5.core.logic()で__constructが実行されること』
『__constructの時点でロジックのメソッドが用意されていること』
『[build#min]__constructに対してアスペクトが適用されること』
@fukudayasuo fukudayasuo self-assigned this Jun 17, 2014
@simdy simdy added this to the v1.1.12 milestone Jun 18, 2014
@simdy simdy closed this as completed Jun 18, 2014
@fukudayasuo
Copy link
Author

__constructは親ロジックから実行されるように実装しましたが、子ロジックから実行されるように修正します。

@fukudayasuo fukudayasuo reopened this Jun 18, 2014
fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Jun 18, 2014
テストケースを追加しました。

hifive#359 ロジックでキャッシュを使用するように修正しました。
(テストケースは未追加です)
weaveLogicAspectsとweaveControllerAspectsを統合して、コントローラもロジックもweaveAspectsを使用するようにしました。
fukudayasuo pushed a commit to hifive-labs/hifivemain that referenced this issue Jun 19, 2014
hifive#359 ロジックキャッシュの登録を__construct呼び出しが終わったタイミングで行うようにしました。
@simdy simdy closed this as completed Jun 19, 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

2 participants