Posted on June 20th, 2008 by Buu Nguyen
I have worked with so many architects in my career, including those who have the “Architect” word in their business card and those who play architect role in their projects. And while I had good fortune to meet very talented people, I am frequently disappointed by poor architects who put their ego, arrogance, fanaticism (and sometimes, ignorance) before anything else. Recalling the memories I have about the poor architects, I come up with the following grouping. Read more »
Filed under: Development Processes, Management, OOAD, Software Engineering, Technologies | 24 Comments »
Posted on September 30th, 2007 by Buu Nguyen
Unit testing can be difficult sometimes. In some cases, you need to refactor your code-under-test to make it more testable; in other cases, you need to apply some special techniques into your test code so that it can do what you want; and in the worst cases, you can’t think of any such techniques nor are able to refactor the production code and thus, don’t write any test at all. It’s in my experience working with many teams applying unit testing that they often have troubles writing tests for the data access layer (DAL), UI layer, service interface layer, and multi-threading code, mostly because they are not aware of the techniques for doing that. That is not surprisingly difficult to understand though, business logic is much more intuitive and straight-forward to be tested and every single article or book out there will have examples writing test for the business logic firstly.
In this blog entry, I will explore some techniques of testing the data access layer. While it won’t be very comprehensive (I think an entire book can be written just to explore in details all facets of database unit testing), I hope there is enough of topics covered for you to explore more. Read more »
Filed under: Java, OOAD, Software Engineering, Technologies | 7 Comments »
Posted on June 6th, 2007 by Buu Nguyen
I can’t tell you enough about how much surprised I was when some developers applying for senior .NET development position, when being interviewed by me, could not answer very fundamental questions about a specific technology or programming language as well as were not aware of any trends in the field. What I found out was that usually this had something to do with their attitude towards “learning on the job”. Read more »
Filed under: .NET, Management, OOAD, Patterns, Software Engineering, Technologies | 39 Comments »
Posted on May 9th, 2007 by Buu Nguyen
I’ve just come across Jeff Atwood’s post about design patterns. A little bit dated, and I hope he has changed his mind since then, because what he said in the post is ridiculous.
Read more »
Filed under: OOAD, Read List | 3 Comments »
Posted on March 7th, 2007 by Buu Nguyen
In Part 1 and Part 2 of the article entitled The Legend of Data Persistence, I have introduced you to the O-R impedance mismatch, O-R/M tools, ODBMS and its advantages and disadvantages in comparison with RDBMS. Now, once you have decided that you would use an ODBMS for your project, which ODBMS should you use? This article, as a follow-up of The Legend of Data Persistence, aims to introduce you to one of today’s most popular ODBMS implementations, db4objects (db4o).
Read more »
Filed under: .NET, Java, OOAD, Software Engineering, Technologies | 9 Comments »