Tuesday, May 17, 2011

NopCommerce - Opensource and effective

This would be the first off the shelf product i am promoting, but i just cant help it, the cart is so dam good, you think that there has to be catch to it but there is none. I have been reviewing this for a while and now i am implementing it for one of my clients. I find it to be very flexible and the forum is great it help out on almost anything. The code is very well structured and does take some getting used to but in the end, it follows all the good practices and have a flexibility of any paid shopping carts. It comes highly recommended from Micosoft as well. 


It is expected that there will be a MVC 3 version out somtime in july


nopCommerce offers unprecedented flexibility and control. Since it is open-source, nopCommerce’s source code is available free for download. Just click here to download your copy today.

Sunday, April 17, 2011

SQL server order of precedence


Anyone who has been writing queries must have come across a situation where somehow the query looks fine but the result is not matching to the expectation. Well then one major problem here is that you are not aware of the logical or arithmetic operator sequence. I have tried to simplify, present to you the order that you should have in mind.



1~ (Bitwise NOT)
2* (Multiply), / (Division), % (Modulo)
3+ (Positive), - (Negative), + (Add), (+ Concatenate), - (Subtract), & (Bitwise AND), ^ (Bitwise Exclusive OR), | (Bitwise OR)
4=, >, <, >=, <=, <>, !=, !>, !< (Comparison operators)
5NOT
6AND
7ALL, ANY, BETWEEN, IN, LIKE, OR, SOME
8= (Assignment)



for everyone’s reference if any query has 2 operators with the sample level of precedence then the operator is evaluated from left 2 right as rule of thumb, to override this you can use brackets to increase precedence. 
Hold Up

Wednesday, December 22, 2010

ASP.Net Event Sequence

I have often seen developers struggle with coding due to the simple fact that they don't realize what event follows what, here is quick list of event sequence. some of the events are very rarely used and might not be so important, something like load event sequences is important and is often confused see below.

Load event Sequence
1. Content page Load event.
2. Master page Load event.   
3. Master page controls Load event.
4. Content page controls Load event.


The following is the sequence in which every events occur when a master page is merged with a content page:
  1. Content page PreInit event.
  2. Master page controls Init event.
  3. Content controls Init event.
  4. Master page Init event.
  5. Content page Init event.
  6. Content page Load event.
  7. Master page Load event.
  8. Master page controls Load event.
  9. Content page controls Load event.
  10. Content page PreRender event.
  11. Master page PreRender event.
  12. Master page controls PreRender event.
  13. Content page controls PreRender event.
  14. Master page controls Unload event.
  15. Content page controls Unload event.
  16. Master page Unload event.
  17. Content page Unload event.

kick it on DotNetKicks.com

Wednesday, August 11, 2010

Novice with mobile apps

When i started with VB6 someone told me there is nothing better than application (desktop) development, web is just a fragment of what you can do with application development, then with a shift in technology i moved to web development I did some really good work but most of it was web applications and not websites. now with almost 7 years of web development experience, i feel like a novice when i comes to mobile apps and top that off  they differ based on platform OS, there is that pioneering technology call iPhone apps and then we have Android apps and of course there are those windows mobile apps, blackberry apps, and Nokia symbian apps....


my interests lie in Android and to some extent iPhone apps..... looking forward to exploring and understand the technology and frameworks....   i will update the blogs with tit-bits i learn over a period of time.