Reputation
422
Top tag
Next privilege 500 Rep.
Access review queues
Badges
3 15
Impact
~11k people reached

  • 0 posts edited
  • 0 helpful flags
  • 71 votes cast
Sep
3
comment Does Play framework approach necessarily leads to confuse code?
Yes, your points are valid. I just don't want to spend some time coding things and get with a confusing code that is hard to maintiain after some time (and then wasting more time getting around my code that implementing new things)
Sep
3
comment Does Play framework approach necessarily leads to confuse code?
I will take a look on this link, thanks :)
Sep
3
asked Does Play framework approach necessarily leads to confuse code?
Aug
25
asked How to use ViewModels in a layered architecture?
Jul
5
awarded  Nice Answer
Apr
16
comment How to make my code decide which class to instantiate based on a parameter?
Yes, I used string in my example for sake of simplicity, but the idea is to use an ENUM. Java is OK, the important is the concept, not the implementation. Thanks a lot :)
Apr
16
accepted How to make my code decide which class to instantiate based on a parameter?
Apr
15
revised How to make my code decide which class to instantiate based on a parameter?
added 279 characters in body
Apr
15
comment How to make my code decide which class to instantiate based on a parameter?
Sure, I have queries that are going to be called against a database. I want to have the same flow for the queries that do not have any business logic applied to it (ex: get all users, get all students, and so on)
Apr
15
asked How to make my code decide which class to instantiate based on a parameter?
Mar
6
awarded  Benefactor
Mar
6
accepted My architecture has a problem with views that required information from different objects. How can I solve this?
Mar
6
comment My architecture has a problem with views that required information from different objects. How can I solve this?
Perfect explanation! Thanks! I marked the post as answer, but I have to wait 2 hours to give you the bounty ;)
Mar
6
comment My architecture has a problem with views that required information from different objects. How can I solve this?
ps: the question was made before I read the links you sent because I would like to clear this and give you the points, then take my time to read everything :)
Mar
6
comment My architecture has a problem with views that required information from different objects. How can I solve this?
wow, while I know some of the concepts you talked about, there is a lot to read, so it will take a while, so one last question before I accept this answer (the points in this question will be the best points ever spent here :) ): I would receive the DTOs in my BL. So if I have a method foo() called by 2 views, I will have foo(DTOView1) and foo(DTOview2), each would instantiate a new BO object and populate it and then call the "real" foo(). Correct? This would cause my BL to have many foo's, is this correct?
Mar
6
comment My architecture has a problem with views that required information from different objects. How can I solve this?
Hey! thanks for the answer. I will read it during the day and get back to you! Tks! One last question (I'm still reading you answer, so sorry if you already answered): Would you agree with w/ @AndrewM when he says that BO should be created on the view layer? If so, how would you solve the issue that my business layer be coupled with my DTO's and, therefore, to my view layer, since DTO's represent the set of information required for a specific view?
Mar
5
revised My architecture has a problem with views that required information from different objects. How can I solve this?
added 195 characters in body
Mar
5
awarded  Promoter
Mar
5
comment My architecture has a problem with views that required information from different objects. How can I solve this?
I've edited the question with a reply for you. :)
Mar
5
revised My architecture has a problem with views that required information from different objects. How can I solve this?
added 709 characters in body