Showing posts with label DnA. Show all posts
Showing posts with label DnA. Show all posts

Friday, October 3

Everything is a network

The new project I'm currently working on, called Dynamic Network Adapter (or DnA for short) evolve around the idea that networks are great tool and can help model the world.

You can see it in many different areas. Social Network really took of in the past two years and this is just one area.
Computer network are part of our life.
Even terrorist networks are kind of network.

What I'm trying to say is that working with a man that thought me to see network is everything seem wired at the time. But now it much easy to watch on human behavior and process happening around us as network.

We are developing a computer model to use this network thinking for different purposes.

More will come.

Monday, August 25

NHibernate

I've start to work on a new project.
One of the base building blocks of that project is something we call "bank".
Bank can be anything from simple list of items (which maps to simple table in a database) to a complex network of objects like tree for example (which maps to several tables with relation in a database).

I've start to write some sample code to see how I can solve this problem. I've worked for a week just to produce a solution to loading a bank from a database tables. I've not yet got to saving the bank back to the database.

Then, after talking to a friend about this problem, I've got to learn about NHibernate.
After few hours of reading the getting reference document and searching the web I've got a solution for both loading and saving virtually any form of bank to and from a database tables.

I have to say I am amaze from the easy of use and the abilities NHibernate has. All the plumbing of tracking the objects state (loaded, modified, delete) are now in the hand of NHibernate, yet I can "plug" into the process using various plug-in points left by the developers of NHibernate to observe or participate in the process of loading and saving the objects.

Next time I'll write about "dynamic bank" - how to let the user define bank without the need to create database table.