Sunday, February 13, 2005
Tambahan
Monitoring and Management with J2SE 5.0.
Classworking toolkit: Cover your code with Hansel and Gretel. How complete are your unit tests? Code coverage tools let you find out.
AOP@Work: AOP tools comparison, Part 1. Language mechanisms.
AOP@Work: AOP tools comparison, Part 2. Development environments
OOAD/OOP
Perbincangan tentang OOP kat ittutor, minggu lepas. Input saya:
Macam2
Castor 0.9.6 has been released.
Trails video: 11 minute walk through.
TechTalk with Cameron Purdy on Caching.
AOP Tools Comparison.
Text: Freedom with Message Format - Part 1: Intro.
Text: Freedom with Message Format - Part 2: Choice Format.
Text: Freedom with Message Format - Part 3: Localization.
Monitoring and Management with J2SE 5.0.
Classworking toolkit: Cover your code with Hansel and Gretel. How complete are your unit tests? Code coverage tools let you find out.
AOP@Work: AOP tools comparison, Part 1. Language mechanisms.
AOP@Work: AOP tools comparison, Part 2. Development environments
OOAD/OOP
Perbincangan tentang OOP kat ittutor, minggu lepas. Input saya:
utk saya, inheritance ni tak mesti digunakan. terdpt cara utk 'memecahkan' sesuatu yg kelihatan spt inheritance kpd composition.
cthnya, sekarang ni, saya kena modelkan consignment note utk pos laju, tnt dan fedex.
satu cara ialah dgn memodalkan 1 base class consignment note dan pos laju, tnt dan fedex sebagai child class yg meng'inherit' base class consignment note tu di mana semua yg common berada dlm base class dan semua yg khusus berada dlm class masing2 (pos laju, tnt, etc)
cara lain ialah menggunakan composition di mana, saya hasilkan satu base class consignment note dan satu interface specific courier yg di implement oleh 3 class iaitu class pos laju, tnt dan fedex. object consignment note ini mempunyai hubungan 1 to 1 dgn salah satu object dpd 3 class ini.
class consignment note ini, kemungkinan besar mempunyai method signiture yg sama atau hampir sama utk kedua2 approach.
utk cth engine di atas, saya suka utk melakukan refactoring bila mendapati class engine yg lama tu, hendak di inherit oleh satu lagi class engine. semua yg common antara kedua2 class engine lama dan baru ini ditarik keluar kedlm satu base class engine dan class engine lama serta class engine yg baru ini, inherit dpd base class engine. ia lebih kemas sikit.
Macam2
Castor 0.9.6 has been released.
Trails video: 11 minute walk through.
TechTalk with Cameron Purdy on Caching.
AOP Tools Comparison.
Text: Freedom with Message Format - Part 1: Intro.
Text: Freedom with Message Format - Part 2: Choice Format.
Text: Freedom with Message Format - Part 3: Localization.
Comments:
Post a Comment