Tuesday, January 30, 2007

Stored procedure or Object relational mappings?

Nowadays, software applications use databases extensively while finding the right method is not that easy, problaby because there are so much choices out there. So, Stored procedure or Object relational mappings, ORM? Simple, use store procedures when scaleability is highly concerned. On the other hand, when you want to achieve the highest development productivity, use object realational mappings. How about data access performance? With today technology and tools, performance between the two has not much significant different, however stored procedures method is believed to have a better performance. Security? Recently, ORM method has becoming the most popular choice for developers. Well it all depends on your code implementation. For me, i use ORM such as Dlinq.

Monday, January 29, 2007

Using 2 PCs at one time for better productivity?

Nowadays, we usually have 2 or more PCs at home. We networked them and shared the Internet. Well, for those who are bit geek, why not put your both PCs working in front of you. You will be amazed of significant productivity gain out of it. As for me, i have a notebook and a desktop PC. I use my notebook for writing blogs, surfing the net and do simple photo editing. On the other hand, i use my desktop PC as a web server, down loader, and also as my production machine. I make sure for each time i work, there must be something runing concurently and parallelly; just to do more and save time! Oh yeah, FYI, i always make sure my desktop won't crash and must be always stable, therefore i am using Windows Server 2003. Additionally I always visit or download stuffs from those trusted website. Likewise, I use my notebook so differently, i will do something wild until it crash waiting for reformatting. Cool?

Sunday, January 28, 2007

Help my friend to dig infomation from our Malaysian IC smart card enabled

Today i was invited to help a friend of mine who are a software developer developing an application which apply smart card technology. Smart card is commonly used today. Look at our our malaysian identity card which has smart card enabled and known as MyCard. This is really usefull technology because it actually stores infomation such as your personal infomation, passport infomation, Meps and etc. Currently we are not that advanced yet to use our MyCard as a wallet to purchase stuffs, however one day we will. Well, my friend asked me to help her to create a service to read the MyCard infomation and then save those data into a text file. What i did was I did an interop with those .dll which provided by the smart card reader using p/invoke call using C# .net. I created a class just to hide complexity and encapsulate the MyCard data into a service class. Finally i create a method which write extracted data to a file. All done and my friend is just happy to say "I couldn't effort to lost this codes". Btw, we are lucky enough because we found a nice sofa and sit there for hours of programming while enjoying our coffee and cakes. We are in the Coffee Bean, MidVelly at that time. Initially we plan to go to Starbucks, however the indoor seats are all full.

Are you a software beta tester?

I am not into beta tester but sometimes i will try beta or some software preview to test the lastest innovation and technology. Sometimes, it is worthwhile if u have tested the features that u always wanted otherwise you will be disappointed because you have wasting your time testing the odd software. Well keep in mind that everything you do has a price so test is wisely.

Saturday, January 27, 2007

Object oriented Design

For those who are new to programming, you might just wondered what is actually object oriented design, OOD. Well, OOD is just a methodology in which we think things around us as objects and those object in fact can interact with each other. Therefore we want to model these things as objects in our written code. Sound interesting? if the design is well model in OOD way, we can actually can achieve the highest possible code reusability, program maintainability and development productivity. Nowadays, most of the programming languages today support OOD and in fact if you are a newbie, you are recommended to learn OOD because you will love it. Welcome to IT world!


Carso Owen