Cleancode - cleancode.co.nz - CleanCode NZ

Latest News:

Multi values field development drupal 22 Jul 2013 | 06:53 am

Field api is a very useful feature in drupal in terms of extension of entity, reuse of code and modularization of software development. To me the Field is the way to establish the references between ...

Expression Tree and Merge of Expressions 28 Jun 2013 | 09:03 am

The Expression class in C# allows you to build computational expressions in run time. Most of examples you can find are showing you how to build a simple scenario of a binary expression, as a tree it ...

How to modify static javascript data in Drupal 27 Jun 2013 | 09:25 am

We can add javascript or javascript settings in drupal by calling drupal_add_js(), in some cases you may want to remove some javascript you add earlier. There is no built in function like drupal_remo...

javascript in Depth 21 Jun 2013 | 08:28 am

In javascript, have you ever been confused by prototype and __proto__, what is best way to do inheritance? what the type of object it actually is? where are those apply or call methods from? and what ...

Multiple file upload using managed_file in drupal 30 Jan 2013 | 08:22 am

There is already a multiple file management module in drupal: plupload, but no luck when I tried to use it following their instructions. The above element only gave me a few lines of text on the form,...

Share MVC PartialView between server and client 21 Nov 2012 | 03:46 am

In MVC you can divide a big view into smaller partial views, while with ajax these partial views can also be used by ajax to do partial update of an already rendered page. In the partial view you can ...

MVC DropDownList IEnumerable binding error 16 Nov 2012 | 01:01 am

When you try to bind a model field with a dropdownlist in view, you need to create a SelectList in controller then pass that SelectList to view from ViewBag or ViewData, normally there will be a conve...

More than one export was found that matches the constraint 1 Nov 2012 | 02:22 am

When using MEF, you might one day find a class that is marked as export is not exported. Having a look at the trace window in VS, there is a line as: More than one export was found that matches the co...

Lifetime of parts created by MEF container 3 Oct 2012 | 05:00 am

You might be confused that when lifetime of parts that are created by MEF container.GetExportedValues appeared to be NOT controlled by their container. the confusion comes from that fact that most of ...

A Complete Example of WCF,Ajax, SSL and None SSL 10 Sep 2012 | 08:53 am

Here is a complete example of using wcf and ajax via JQuery, the configuration for wcf under ssl is also included. Client : javascript code It is using JQuery.ajax, when using POST, it must be stringf...

Recently parsed news:

Recent searches: