This post is a little snippet on using Linq to find duplicates in a list of objects where a specific property of the object is used to find the duplicates. In this particular example, the objects are Lessons and in addition to other properties each lesson has a AddedDate property and what we need to do is find all lessons where the AddedDate is a duplicate of another lesson.

Useful AngularJS resources for beginners

I’ve been starting to learn AngularJS. These are some resources that I’ve found useful:

  1. A better way to learn AngularJS
  2. Recommended scalable AngularJS project structure
  3. AngularJS CRUD application demo demonstrates how to write a typical, non-trivial CRUD application using AngularJS.
  4. AngularFun is an AngularJS large application Reference Architecture.
  5. Angular-RequireJS HTML5 Boilerplate seed is an application skeleton for a typical AngularJS web app with RequireJS for modularized components.
  6. AngularJS Best Practices: I’ve been doing it wrong! Part 1 of 3 is a guide to developing large-scale web applications in AngularJS.
  7. ng-Polerplate is the goto resource for kickstarting your AngularJS projects: a best-practice directory structure, an intelligent build system, and the best web design libraries around.

Finally staying on the subject of Javascript MV* frameworks, there is now a competing sync / data extension called Ember.js Persistence Foundation that looks mighty impressive. Notably it has:

  • Emphasis on correctness and stability.
  • Full support for relationships. Easily modify arbitrarily complex model graphs.
  • Built around synchronization. Framework assumes updates are always streaming in.
  • Robust handling of conflicts and errors.
  • Simple to fork and isolate changes to models.
  • All operations are structured around JavaScript promises.
  • Feature parity with Ember-Data with an easy migration path.

Yep, nice sync, synchronization. Yummy…