Ruby style Javascript
http://jsclass.jcoglan.com/
Thursday, December 23, 2010
Friday, November 26, 2010
Friday, November 19, 2010
Wednesday, November 10, 2010
Functional Javascript
Nice Functional Javascript Library
http://osteele.com/sources/javascript/functional/
http://code.google.com/p/functional-javascript/
http://osteele.com/sources/javascript/functional/
http://code.google.com/p/functional-javascript/
Eloquent Javascript
Eloquent Javascript is a book providing an introduction to the JavaScript programming language and
programming in general
Eloquent Javascript
programming in general
Eloquent Javascript
Tuesday, November 9, 2010
ANTLR - Python
Another tool for language recognition
Tuesday, August 10, 2010
Monday, July 12, 2010
Monday, May 31, 2010
Thursday, May 27, 2010
Using Repository and Unit of Work patterns with Entity Framework 4.0
http://blogs.msdn.com/b/adonet/archive/2009/06/16/using-repository-and-unit-of-work-patterns-with-entity-framework-4-0.aspx
(...)
If you have been watching this blog, you know that I have been discussing the various aspects of POCO capabilities we added to Entity Framework 4.0. POCO support makes it possible to do persistence ignorance with Entity Framework in a way that was never possible with Entity Framework 3.5.
If you missed the series on POCO, I’ve listed them here for your convenience. It might be a good idea to quickly check these out.
POCO in Entity Framework : Part 1 – The Experience
POCO in Entity Framework : Part 2 – Complex Types, Deferred Loading and Explicit Loading
POCO in Entity Framework : Part 3 – Change Tracking with POCO
In this post, I’d like to look at how we might be able to take our example a bit further and use some of the common patterns such as Repository and Unit Of Work so that we can implement persistence specific concerns in our example.
(...)
(...)
If you have been watching this blog, you know that I have been discussing the various aspects of POCO capabilities we added to Entity Framework 4.0. POCO support makes it possible to do persistence ignorance with Entity Framework in a way that was never possible with Entity Framework 3.5.
If you missed the series on POCO, I’ve listed them here for your convenience. It might be a good idea to quickly check these out.
POCO in Entity Framework : Part 1 – The Experience
POCO in Entity Framework : Part 2 – Complex Types, Deferred Loading and Explicit Loading
POCO in Entity Framework : Part 3 – Change Tracking with POCO
In this post, I’d like to look at how we might be able to take our example a bit further and use some of the common patterns such as Repository and Unit Of Work so that we can implement persistence specific concerns in our example.
(...)
Friday, May 21, 2010
Tuesday, May 18, 2010
Separation of Concerns with Policy Injection Application Block
http://blogs.msdn.com/sunilkum/archive/2008/07/15/separation-of-concerns-with-policy-injections.aspx
(...)
Introduction
Cross-Cutting Concerns: In computer science vocabulary, cross-cutting concerns are aspects of a program which affect (crosscut) other concerns. These concerns often cannot be cleanly decomposed from the rest of the system in both the design and implementation, and result in either scattering or tangling of the program, or both.
(...)
(...)
Introduction
Cross-Cutting Concerns: In computer science vocabulary, cross-cutting concerns are aspects of a program which affect (crosscut) other concerns. These concerns often cannot be cleanly decomposed from the rest of the system in both the design and implementation, and result in either scattering or tangling of the program, or both.
(...)
Monday, May 17, 2010
Débuter avec Unity
http://wilfriedwoivre.wordpress.com/2010/03/05/dbuter-avec-unity/
(...)
Unity est un concept de développement, disponible dans les Enterprise Library de Microsoft, en version 4.1 lors de l’écriture de cet article. Unity sert à effectuer de l’IoC (Inversion de contrôle) sur les composants que l’on souhaite.
(...)
(...)
Unity est un concept de développement, disponible dans les Enterprise Library de Microsoft, en version 4.1 lors de l’écriture de cet article. Unity sert à effectuer de l’IoC (Inversion de contrôle) sur les composants que l’on souhaite.
(...)
Friday, May 14, 2010
IoC and the Unity Application Block - Going Deeper
http://weblogs.asp.net/podwysocki/archive/2008/02/22/ioc-and-the-unity-application-block-going-deeper.aspx
(...)
Update: Fixed code changed from CTP and More in the series:
IoC and Unity - The Basics and Interception
IoC and the Unity Application Block Once Again
IoC Containers, Unity and ObjectBuilder2 - The Saga Continues
IoC Container, Unity and Breaking Changes Galore
(...)
(...)
Update: Fixed code changed from CTP and More in the series:
IoC and Unity - The Basics and Interception
IoC and the Unity Application Block Once Again
IoC Containers, Unity and ObjectBuilder2 - The Saga Continues
IoC Container, Unity and Breaking Changes Galore
(...)
Unity Dependency Injection IoC Screencast
http://www.pnpguidance.net/Screencast/UnityDependencyInjectionIoCScreencast.aspx
(...)
Unity IoC Screencast
The Unity Dependency Injection / IoC Container is new from Microsoft Patterns and Practices. It will come in both a stand-alone version and bundled within Enterprise Library 4.0 as an alternate configuration mechanism for the application blocks. This screencast shows several common usages of Unity as well as how to use Unity with both the ASP.NET MVC Framework and with ASP.NET Webforms using Model-View-Presenter.
The screencast highlights:
ASP.NET MVC Framework.
ASP.NET Model View Presenter Pattern.
UnityContainer Resolve and BuildUp Methods
UnityContainer RegisterType and RegisterInstance Methods
UnityConfigurationSection for Web.config and App.config
(...)
(...)
Unity IoC Screencast
The Unity Dependency Injection / IoC Container is new from Microsoft Patterns and Practices. It will come in both a stand-alone version and bundled within Enterprise Library 4.0 as an alternate configuration mechanism for the application blocks. This screencast shows several common usages of Unity as well as how to use Unity with both the ASP.NET MVC Framework and with ASP.NET Webforms using Model-View-Presenter.
The screencast highlights:
ASP.NET MVC Framework.
ASP.NET Model View Presenter Pattern.
UnityContainer Resolve and BuildUp Methods
UnityContainer RegisterType and RegisterInstance Methods
UnityConfigurationSection for Web.config and App.config
(...)
Automatic Factories in Unity 2 - Unity 2 Tutorials and Samples
http://www.davidhayden.me/2010/01/automatic-factories-in-unity-2-unity-2-tutorials-and-samples.html
(...)
In Unity 2 there is the concept of Automatic Factories to allow classes or services to defer instantiation of their dependencies to the last possible moment. This is particularly useful when the dependency is expensive to create and is not always used by the service. Think of it as lazy loading of dependencies just like we have lazy loading in O/R Mappers.
I mentioned similar functionality in Autofac in the following tutorial: Auto-Generated Factories in Autofac for Lazy Instantiation - LazyDependencyModule. I recommend you read that tutorial as it talks more about the concepts, etc., whereas here I will only mention a few comments and show you an example. Autofac also goes a bit further than Unity 2 by supporting Lazy and Lazy when using Autofac with the .NET Framework 4.
(...)
(...)
In Unity 2 there is the concept of Automatic Factories to allow classes or services to defer instantiation of their dependencies to the last possible moment. This is particularly useful when the dependency is expensive to create and is not always used by the service. Think of it as lazy loading of dependencies just like we have lazy loading in O/R Mappers.
I mentioned similar functionality in Autofac in the following tutorial: Auto-Generated Factories in Autofac for Lazy Instantiation - LazyDependencyModule. I recommend you read that tutorial as it talks more about the concepts, etc., whereas here I will only mention a few comments and show you an example. Autofac also goes a bit further than Unity 2 by supporting Lazy
(...)
Microsoft Unity 2.0 – April 2010
http://msdn.microsoft.com/en-us/library/ff663144.aspx
(...)
What Does Unity Do? This topic provides a brief overview that will help you to understand what Unity can do, and explains some of the concepts and features it incorporates. It also provides a simple example of the way that you can write code to use Unity.
When Should I Use Unity? This topic will help you to decide if Unity is suitable for your requirements. It explains the benefits of using Unity, and any alternative techniques you may consider. It also provides details of any limitations of Unity that may affect your decision to use it.
About This Release of Unity. This topic contains information about the changes in this release, the target audience and system requirements, migration and side-by-side execution, and links to other Microsoft patterns & practices resources.
Configuring Unity. This topic describes how you can populate a Unity container with the type registrations, mappings, extensions, and other information required by your application.
Using Unity in Applications. This topic explains how to use Unity in your own applications. It explains how to add Unity to your application, how to resolve objects, and how to take advantage of the many other capabilities of Unity.
Design of Unity. This topic explains the decisions that went into designing Unity and the rationale behind those decisions.
Extending and Modifying Unity. This topic explains how to extend Unity and how to modify the source code.
Deployment and Operations. This topic explains how to deploy and update the Unity assemblies and use the instrumentation exposed by Unity.
(...)
(...)
What Does Unity Do? This topic provides a brief overview that will help you to understand what Unity can do, and explains some of the concepts and features it incorporates. It also provides a simple example of the way that you can write code to use Unity.
When Should I Use Unity? This topic will help you to decide if Unity is suitable for your requirements. It explains the benefits of using Unity, and any alternative techniques you may consider. It also provides details of any limitations of Unity that may affect your decision to use it.
About This Release of Unity. This topic contains information about the changes in this release, the target audience and system requirements, migration and side-by-side execution, and links to other Microsoft patterns & practices resources.
Configuring Unity. This topic describes how you can populate a Unity container with the type registrations, mappings, extensions, and other information required by your application.
Using Unity in Applications. This topic explains how to use Unity in your own applications. It explains how to add Unity to your application, how to resolve objects, and how to take advantage of the many other capabilities of Unity.
Design of Unity. This topic explains the decisions that went into designing Unity and the rationale behind those decisions.
Extending and Modifying Unity. This topic explains how to extend Unity and how to modify the source code.
Deployment and Operations. This topic explains how to deploy and update the Unity assemblies and use the instrumentation exposed by Unity.
(...)
Dependency Inversion Principle
http://blogs.developpeur.org/tja/archive/2010/02/10/design-patterns-partie-2-dip-dependency-inversion-principle.aspx
(...)
What Does Unity Do? This topic provides a brief overview that will help you to understand what Unity can do, and explains some of the concepts and features it incorporates. It also provides a simple example of the way that you can write code to use Unity.
When Should I Use Unity? This topic will help you to decide if Unity is suitable for your requirements. It explains the benefits of using Unity, and any alternative techniques you may consider. It also provides details of any limitations of Unity that may affect your decision to use it.
About This Release of Unity. This topic contains information about the changes in this release, the target audience and system requirements, migration and side-by-side execution, and links to other Microsoft patterns & practices resources.
Configuring Unity. This topic describes how you can populate a Unity container with the type registrations, mappings, extensions, and other information required by your application.
Using Unity in Applications. This topic explains how to use Unity in your own applications. It explains how to add Unity to your application, how to resolve objects, and how to take advantage of the many other capabilities of Unity.
Design of Unity. This topic explains the decisions that went into designing Unity and the rationale behind those decisions.
Extending and Modifying Unity. This topic explains how to extend Unity and how to modify the source code.
Deployment and Operations. This topic explains how to deploy and update the Unity assemblies and use the instrumentation exposed by Unity.
(...)
(...)
What Does Unity Do? This topic provides a brief overview that will help you to understand what Unity can do, and explains some of the concepts and features it incorporates. It also provides a simple example of the way that you can write code to use Unity.
When Should I Use Unity? This topic will help you to decide if Unity is suitable for your requirements. It explains the benefits of using Unity, and any alternative techniques you may consider. It also provides details of any limitations of Unity that may affect your decision to use it.
About This Release of Unity. This topic contains information about the changes in this release, the target audience and system requirements, migration and side-by-side execution, and links to other Microsoft patterns & practices resources.
Configuring Unity. This topic describes how you can populate a Unity container with the type registrations, mappings, extensions, and other information required by your application.
Using Unity in Applications. This topic explains how to use Unity in your own applications. It explains how to add Unity to your application, how to resolve objects, and how to take advantage of the many other capabilities of Unity.
Design of Unity. This topic explains the decisions that went into designing Unity and the rationale behind those decisions.
Extending and Modifying Unity. This topic explains how to extend Unity and how to modify the source code.
Deployment and Operations. This topic explains how to deploy and update the Unity assemblies and use the instrumentation exposed by Unity.
(...)
Enterprise Library 4.0 Logging Application Block and Unity IoC Screencast
http://www.pnpguidance.net/Post/EnterpriseLibrary4LoggingApplicationBlockUnityIoCScreencast.aspx
(...)
Enterprise Library 4.0 Logging Application Block with Unity IoC Integration Screencast
A new screencast showing off the use of the Enterprise Library 4.0 Logging Application Block using the EnterpriseLibraryCoreExtension and LoggingBlockExtension that provide Unity IoC Integration. It shows one how to register the Logging Application Block LogWriter Class and how Unity injects the LogWriter Class into your own custom classes.
The screencast highlights:
Enterprise Library 4.0 Logging Application Block.
Unity IoC.
EnterpriseLibraryCoreExtension.
LoggingBlockExtension.
UnityContainer
Injecting LogWriter Classes into Custom Classes.
(...)
(...)
Enterprise Library 4.0 Logging Application Block with Unity IoC Integration Screencast
A new screencast showing off the use of the Enterprise Library 4.0 Logging Application Block using the EnterpriseLibraryCoreExtension and LoggingBlockExtension that provide Unity IoC Integration. It shows one how to register the Logging Application Block LogWriter Class and how Unity injects the LogWriter Class into your own custom classes.
The screencast highlights:
Enterprise Library 4.0 Logging Application Block.
Unity IoC.
EnterpriseLibraryCoreExtension.
LoggingBlockExtension.
UnityContainer
Injecting LogWriter Classes into Custom Classes.
(...)
Thursday, May 13, 2010
Using Unity Application Block – from basics to generics
http://weblogs.asp.net/nmarun/archive/2010/05/05/using-unity-application-block-from-basics-to-generics.aspx
(...)
Part 1: The very basics – Begin using Unity (code here)
Part 2: Registering other types and resolving them (code here)
Part 3: Lifetime Management (code here)
Part 4: Constructor and Property or Setter Injection (code here)
Part 5: Arrays (code here)
Part 6: Generics (code here)
(...)
(...)
Part 1: The very basics – Begin using Unity (code here)
Part 2: Registering other types and resolving them (code here)
Part 3: Lifetime Management (code here)
Part 4: Constructor and Property or Setter Injection (code here)
Part 5: Arrays (code here)
Part 6: Generics (code here)
(...)
Demystifions Unity Application Block
http://marc-chouteau.blogspot.com/2009/01/demistifions-unity-application-block.html
(...)
Unity est un conteneur léger qui permet de réaliser de l’inversion de controle au niveau de l’architecture des applications
La dernière version téléchargeable est la version 1.2 que l’on peut trouver ici : http://www.codeplex.com/unity, c’est un bloc d’application de la libraire d’entreprise de Microsoft V4.1 et peut etre téléchargé individuellement.
(...)
(...)
Unity est un conteneur léger qui permet de réaliser de l’inversion de controle au niveau de l’architecture des applications
La dernière version téléchargeable est la version 1.2 que l’on peut trouver ici : http://www.codeplex.com/unity, c’est un bloc d’application de la libraire d’entreprise de Microsoft V4.1 et peut etre téléchargé individuellement.
(...)
Tame Your Software Dependencies for More Flexible Apps
http://msdn.microsoft.com/en-ca/magazine/cc337885.aspx
(...)
The Inner Dependency Problem
Dependency Inversion
Dependency Injection
Containers
Full-Fledged IoC Containers
Lifetime Management
Auto-Wiring Dependencies
Loosen Up for a Change
(...)
(...)
The Inner Dependency Problem
Dependency Inversion
Dependency Injection
Containers
Full-Fledged IoC Containers
Lifetime Management
Auto-Wiring Dependencies
Loosen Up for a Change
(...)
AOP and Unity - InterfaceInterceptor Example - Unity Dependency Injection Tutorials
Introduction to the Policy Injection Application Block
Python use decorators to pre and post actions when calling a function.
Here is a way to do it in .Net
http://msdn.microsoft.com/en-us/library/ff648328(v=PandP.10).aspx
Another library : Castle Project
http://www.castleproject.org/dynamicproxy/index.html
Here is a way to do it in .Net
http://msdn.microsoft.com/en-us/library/ff648328(v=PandP.10).aspx
Another library : Castle Project
http://www.castleproject.org/dynamicproxy/index.html
Wednesday, May 12, 2010
Tuesday, May 11, 2010
Friday, May 7, 2010
Repository Pattern
This is the clearest explanation i've seen so far from
http://www.primaryobjects.com/CMS/Article108.aspx
http://www.primaryobjects.com/CMS/Article108.aspx
Tuesday, May 4, 2010
Monday, May 3, 2010
Visual Studio 2010 and .NET Framework 4 Training Kit
ADO.NET Entity Framework - VIDEOS
Entity Framework : personnaliser le modèle d’entités
Framework Entity – Nouveautés apportées par le Framework .NET 4.0
PDF French -- DOTNET-France
http://www.dotnet-france.com/Documents/ADOLinq/Nouveaut%C3%A9s%20apport%C3%A9es%20par%20le%20Framework%20.NET%204.0.pdf
http://www.dotnet-france.com/Documents/ADOLinq/Nouveaut%C3%A9s%20apport%C3%A9es%20par%20le%20Framework%20.NET%204.0.pdf
Friday, April 30, 2010
Using WCF RIA Services with your POCO
Thursday, April 29, 2010
Implementing simple file upload using Silverlight 4 Drag & Drop
Wednesday, April 28, 2010
Wednesday, April 21, 2010
Monday, April 19, 2010
Sunday, April 18, 2010
Saturday, April 17, 2010
Silverlight / MEF - Plugins
Friday, April 16, 2010
DEVELOPING WITH WCF RIA SERVICES QUICKLY AND EFFECTIVELY
http://live.visitmix.com/MIX10/Sessions/CL09
Sunday, April 11, 2010
Leveraging the ASP.NET Membership in Silverlight
Authentication in Silverlight
http://www.silverlightshow.net/items/Leveraging-the-ASP.NET-Membership-in-Silverlight.aspx
http://www.silverlightshow.net/items/Leveraging-the-ASP.NET-Membership-in-Silverlight.aspx
Thursday, March 11, 2010
Wednesday, March 10, 2010
Introduction aux Parallel Extensions
Tuesday, March 9, 2010
Monday, March 8, 2010
Apophysis - Dragon Eggs
Simply Wonderful
Thank you very much Elizabeth for this marvelous jewel
Thank you very much Elizabeth for this marvelous jewel
{---------------------------------------}
{ Dragon Egg - Random Batch }
{ By Elizabeth Tomchek (etomchek) }
{ 2-5-07 }
{ Documentation as of yet unavailable }
{ --------------------------------------}
fileName := GetSaveFileName;
if CurrentFile = fileName then exit;
DeleteFile(fileName);
for j := 0 to FileCount - 1 do
begin
LoadFlame(j);
ShowStatus('Processing ' + IntToStr(j + 1) + ' of ' + IntToSTr(FileCount));
Clear;
Pivot.mode := 1;
AddTransform;
with Transform do
begin
Variation[V_LINEAR] := 0;
Variation[V_BLUR] := 0.95;
Rotate(270);
Color := 0;
end;
AddTransform;
with Transform do
begin
Variation[V_LINEAR] := (random*0.5)+0.5;
Variation[V_SPHERICAL] := 0.5;
end;
with Transform do
begin
up := (((trunc(random*3)-1)*random)+random*0.5)*(random+1);
over := (((trunc(random*3)-1)*random)+random*0.5)*(random+1);
Translate(up,over);
Rotate(random*360);
Color := 0.5;
end;
AddTransform;
with Transform do
begin
Variation[V_LINEAR] := (random*0.25)+0.75;
Variation[V_SPHERICAL] := 0.25;
end;
with Transform do
begin
up := (((trunc(random*3)-1)*random)+random*0.5)*(random+1);
over := (((trunc(random*3)-1)*random)+random*0.5)*(random+1);
Translate(up,over);
Rotate(random*360);
Color := 1;
end;
// To set the final transform:
SetActiveTransform(transforms);
with Transform do
begin
for i := 0 to NVARS - 1 do
begin
Variation[i] := 0;
end;
a := 1;
b := 0;
c := 0;
d := 1;
e := 0;
f := 0;
end;
Transform.Variation[V_SPHERICAL] := 1;
Flame.FinalXformEnabled := true;
ResetLocation := True;
UpdateFlame := True;
// calculatecolors;
Flame.Name := 'DE-' + Flame.Name;
CalculateBounds;
SaveFlame(fileName);
end;
ListFile(fileName);
UpdateFlame := False;
F# For C# Programmers: Programming In the Small
Introducing Elevate
...That’s where Elevate comes in. Elevate is a Boost-like library for .NET. Our goal at SRT Solutions is to capture the things that we think are missing from the BCL and put them in Elevate so that we can share them between our project groups and the rest of the world. By devoting some of our weekly learning time to add these common bits of code to Elevate, we can save ourselves, our clients, and hopefully other .NET developers time and money....
http://srtsolutions.com/blogs/chrismarinos/archive/2009/08/19/introducing-elevate.aspx
http://srtsolutions.com/blogs/chrismarinos/archive/2009/08/19/introducing-elevate.aspx
Thursday, February 25, 2010
Tutorial Silverlight 4 WCF RIA Services avec 0 ligne de code
WCF RIA Services without SilverLight
Sunday, February 21, 2010
Wednesday, February 17, 2010
Essential jQuery Tips, Plugins and Tutorials for Building a Fancy Website
Thursday, February 11, 2010
Sunday, February 7, 2010
Saturday, February 6, 2010
Friday, February 5, 2010
Wednesday, February 3, 2010
Silverlight, RIA Services, and Your Business Objects
Wednesday, January 27, 2010
Coca for Scientist
If you are afraid of ObjectiveC, this tutorial is definitively a must to follow
http://www.macresearch.org/cocoa_for_scientists
http://www.macresearch.org/cocoa_for_scientists
Monday, January 25, 2010
Table Valued Parameters
Using IEnumerable instead of Datable
http://orionseven.com/blog/2009/09/30/using-table-valued-parameters-in-sql-server-2008-and-c/
http://lennilobel.wordpress.com/2009/07/29/sql-server-2008-table-valued-parameters-and-c-custom-iterators-a-match-made-in-heaven/
http://stackoverflow.com/questions/1863057/why-is-my-table-valued-parameter-empty-when-reaching-the-database
http://orionseven.com/blog/2009/09/30/using-table-valued-parameters-in-sql-server-2008-and-c/
http://lennilobel.wordpress.com/2009/07/29/sql-server-2008-table-valued-parameters-and-c-custom-iterators-a-match-made-in-heaven/
http://stackoverflow.com/questions/1863057/why-is-my-table-valued-parameter-empty-when-reaching-the-database
Monday, January 18, 2010
SQL Server 2008 Table-Valued Parameters and C# Custom Iterators
Sunday, January 17, 2010
Friday, January 15, 2010
Using SQL Server 2008's MERGE statement
Using SQL Server 2008's MERGE statement
MERGE t-sql command enhancement in SQL Server 2008
SQL Server 2008 T-SQL MERGE Statement Example
http://www.sqlservercentral.com/
MERGE (Transact-SQL)
Introduction to Merge Statement
http://www.mssqltips.com/tip.asp?tip=1704
Merge Statement in SQL Server 2008
MERGE t-sql command enhancement in SQL Server 2008
SQL Server 2008 T-SQL MERGE Statement Example
http://www.sqlservercentral.com/
MERGE (Transact-SQL)
Introduction to Merge Statement
http://www.mssqltips.com/tip.asp?tip=1704
Merge Statement in SQL Server 2008
Tuesday, January 12, 2010
Saturday, January 2, 2010
Subscribe to:
Posts (Atom)