Przejdź do treści
Logo

kuling.pl

  • Główna
  • Arkdisk
  • Forum
  • Kontakt

Jesteś tutaj

Start

blog

(not) Threadsafe Events

published by Kuling on pon., 2012-04-23 15:03

http://www.codeproject.com/Articles/37474/Threadsafe-Events

Cytat:

"Callbacks" (usually events in C#) have always been problematic for multithreaded programming. This is because a good rule of thumb for component design is: Do your best to allow the event handler to do anything. Since "communicate with another thread that is attempting to take any lock" is one example of "anything", a natural corollary of this rule is: Never hold locks during callbacks.

Cytat:

A general-purpose solution does not exist, and all other solutions have serious drawbacks (placing severe restrictions on the actions available to the event handler).
Kategorie: 
Programowanie
  • Czytaj dalej wpis (not) Threadsafe Events
  • Blog
  • 12 odsłon

Dependency injection

published by Kuling on pt., 2012-03-30 14:02

Cytat:
One benefit of using the dependency injection approach is the reduction of boilerplate code in the application objects since all work to initialize or set up dependencies is handled by a provider component.

Another benefit is that it offers configuration flexibility because alternative implementations of a given service can be used without recompiling code. This is useful in unit testing, as it is easy to inject a fake implementation of a service into the object being tested by changing the configuration file, or overriding component registrations at run-time.

Furthermore, dependency injection facilitates the writing of testable code.


http://en.wikipedia.org/wiki/Dependency_injection
http://en.wikipedia.org/wiki/Inversion_of_control
http://en.wikipedia.org/wiki/Dependency_inversion_principle
Kategorie: 
Programowanie
  • Czytaj dalej wpis Dependency injection
  • Blog
  • 38 odsłon

Design Patterns: Elements of Reusable Object-Oriented Software

published by Kuling on pon., 2012-02-06 18:46


http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612

W sumie taka sobie 3/5. Przegadana. Wystarczy przekartkować.

1. Introduction
What Is a Design Pattern? * Design Patterns in Smalltalk MVC * Describing Design Patterns * The Catalog of Design Patterns * Organizing the Catalog * How Design Patterns Solve Design Problems * How to Select a Design Pattern * How to Use a Design Pattern

2. A Case Study: Designing a Document Editor
Design Problems * Document Structure * Formatting * Embellishing the User Interface * Supporting Multiple Look-and-Feel Standards * Supporting Multiple Window Systems * User Operations * Spelling Che cking and Hyphenation * Summary

Design Pattern Catalog

3. Creational Patterns
Abstract Factory * Builder * Factory Method * Prototype * Singleton * Discussion of Creational Patterns

4. Structural Pattern
Adapter * Bridge * Composite * Decorator * Facade * Flyweight * Proxy * Discussion of Structural Patterns

5. Behavioral Patterns
Chain of Responsibility * Command * Interpreter * Iterator * Mediator * Memento * Observer * State * Strategy * Template Method * Visitor * Discussion of Behavioral Patterns

6. Conclusion
What to Expect from Design Patterns * A Brief History * The Pattern Community * An Invitation * A Parting Thought

Kategorie: 
Programowanie
  • Czytaj dalej wpis Design Patterns: Elements of Reusable Object-Oriented Software
  • Blog
  • 113 odsłon

Gaiman on Copyright Piracy and the Web

published by Kuling on czw., 2012-01-26 20:25

Skoro wszędzie o ACTA...

Kategorie: 
Rozrywka
  • Czytaj dalej wpis Gaiman on Copyright Piracy and the Web
  • Blog
  • 75 odsłon

Professional Visual Studio 2010 (Wrox Programmer to Programmer)

published by Kuling on sob., 2012-01-21 21:39

Bardzo fajna
http://www.professionalvisualstudio.com/blog/

Kategorie: 
Programowanie
  • Czytaj dalej wpis Professional Visual Studio 2010 (Wrox Programmer to Programmer)
  • Blog
  • 71 odsłon

XAML Editors

published by Kuling on sob., 2012-01-21 17:11

Microsoft Expression Blend 4
http://www.microsoft.com/expression/products/blend_overview.aspx

Kaxaml
http://kaxaml.codeplex.com/

Opis kilku darmowych
http://codeflow49.blogspot.com/2010/03/four-free-xaml-editors-reviewed.html

Kategorie: 
Programowanie
  • Czytaj dalej wpis XAML Editors
  • Blog
  • 59 odsłon

Client-Side Reporting with Visual Studio in C#

published by Kuling on pt., 2012-01-20 19:27

Aktualnie na tapecie

Kategorie: 
Programowanie
  • Czytaj dalej wpis Client-Side Reporting with Visual Studio in C#
  • Blog
  • 67 odsłon

Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4

published by Kuling on czw., 2012-01-19 21:57

Przeczytana, polecam
http://www.amazon.com/Pro-WPF-2010-Presentation-ebook/dp/B003YFJ6Q2

Kategorie: 
Programowanie
  • Czytaj dalej wpis Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4
  • Blog
  • 89 odsłon

TeamCity

published by Kuling on czw., 2012-01-19 21:47

http://www.jetbrains.com/teamcity/
http://www.jetbrains.com/teamcity/documentation/demos/installation/index.html

Kategorie: 
Narzędzia
  • Czytaj dalej wpis TeamCity
  • Blog
  • 73 odsłony

Erlang

published by Kuling on czw., 2012-01-19 21:43

http://learnyousomeerlang.com/content
http://www.erlang.org/doc.html
http://en.wikipedia.org/wiki/Erlang_%28programming_language%29

Kategorie: 
Programowanie
  • Czytaj dalej wpis Erlang
  • Blog
  • 76 odsłon

Strony

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • następna ›
  • ostatnia »

Archiwum

  • Kwiecień 2012 (1)
  • Marzec 2012 (1)
  • luty 2012 (1)
  • Styczeń 2012 (7)
  • Grudzień 2011 (2)
  • Listopad 2011 (2)
  • Październik 2011 (2)
  • Wrzesień 2011 (3)
  • Sierpień 2011 (2)
  • Lipiec 2011 (3)
  • Czerwiec 2011 (1)
  • Kwiecień 2011 (4)
  • luty 2011 (1)
  • Styczeń 2011 (2)
  • Listopad 2010 (6)
  • Październik 2010 (5)
  • Sierpień 2010 (10)
  • Lipiec 2010 (3)
  • Czerwiec 2010 (2)
  • Maj 2010 (1)
  • Kwiecień 2010 (2)
  • luty 2010 (4)
  • Styczeń 2010 (5)
  • Grudzień 2009 (5)
  • Listopad 2009 (1)
  • Październik 2009 (4)
  • Wrzesień 2009 (6)
  • Sierpień 2009 (11)
  • Lipiec 2009 (23)
  • Czerwiec 2009 (14)
  • Maj 2009 (23)
  • Kwiecień 2009 (22)
  • Marzec 2009 (14)
  • luty 2009 (20)
  • Styczeń 2009 (14)
  • Grudzień 2008 (17)
  • Listopad 2008 (12)
  • Październik 2008 (10)
  • Wrzesień 2008 (4)
  • Lipiec 2008 (2)
  • Czerwiec 2008 (5)
  • Maj 2008 (5)
  • Kwiecień 2008 (9)
  • Marzec 2008 (9)
  • luty 2008 (30)
  • Styczeń 2008 (22)
  • Grudzień 2007 (15)
  • Listopad 2007 (19)
  • Październik 2007 (10)
  • Wrzesień 2007 (22)
  • Sierpień 2007 (21)
  • Lipiec 2007 (29)
  • Czerwiec 2007 (53)
  • Maj 2007 (61)
  • Kwiecień 2007 (14)
  • Marzec 2007 (5)
  • luty 2007 (4)
  • Styczeń 2007 (16)
  • Grudzień 2006 (69)
  • Listopad 2006 (15)
  • Wrzesień 2006 (25)
  • Sierpień 2006 (20)
  • Lipiec 2006 (10)
  • Czerwiec 2006 (10)
  • Maj 2006 (35)
  • Kwiecień 2006 (5)
  • Marzec 2006 (15)
  • luty 2006 (5)
  • Grudzień 2005 (10)
  • Listopad 2005 (15)
  • Sierpień 2005 (10)
  • Lipiec 2005 (20)
  • Czerwiec 2005 (30)
  • Maj 2005 (30)
  • Kwiecień 2005 (34)
  • Marzec 2005 (14)
  • luty 2005 (10)
  • Grudzień 2004 (30)
  • Listopad 2004 (48)
  • Październik 2004 (25)
  • Sierpień 2004 (18)
  • Lipiec 2004 (30)

Kategorie

  • Angielski (1)
    • FCE (0)
  • Dom (4)
    • Akwarium (3)
    • Kot (2)
  • Gry (11)
    • Counter Strike (8)
  • Informatyka (15)
    • Hardware (15)
      • Mój komputer (14)
    • Linux (0)
    • Programowanie (175)
      • C++ (134)
        • Concurrency (66)
        • Exceptions (14)
        • Templates (21)
      • Narzędzia (10)
        • Visual Studio 2003 (21)
        • Visual Studio 2005 (45)
        • Visual Studio 2008 (33)
        • Visual Studio 2010 (13)
      • PHP (9)
    • Windows (18)
  • Internet (10)
    • Drupal (18)
    • Linki (29)
  • Miejsca (2)
    • Poznań (3)
    • Sieradz (1)
    • Wrocław (12)
    • Zgorzelec (0)
  • Pieniądze (122)
    • Giełda (47)
    • Inwestowanie (66)
    • Mieszkanie (69)
  • Rodzina (14)
    • Magda (1)
  • Rozrywka (66)

Logowanie

  • Utwórz nowe konto
  • Prześlij nowe hasło
Theme provided by Danetsoft under GPL license from Danang Probo Sayekti