Wednesday, January 27, 2010

The Building block

Since this comes under the 'WF' tag it would not be difficult for anyone to understand what I am talking about.
Yes its 'Activity'.
Activity is nothing but a piece of re-usable component performing a specified task.When I say re-usable it means across multiple workflows and thats where the catch is.Write Once ,Test Once and there you have something which works fine wherever put into.
WF ships with many activities,a list of which you will find here.The real power of WF is not in the out-of-the-box activities it ships with..it lies within you..Custom Activities.

My first question to such a statement would be,WHY?
WF is nothing but organizing activities in a logical manner addressing the requirement at stake.So the more of custom built activities you have the more easier and faster it is to address your needs.It all becomes the drag'n'drop funda microsoft boasts about and the reason why more developer turn towards it.The same reason why a GUI developer would go for a custom control rather than tweaking existing controls in every page he needs a similar look'n'feel.

Activities are of 2 type
1. Basic/Simple Activity
2. Composite Activity

Put everything in the code activity(the best example for a simple activity) and get done with the work assigned would be another approach amongst us.A definite YES keeping in mind the short term task at hand.But a big NO on the long run.
Code Activities ends within the current workflow.Re-usability across workflows is the key factor that is at stake in this approach,which should makes us think twice before using one.CodeActivities,mostly would be fully dependent on the instance properties of the workflow,which makes testing of something performed within the activity require the full workflow to be executed.
On the other hand a Custom Activity has its own properties on which it depends,can be tested individually and above all can be re-used across workflows.

So the next time you drag'n'drop a Code Activity from the toolbox think twice :)

Will catch you on developing a custom activity soon :)
CodeProject

Tuesday, January 26, 2010

A newbie to WF

With WPF(Windows Presentation Foundation), we saw the complete designer-developer separation,making it one of the best presentation technologies available at present.
Windows Workflow Foundation(WF) brings about the separation of the 'when-and-what',says Bruce Bukovics,author of Pro WF.You get to change the when without touching the what.All the business logic are packed into components,activities rather(in WF terms) and the control flow is between the activities is 'declaratively' controlled.Don't be surprised,its XAML again.

Though being newbie on WF,I got to take a session on WF,at my workplace, which made me dive little more deeper into it(so that I don't bluff my way through the 1 hour session :) ).All I could explore was the overview of the features,which seems promising and interesting.
This book I got hold of seems to clear the way ahead and make it easy.

More on WF soon :)

Saturday, January 16, 2010

the Nokia Monster


Of all the mobiles I have used till date this one goes top on my rating.With its elegant design,built quality and power packed features,the N95 8GB was worth every penny spent.8GB was not much of an attraction though, but definitely it being internal memory,boosted the performance.No longer I felt the time lag in apps opening,as in the previous models of Nokia.
Though its been a long time this big monster has been released it demands this piece of space here.
Not going into the specs of the phone,for there are sites which gives them in and out like this one here.
The 5 mega pixel camera is definitely a lookout feature,for you no more need a dedicated camera,if all you want is a snap of the moment.
The two way slide feature with dedicated music keys makes it to be on the race with pmp's out in the store,with the battery lasting pretty enough for an average music lover.
With the wide range of apps available for the symbian os , this definitely was the king of its times.....Nokia N95 8GB

edit:
here goes a list of must have apps in the n95

Monday, January 11, 2010

HP DV4



With all banks stopping on EMI(Equated Monthly Installment),with recession at its high,I was left with no choice for a long time,but to depend on internet cafe's,as my compaq V2624TU got some hardware problems and wouldn't start up.Blogging was on the verge of stopping.....thanks to my brother,Sagar,who turned my new banker for the brand new HP DV4.

Thanks a lot bro :)

Got to start saving though,for always bankers might not be there nor will EMI's(they really helped for my previous purchases).
Hoping to make it a resolution(you always want something's to be broken),for the year 2010.

Happy New Year :)