Geeks With Blogs

@JReuben1
  • JReuben1 AngularJS Directive templateUrl --> halfway to W3C WebComponents ! about 555 days ago
  • JReuben1 Yeoman AngularJS generator - generate controllers, views, routes, services - NICE! about 557 days ago
  • JReuben1 A comparison of HTML5 Canvas 2D JS libs http://t.co/fcB7jvnhqY KineticJS , EaselJS, fabric.js, Paper.js, processing.js seen as the leaders about 557 days ago

Josh Reuben Meta-Programming
Code Query Language - for static analysis
Introduction · CQL is a SQL-like language (SELECT..FROM..WHERE) for static analysis of .NET code. · It is a nice complement to code contracts, & is usable in unit tests. If you've ever looked at creating custom FxCop rules using the archaic and undocumented Introspection API (see http://www.binarycoder.net/... ), then you will appreciate the elegant CQL syntax for static analysis! · supported by NDepend http://www.NDepend.com How It Works · Lets dive into a contrived example ......

Posted On Tuesday, September 13, 2011 12:21 PM

Does Microsoft have a Model Driven Development strategy?
I recently asked question this question as a post on the Microsoft modeling and tools forum: Various Microsoft attempts at MDD have failed or been put on the back burner: WhiteHorse, Software Factories, Oslo. Does Microsoft have any strategy for Model Driven Development? Will any of the forementioned tools ever see the light of day? Stuart Kent responded to my question here: http://blogs.msdn.com/b/stu... - Have a look at his post: ......

Posted On Thursday, April 7, 2011 6:49 PM

Stop writing ViewModels and start using T4 !!!!
If you hate being a mindless drone in some Illogical software sweatshop, switch to T4. Note that you cannot use reflection - you must use EnvDTE or your VS instance will lock. Use the T4Toolbox to access the current TransformContext to pull classes from files. Apply an iteration to generate properties in the target class that use the model source class for backing properties and change notification. It just works! <#@ templatedebug="true" hostSpecific="true" #> <#@ outputextension=".cs" ......

Posted On Wednesday, March 30, 2011 8:49 PM

Code Contracts and Defensive Programming
I've gotten used to Resharper's recommendation for defensive coding (see http://en.wikipedia.org/wik... – never trust the client! private void Bar(string x){ if (x == null) return; But how to get this to play with Design By Contract using Code Contracts? I had a look at http://weblogs.asp.net/gunn... - which shows me how to leverage the ContractFailed event and throw my own exceptions. I don't want to throw ......

Posted On Sunday, November 28, 2010 7:19 AM

Code Contracts - the dark horse of the PDC
· Make Coding Assumptions Explicit and Tool Discoverable. provide a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of pre-conditions, post-conditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. · bring the advantages of design-by-contract programming to all .NET programming ......

Posted On Sunday, November 2, 2008 9:32 PM

Oslo Required!
Limitations in workflows requiring workarounds: Designer is slow – make a coffee slow! A setStateActivity is not the end of the Workflow’s current flow! In binding, how do you access the properties of dependnecy property sub-properties? a dependency property custom activity for receieveactivity binding must be inside the receiveactivity In rule condition, you cannot reference a dependency property in a custom activity a code activity cannot work on an adjacent activity without explicitly specifying ......

Posted On Friday, October 24, 2008 7:07 PM

10 posts in 1
Imagine that every project in codeplex had to be decomposed into codeplex hosted unit tested functions which complied to some xunit standard - that would go along way towards code reuse, and move away from reinventing the wheel. worked on 2 Silverlight projects recently - see screenshots: and Last 3 months learned the following: NET Components revise – reread Yuval Loweys book – revised best mechanism for interface usage, delegates (circa .NET Framework 2.0), threading. The Interface stuff leads ......

Posted On Tuesday, June 3, 2008 12:45 PM

Copyright © JoshReuben | Powered by: GeeksWithBlogs.net | Join free