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

twitter: @songoko20000

Jul
27
awarded Constituent
Jul
21
awarded Caucus
Jul
19
awarded Popular Question
Jul
13
awarded Nice Question
Jul
11
awarded Constituent
Jul
7
awarded Caucus
Jul
5
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.
Jul
3
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
1 2 3 4 5