RSS feed [root] /weblog /design




login:

password:

title search:




 


Thu Apr 06 06:32:51 GMT 2023

design



(google search) (amazon search)
second
download zip of files only

Sun Jun 10 14:54:15 GMT 2012 From /weblog/design/examples

llvm


The design of LLVM - http://www.drdobbs.com[..]9_h&elq=d513b4b897824dcc8fef763eaf9bc12a

(google search) (amazon search)


Thu Jun 07 17:22:23 GMT 2012 From /weblog/design

state machine


http://www.javacodegeeks.com[..]developers-never-use-state-machines.html

(google search) (amazon search)


Thu Jun 07 17:21:55 GMT 2012 From /weblog/design

text


Is it better to wrap all node with methods, or use regular expression to manipulate? I think we should use best tools case by case. - http://www.codinghorror.com/blog/archives/000617.html

Matching Wildcards: An Algorithm - http://www.ddj.com/architect/210200888?pgno=1

Generic Text Comparison Tool with LCS Approach - http://www.javacodegeeks.com[..]neric-text-comparison-tool-with-lcs.html

(google search) (amazon search)


Sun May 20 08:51:05 GMT 2012 From /weblog/design

immutability


Java Immutability - http://www.theserverside.com[..]_id=50161&asrc=EM_NLN_4133229&uid=703565

"A similar pattern is that with objects that you need to open before usage and make sure that they are closed on usage completion."

http://digerati-illuminatus.blogspot.com[..]2/initialize-pattern-and-open-close.html

Discussion of various approach that implement immutable class - http://discuss.joelonsoftware.com/default.asp?design.4.601499

How to create immutable class, and why it is better? - http://www.infoq.com/presentations/Immutable-Object

Immutable Event - http://blog.jonathanoliver.com[..]/cqrs-event-sourcing-and-immutable-data/

(google search) (amazon search)


Sat May 12 16:25:08 GMT 2012 From /weblog/design

reference


Contain discuss about if value object should be immutable or it is still ok - http://c2.com/cgi/wiki?ValueObject

MongoDB architecture - http://horicky.blogspot.com.au/2012/04/mongodb-architecture.html

Why clocksource.h is a nice API - http://queue.acm.org/detail.cfm?id=2187657&ref=fullrss

(google search) (amazon search)


Mon Apr 16 14:38:34 GMT 2012 From /weblog/design/distribute

storage


How facbook manage photo storage - http://www.facebook.com/note.php?note_id=76191543919&ref=mf

Promotion letter for oracle coherence, but still a good reading - http://highlyscalable.wordpress.com[..]e-of-high-performance-ecommerce-backend/

(google search) (amazon search)


Sun Mar 25 02:03:05 GMT 2012 From /weblog/design

defensive


A nice reference - http://hoskinator.blogspot.com[..]m/2006/07/what-is-defensive-copying.html

Defensive coding - http://www.javacodegeeks.com[..]nsive-programming-being-just-enough.html

(google search) (amazon search)


Thu Mar 01 14:35:45 GMT 2012 From /weblog/design/examples

mailinator compresses


How Mailinator compresses email by 90%, how to analysis the bottleneck and how to find the solution to get good compression ration and also fast to compress - http://mailinator.blogspot.com[..]w-mailinator-compresses-email-by-90.html

(google search) (amazon search)


Mon Feb 20 16:02:15 GMT 2012 From /weblog/design

trade off


Discussion of trade off between having modular design which is easy to test difference module independencely , verse have big testable context that able to write test for all module - http://blog.objectmentor.com[..]s/2007/06/11/collateral-effort-revisited

Discussion of trade off between performance and consistent about distributed system - http://www.allthingsdistributed.com[..]d.com/2008/12/eventually_consistent.html http://www.infoq.com/news/2008/03/ebaybase http://www.infoq.com/news/2009/01/EventuallyConsistent,

Discussion about good thing and bad thing for blocking method - http://javarevisited.blogspot.com[..]s-blocking-methods-in-java-and.html#more

(google search) (amazon search)


Wed Dec 21 13:30:43 GMT 2011 From /weblog/design

term


Compare related words - http://caminao.wordpress.com[..]011/12/11/reflections-for-the-perplexed/

(google search) (amazon search)


Wed Oct 19 13:04:52 GMT 2011 From /weblog/design/interview

K&R


Discuss about C and C++ - http://drdobbs.com[..]int?articleId=184408272&siteSectionName=

Discuss about history of C, UNIX and GO - http://drdobbs.com[..]rint?articleId=229502480&siteSectionName


(google search) (amazon search)


Sun Oct 16 15:52:23 GMT 2011 From /weblog/design/interview

Continuous Delivery


Overview of CD, and some Q & A - http://www.infoq.com/articles/humble-farley-continuous-delivery

(google search) (amazon search)


Sun Oct 16 15:51:03 GMT 2011 From /weblog/design/interview

Kent Beck


Passion of coding make a lot of difference - http://jimhighsmith.com[..]/07/interview-with-kent-beck-circa-2001/

(google search) (amazon search)


Sun Oct 09 02:09:16 GMT 2011 From /weblog/design

racing


Discussion about racing condition - http://www.slideshare.net[..]smatter/cqrs-race-conditionsandsagasohmy

(google search) (amazon search)


