-
| The Latest from DevelopMentor | 216 Results found Showing page 1 of 22 Next > |
- Optimistic concurrency in MongoDB using.NET and C#
Here’s the download for the source, library with the concurrent data context, and the sample app: MongoDB.Kennedy.zip. 'This article demonstrates a technique and supporting library for adding optimistic concurrency control to NoSQL databases and MongoDB in particular. Quickly, what is optimistic concurrency control? Ideally, all databases that allow concurrent access or disconnected access need to implement some form of concurrency control. This usually comes in two flavors: Pessimistic concurrency control. Optimistic concurrency control. Edit in memory. Nice huh? Conclusion.
- Understanding Map - Reduce
Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. 3: public Order().
The Problem Solver - Monday, December 3, 2012 - Understanding Map - Reduce
Running the sample code produces output like this. Quite a few people seem to be intimidated by the concept of Map-Reduce. As it turns out Map-Reduce is actually quite simple and straightforward when you get to understand the basic principle. Basic principle The basic Map-Reduce consists of two steps. guess you are not going to be very surprised when I tell you that these steps are called Map and Reduce. Simple right? And the Reduce process takes the output of the Map process and combines/discards data to produce the result. Again pretty simple right? simple example. 3: public Order().
The Problem Solver - Monday, December 3, 2012 - Improve perceived performance of ASP.NET MVC websites with asynchronous partial views
In the sample case, it’s kind of an iGoogle landing page with different items: TODO, news, etc. Check out the live demo I’ve posted here: Sample: Improve Perceived Performance with Async Partial Views. Imagine you’re building an ASP.NET MVC website which has some performance problems. m sure this would never actually happen to you, but imagine you’re facing this problem just for the sake of exploring the possibilities. :-). Now, you web app is mostly fast and responsive, but there are certain types of data that just bring the whole thing to a grind. First a disclaimer / warning.
Michael C. Kennedy's Weblog - Tuesday, November 13, 2012 - Modern Web Development
The PowerPoint and samples from my presentation at the QNH DevDays in Arnhem. Modern web development from Maurice Beijer SignalR demo Other demos Enjoy! HTML5 WebSockets Knockout SignalR TypeScript
The Problem Solver - Saturday, November 10, 2012 - Modern Web Development
The PowerPoint and samples from my presentation at the QNH DevDays in Arnhem. Modern web development from Maurice Beijer SignalR demo Other demos Enjoy! HTML5 WebSockets Knockout SignalR TypeScript
The Problem Solver - Saturday, November 10, 2012 - HTML5 Slides and Samples
The slides and samples from the HTML5 talk I did yesterday at the DevelopMentor office in London. HTML5 from Maurice Beijer Enjoy! Futures HTML5 Modernizr WebSockets WebWorkers Video IE
The Problem Solver - Thursday, October 18, 2012 - HTML5 Slides and Samples
The slides and samples from the HTML5 talk I did yesterday at the DevelopMentor office in London. HTML5 from Maurice Beijer Enjoy! Futures HTML5 Modernizr WebSockets WebWorkers Video IE
The Problem Solver - Thursday, October 18, 2012 - Understanding Text Encoding in ASP.NET MVC (ASP.NET MVC Foundations Series)
In order to demonstrate these concepts, I created a working sample app here: [link]. You can download the code from the sample as well. This article covers the various ways in which you might handle text encoding in ASP.NET MVC. For example, if you were writing a forum web app, you should absolutely be paranoid about what your users are typing into your site. You need to be very careful about how you redisplay their input. For example, a friendly forum user might write something like: Nice post, thanks for sharing! On the other hand, they may write: <script src=”[link].
Michael C. Kennedy's Weblog - Monday, October 15, 2012 - What’s New in Java ApprovalTests V 0.12
Here’s a sample of how to do that: SmartMapper mapper = new MapperWrapper(new WordCountMap(), LongWritable.class, Text.class, Text.class, LongWritable.class); Once you do this, you will no longer need to wrap all your inputs in the writable classes, HadoopApprovals will wrap primitives into the appropriate context for you In this release of ApprovalTests ( available here ), we’ve only added one thing, but it’s a big thing. Specifically, it’s a big data thing. My thanks go out to John Heintz for helping me to create this. Let’s look into the parts. Do not make it null. Fair point.
DevelopMentor Courses - Wednesday, September 19, 2012