Learn PHP the right way: http://www.phptherightway.com

twitter: @songoko20000

22h
comment Is overriding Object.finalize() really bad?
Would you please demonstrate how you log in the finalize method? I'm not a Java developer, but I'm very interested in the concept.
2d
comment How Add/Create* commands should be handled in CQRS + Event Sourcing architecture
+1 for this sentence alone "for that bounded context." :)
Jun
20
comment DDD: Put logic in service or aggregate root?
a nice read Don’t Create Aggregate Roots.
Jun
20
comment "Too object-oriented"
"Does anyone have some advice on how I can convince my coworkers that using OO and TDD leads to more easily maintained code?" As someone who tried to introduce TDD to a team who uses Java in the same manner you described I would say it's pretty much useless :) I worked with people who thought that OO meant using a class and that's it! I've seen TDD and unit testing abused to produce a single function with hundreds of lines of code.
Jun
20
awarded Notable Question
Jun
17
comment DDD – duplicity between Aggregates – should I use one table?
@FrantišekMaša I'm not sure that I follow what your are trying to achieve, but if you need your cart item to have the product name then instead of (ProductId + Quantity) make it a (ProductValueObject + Quantity). The ProductValueObject will consists of (ProductId + ProductName)
Jun
16
comment DDD – duplicity between Aggregates – should I use one table?
A shopping cart doesn't have a list of products. It has a list of purchased items. A purchased item is a (ProductId + Quantity). The purchased item would have a reference to the ProductId of the Product entity in the Listing BC.
Jun
11
awarded Autobiographer
Jun
11
awarded Supporter
Jun
10
awarded Notable Question
Jun
6
awarded Notable Question
May
30
awarded Popular Question
May
29
comment Movie where author writes the life of some guy?
Funny that googling "Movie where a writer writes what happens to a guy" shows "Stranger than fiction" as the 2nd result after this question :)
May
12
awarded Notable Question
May
6
awarded Notable Question
May
3
awarded Yearling
May
3
awarded Yearling
Apr
28
comment How can I find out from an interview if the manager is a micromanager?
What I noticed about micro-managers that I worked with is they are task oriented not people oriented. They lack proper communication and presentation skills. The always think that their way is the best way. Usually talk about the team member's mistakes. Usually point out other people mistakes. Use statements such as "This is the way it should/should have been done." or "Do it this way.".
Apr
27
awarded Nice Question
Apr
20
answered Design ideas - validation based on conditions outside of the domain
1 2 3 4 5