Sun Oct 02 17:04:16 GMT 2011 From /weblog/design

robust


Robustness, list of general design principle - http://www.makinggoodsoftware.com[..]2/robustness-the-forgotten-code-quality/ http://www.makinggoodsoftware.com[..]tics-of-a-robust-application-or-service/

How to write readable code - http://www.simple-talk.com[..]net-framework/writing-maintainable-code/

(google search) (amazon search)


Wed Sep 14 16:44:48 GMT 2011 From /weblog/design

enterprise


Top 10 mistake that cause poor performance Java EE - http://www.theserverside.com/news/thread.tss?thread_id=45187 which, the concept apply much more than enterprise

http://www.makinggoodsoftware.com[..]the-architecture-for-a-software-project/

(google search) (amazon search)


Wed Sep 14 16:39:54 GMT 2011 From /weblog/design

samples


A comment about jsch library, discuss about how the author compare this with commerice library, how easy to use, what make it easy or not easy to user, and how to make it easier a nice reading for writing library

http://www.logemann.org[..]?permalink=jsch_a_SFTP_java_library.html

A simple implementation of cache - http://weblog.plexobject.com/?p=1568

Good examples of bad codes - http://isagoksu.com[..]ike-a-senior-developer-about-clean-code/

Design of recommandation engine - http://horicky.blogspot.com/2011/09/recommendation-engine.html

(google search) (amazon search)


Tue Aug 23 16:39:31 GMT 2011 From /weblog/design

Object Calisthenics


Object Calisthenics is an idea suggest by Jeff Bay in The ThoughtWorks Anthology , and lists 9 rules to writing better Object Oriented code. For those who haven’t seen the book, the 9 rules are:

# Use only one level of indentation per method
# Don’t use the else keyword
# Wrap all primitives and strings
# Use only one dot per line
# Don’t abbreviate
# Keep all entities small
# Don’t use any classes with more than two instance variables
# Use first-class collections
# Don’t use any getters/setters/properties

http://www.markhneedham.com[..]1/06/object-calisthenics-first-thoughts/

(google search) (amazon search)


Sat May 14 19:02:16 GMT 2011 From /weblog/design

LawOfDemeter


http://c2.com/cgi/wiki?LawOfDemeter

(google search) (amazon search)


Sat May 14 18:59:23 GMT 2011 From /weblog/design

unmaintainable


http://mindprod.com/jgloss/unmain.html

http://c2.com/cgi/wiki?CodeSmell

(google search) (amazon search)


Sat May 14 18:52:07 GMT 2011 From /weblog/design/pattern

criticism


Suggest use to take a fresh look of original "pattern language" - http://perl.plover.com/yak/design/ , in his opinions, it is more about separate design to difference groups than create reusable design.

Some more... http://www.relevancellc.com[..]007/5/17/design-patterns-are-code-smells http://www.codinghorror.com/blog/archives/000899.html

Some say pattern should be language feature ... http://www.codinghorror.com/blog/archives/000308.html

Closely related, there are no golden rules and silver bullet, Design Pattern can help us in some design problem and provide some design suggestion. However, we need to know what it good for and bad for
http://jchyip.blogspot.com/2008/01/gefn.html
http://jchyip.blogspot.com[..]est-practice-vs-pattern-vs-standard.html
http://jchyip.blogspot.com[..]ndard-approach-does-not-necessarily.html

Use pattern in hello world, sample of over engineering: http://developers.slashdot.org/comments.pl?sid=33602&cid=3636102


(google search) (amazon search)



Sat May 14 18:40:40 GMT 2011 From /weblog/design

interface


Arguement of overuse interface, I trend to support - http://blog.sidu.in[..]ramming-to-interfaces-strikes-again.html

A very long discussion related, Test-friendly, but not caller-friendly? - http://www.nabble.com[..]ring-your-development--t2039307i120.html

Comparison of interface vs. abstract class - http://blogs.sun.com[..]ry/api_design_interfaces_versus_abstract

Some issue of marker interface, may be annotation can help. However, I don't think those so call issue are really problem, those just poor usage of marker interface - http://java.dzone.com/articles/are-marker-interfaces-dead

http://martinfowler.com/eaaDev/OrganizingPresentations.html

(google search) (amazon search)


Sat May 14 18:19:55 GMT 2011 From /weblog/design

manifesto


The 37signals manifesto was our original site from 1999-2001. It's a collection of 37 nuggets of online philosophy and design wisdom. It's a great introduction to the 37signals' school of thought and a fun, quick read to boot. - http://37signals.com/manifesto

(google search) (amazon search)


Sat May 14 18:11:54 GMT 2011 From /weblog/design

deadlock


Deadlock detector sample - http://www.onjava.com/lpt/a/5246 http://www.javaspecialists.eu/archive/Issue130.html http://www.javaspecialists.eu/archive/Issue147.html

Deadlock in J2EE, explaining deadlock in various place, e.g. DB, VM, code,... - http://jdj.sys-con.com/read/204688_p.htm

A blog comment about database deadlock very detail - http://softarc.blogspot.com[..]2007/04/java-wish-list-2-retry-code.html

Technique to prevent deadlock: Automatic Lock Releases, Timeout, automatic detection - http://onjava.com/lpt/a/5246

(google search) (amazon search)