This article caught my attention among gazillion comments regarding Facebook/WhatsApp deal.
Is Facebook to be the 'next' Facebook?
If you'd like to have clue how WhatsApp is overwhelmingly working. Please take a look at the photo.
Saturday, March 1, 2014
Friday, February 28, 2014
Asp.net MVC 5 Application Lifecycle
A great diagram for MVC developers, both in
Macro & Micro views.
A high-level view of the MVC application
lifecycle, where you can understand the major stages that every MVC application
passes through in the request processing pipeline. And a detail view shows
details of request processing pipeline.
Having another look at the lifecycle, couple
of aha moments:
- BeginExecute Method runs before Controller.Initialize method
- AuthenticationFilters are executed before and after action
method
- ActionFilters are the closest methods to the action method
- Async action methods may be invoked in a different worker thread
Friday, February 21, 2014
PHP or Asp.net?
Recently, a friend of mine asked me a mind blowing question.
Over a decade development in Microsoft world,Well ... nice. But why did you pick that wagon early on your career?
I just replied with fair few things and I tried my best to convince him that was the only game in the town.
However, I found it interesting to see what the key factors would be for other developers. A little googling, and I was fascinated by the result.
These two resonated with me a lot:
Rob Conery: I Had a choice, PHP or .Net
Darcy : It was 2001 and I had a decision to make
Over a decade development in Microsoft world,Well ... nice. But why did you pick that wagon early on your career?
I just replied with fair few things and I tried my best to convince him that was the only game in the town.
However, I found it interesting to see what the key factors would be for other developers. A little googling, and I was fascinated by the result.
These two resonated with me a lot:
Rob Conery: I Had a choice, PHP or .Net
Darcy : It was 2001 and I had a decision to make
Saturday, January 25, 2014
To model first approach or …
A thoughtful blog post by Frans Bouma:
After years of debating over model-first approach has made
it easy to test your application and POCOs. After I picked NHibernate 6 years
ago, I realized making the changes to the model was a breeze.
The changes are more manageable and smoothly ripple
through your classes and database tables.
However, looking back on it seems more interesting to
me.
The idea is pretty valid to me. We do not persist objects
to database, we persist their contents, which are their entity instances. On
the hand, serializing data from technology to the other usually means having
same the content. For instance, .Net objects can be easily serialized to Json.
But in this case, objects are mapped to tables and saved.
Saturday, December 14, 2013
Maintaining existing software architecture
Evolutionary
design is a very hard to tackle task. All of us have been in the situation when
joining a new team and wanted to augment an old feature to a new design. It’s
really hard to be in sync with other team members.
Many
times when a developer complain about messy code, it’s really because of a lack
of consistency in the design. Adding a new feature needs assessment and so does
the evolutionary design.
The
article by Jimmy Bogard (Curbing long tail design) elaborated on the ‘Law
of two’. Meaning only allow at most two designs in your system. Before doing
other changes to the design, move all existing features to the new design. If you’re
working in small steps, this shouldn't be much of a problem.
Saturday, November 23, 2013
Why we do not document code?
This post led to a hot
technical discuss today.
If we’re serious about
the piece of code, we have to write some useful documentation. Amazingly, I have
noticed among many of my colleagues that the hard part is not coming from
laziness! It’s the full understanding of a system/component that makes you feel
sluggish to write a decent document for your code.
Some business
processes are really complex to rephrase them into human language. Of course,
the fear of any misunderstanding gap seems to be the source of all ignorance.
Friday, October 7, 2011
FubuMVC - Upgrade to 0.9 Note
Just a quick note:
I upgraded my fubuMVC project to version 0.9.1.. and it couldn't load my WebForms. After some emailing with the group, I figured out my fubuRegistry needs to get my view-engine's config. Unfortunately, it's not mentioned in the techie documents.
So, Please add this statement right into your FubuRegistry class if you use 0.9. versions and above.
It is noteworthy to say that FubuMVC is going to hit the 1.0 very soon.
I upgraded my fubuMVC project to version 0.9.1.. and it couldn't load my WebForms. After some emailing with the group, I figured out my fubuRegistry needs to get my view-engine's config. Unfortunately, it's not mentioned in the techie documents.
So, Please add this statement right into your FubuRegistry class if you use 0.9. versions and above.
It is noteworthy to say that FubuMVC is going to hit the 1.0 very soon.
Subscribe to:
Posts (Atom)