XamlQuery: jQuery for Silverlight (20172 hits) |
Posted by Prabu Arumugam on Jan-05-2010 |
XamlQuery is a lightweight Silverlight library for rapid web development. It simplifies several tasks like page/document traversing; finding controls by name, type & property value; event handling; animating and much more. This article gives a summary about XamlQuery and explains some of the core methods that are used by XamlQuery to find parent and child controls in a rendered Silverlight page. |
|
PGM Image Manipulation (60599 hits) |
Posted by Prabu Arumugam on Feb-12-2010 |
This article discusses about basics of image processing along with details of PNM (portable-any-map) image file formats namely PBM, PGM and PPM. This article accompanies a library to manipulate PGM images. The library can be used to read existing images, display images and create new images. The full source code of the library (in Java & VB.NET) and sample PGM images can be downloaded from the article. |
|
J2ME Contact Management (17871 hits) |
Posted by Prabu Arumugam on Apr-23-2010 |
This article presents a simple contact management application for Java enabled mobile phones. This is a complete working application with persistent storage concepts. This is a great example for beginners of J2ME programming. |
|
BrainBoard for Java Mobiles (14760 hits) |
Posted by Prabu Arumugam on Jun-10-2010 |
BrainBoard is a modified version of classic Peg Solitaire game. This article explains the game concepts and also the programming concepts used during development in J2ME. This article includes the full source code of the game. |
|
StringTable Utility Class (15934 hits) |
Posted by Prabu Arumugam on Jun-21-2010 |
StringTable is a useful data-structure for creating and processing tabular data, similar to System.Data.DataTable class. It is a simple and handy class for many purposes like creating and processing tabular data, reading database (like SQL, Oracle, etc.) table from System.Data.IDataReader, rendering data-grids in ASP.NET and Silverlight pages, creating comma-separated-values (CSV) files, serializing and deserializing tabular data in JSON, etc. |
|
Dynamic Silverlight DataGrid (38014 hits) |
Posted by Prabu Arumugam on Jun-23-2010 |
This article explains how to create dynamic columns and rows for a Silverlight DataGrid control. It helps create a new DataGrid from scratch in code-behind, populated with values from a dictionary. |
|
Json Serialization Utility (14024 hits) |
Posted by Prabu Arumugam on Jun-22-2010 |
Json is a lightweight data storage and interchange format. It is a subset of the object literal notation of JavaScript. In this article, we present techniques to convert any object to and from JSON representation. |
|
Motion Detection Algorithm (36531 hits) |
Posted by Prabu Arumugam on Apr-09-2013 |
This article explains a simple motion-detection algorithm with full source code in C# and Silverlight. The algorithm is implemented by reading and manipulating the images pixel-by-pixel (no third party libraries are used). This is an ideal example for programmers who begin morphological image processing algorithms. |
|
Image Denoising (67526 hits) |
Posted by Prabu Arumugam on Jul-05-2010 |
This article explains image noise and its related concepts. Some noise removal algorithms are explained and illustrated with PGM images with full source code for download. |
|
Expression Evaluation (70228 hits) |
Posted by Prabu Arumugam on Jul-11-2010 |
The shunting-yard-algorithm for expression evaluation is explained with a live demo in silverlight. The article includes a tokenizer, validator (both syntax validation and data-type validation) and an evaluator. The user can enter a free-text expression and see how an expression is converted from infix to postfix form and how it is being evaluated step by step. |
|
Finding all Subsets of a Set (81165 hits) |
Posted by Prabu Arumugam on Jul-18-2010 |
This article explains how to find all subsets of a given set of items, without using recursion. A set contains 2N subsets, where N is the number or count of items in the set. The subsets are found using binary patterns (decimal to binary) of all the numbers in between 0 and (2N - 1). |
|
Apriori Algorithm (175650 hits) |
Posted by Prabu Arumugam on Jul-21-2010 |
This article explain the basics of association rules and how to generate them using Apriori algorithm. A live demo in Silverlight with full source code is included in this article. |
|
K-Means Algorithm (116161 hits) |
Posted by Prabu Arumugam on Aug-03-2010 |
K-means algorithm is explained and an implementation is provided in C# and Silverlight. It includes a live demo in Silverlight so that the users can understand the working of k-means algorithm by specifying custom data points. |
|
Dijkstra's Path Finding (54580 hits) |
Posted by Prabu Arumugam on Aug-29-2010 |
This article explains Dijkstra's shortest path algorithm and applies the concepts to wireless-network routing along with an implementation in C# and Silverlight. The users can create a random map and choose a source and destination node (by clicking) in the map and see the routing visually in the Silverlight output. |
|
Splitting a List Equally (18143 hits) |
Posted by Prabu Arumugam on Jul-28-2010 |
This article explains how to split an arbitrary list of items into equal groups. A generic function is written in C# to illustrate the concept. The function accepts a generic List and required number of groups and returns the groups. |
|
Drawing in Silverlight (25153 hits) |
Posted by Prabu Arumugam on Aug-03-2010 |
This article explains how to develop a simple drawing application similar to Microsoft Paint. The user can draw free-hand shapes using mouse. |
|
BrainBoard in Silverlight (27312 hits) |
Posted by Prabu Arumugam on Aug-12-2010 |
BrainBoard is a modified version of classic Peg Solitaire game. This article explains the game concepts and also the programming concepts used during development in Silverlight. This article includes the full source code of the game. |
|
8pen Demo (20628 hits) |
Posted by Prabu Arumugam on Nov-11-2010 |
This article presents a cool 8pen demo application in Silverlight. If you don't have access to an Android smart-phone, you can learn how to use 8pen using this Silverlight app. |
|
iPhone Expression Calculator (17940 hits) |
Posted by Prabu Arumugam on Nov-25-2010 |
Using this expression-calculator in your iPhone, you can do advanced arithmetic calculations in a single step. No need to do multiple steps or memorize the intermediate results, for calculating the result of a single arithmetic expression. |
|
Silverlight Bullets & Indenting (35750 hits) |
Posted by Prabu Arumugam on Dec-23-2010 |
This article explains how to implement Bullets & Numbering and Indenting in Silverlight 4 RichTextBox control. |
|
DotGame in C using Mouse (21841 hits) |
Posted by Prabu Arumugam on Sep-18-2012 |
It is a two-player game, where a matrix a dots will be presented to the players. Each player has to draw a line between two dots; and a box will be formed if four adjacent dots are connected. Each box will be labelled with the number of the player who drawn the last line of the box. After all the dots in the matrix were connected, the winner will be the player with maximum number of boxes. |
|
Connected Sets Labeling (21651 hits) |
Posted by Prabu Arumugam on Sep-22-2012 |
This article explains a sequential algorithm for finding the connected sets/components in a given matrix. A live Silverlight widget is provided in which the input matrix and regions can be generated dynamically. Full source code is available for download.
|
|
Blowfish Algorithm for iPhone (23675 hits) |
Posted by Prabu Arumugam on Mar-23-2013 |
This article presents the Blowfish algorithm implementation in Objective-C for use in iPhone/iPad projects. The project can be readily opened in Xcode and/or you can include the files in your project. |
|