|Languages >> .net|
|Language:||English||Quality:||Average||Has Audio:||true||Source:||SkillMatter||Media:||Flash||Posted On:||06 Feb 09|
In this session Jon Skeet, author of Manning's C# In Depth, explains the "Push LINQ" framework he developed with Marc Gravell.
The "standard" LINQ to Objects is based on IEnumerable, involving the consumer "pulling" data from a supplier. This works very well in many cases, but has some unfortunate consequences when many consumers are interested in the same data, or when a producer wishes to push data selectively from a single source to different consumers.
Push LINQ is based on observers subscribing to events to see data as it's produced. This enables multiple aggregates to be computed with a single pass through the data, as well as allowing data to be fully streamed in cases which might otherwise require buffering
Tags: SkillMatter, screencast, .net, LINQ, framework, [SUGGEST A TAG]