Archive for August 2014

Week 35, year 2014

  • Decoupling the Model from the Framework - Video The talk that I mention is The Framework as an Implementation Detail by Marcello Duarte and Konstantin Kudryashov. Presentations Laracon Europe in Amsterdam, August 30, 2014 Joind.in reviews Symfony User Group Belgium, Ghent, January 29, 2014 Your company or event? Contact me Read more CRUD is an anti-pattern Decoupling (Symfony2) Forms from Entities Domain Events Messaging Flavours [Mathias Verraes]
  • Sterile Estimation - On Estimation The Cost of Estimation Sterile Estimation To reduce the risk of incidents, the FAA imposed the so-called “sterile cockpit” regulation. Most air traffic accidents happen while taking off or landing, or in the vicinity of airports. The rule instructs pilots and cabin crew to refrain from non-essential activities and conversations while the plane is below 10. 000 feet. Anchoring Bias Let’s try an experiment. Do you believe me when I tell you that Mahatma Ghandi died at the ripe old age of 140? Probably not, because that would have been rather spectacular. [Mathias Verraes]
Permalink | From 25 August 2014 to 31 August 2014 | Last updated on: Mon, 7 Jun 2021 09:18:52 GMT

Week 32, year 2014

  • Resolving Feature Envy in the Domain - Benjamin Eberlei did a really nice job of explaining refactoring the Feature Envy code smell on his blog. I wrote a comment because I felt the example could be taken one step further. You should read the original post. Below are Benjamin’s code examples (for reference), followed by a repost of my comment. Original examples <?phpfunctioncalculateReport(DateTime$start,$days){if($days<0){thrownewInvalidArgumentException($days);}$endDate=clone$start;$endDate->modify('+'. $days. [Mathias Verraes]
Permalink | From 04 August 2014 to 10 August 2014 | Last updated on: Mon, 7 Jun 2021 09:18:52 GMT