۱۳۸۸/۰۶/۱۴

Dependency Injection


در ادامه مباحث بهتر كد بنويسيم و الگوهايي كه در اين رابطه معرفي شدند، اخيرا كتابي از انتشارات manning منتشر شده تحت عنوان Dependency Injection . هر چند به ظاهر اين كتاب براي جاوا كارها تهيه شده اما قسمت عمده‌اي از آن براي ساير زبان‌هاي برنامه نويسي ديگر نيز قابل استفاده است.




DESCRIPTION
In object-oriented programming, a central program normally controls other objects in a module, library, or framework. With dependency injection, this pattern is inverted—a reference to a service is placed directly into the object which eases testing and modularity. Spring or Google Guice use dependency injection so you can focus on your core application and let the framework handle infrastructural concerns.
Dependency Injection explores the DI idiom in fine detail, with numerous practical examples that show you the payoffs. You'll apply key techniques in Spring and Guice and learn important pitfalls, corner-cases, and design patterns. Readers need a working knowledge of Java but no prior experience with DI is assumed.

WHAT'S INSIDE:
◊ How to apply it (Understand it first!)
◊ Design patterns and nuances
◊ Spring, Google Guice, PicoContainer, and more
◊ How to integrate DI with Java frameworks


راستي، اين كتاب تر و تازه رو مي‌تونيد از همين كتاب فروشي‌هاي دور و اطراف نيز تهيه كنيد! در سايت booktraining دات ارگ در قسمت graphics-and-design به تاريخ 4 آگوست.