Tuesday, September 6, 2011

Jquery Graphs

Recently I had to come up with a low cost graphing solution for one of my clients, little did I know that Jquery Graphs would not only be a fringe tools, but something that can be used professionally as well. That said there are both paid and free tools which meet professional standards and are as good as it gets features available. some of the key pro and cons of using jquery graphs are listed below 

PROs
  1. Light weight and very small foot print 
  2. Client side control, so resources are not consumed on the server, and jquery calls can be made to get real time data or read of a XML
  3. Interactive UI, clicks on graphs and specific bars or section can be handled in most tools available.
  4. Easy to implement
  5. Most Important fact is that most of these are actually HTML 5 compliant and render well on all modern browsers


CONs
  1. Lacks support in older browsers support, though they us excanvas.js it fails at times
  2. If you opt for a free tool, you may struggle to find support on the tool
  3. can be complex to use with AJAX or other scripting libraries.
Some of the tools i reviewed are listed below in particular order

  1. JQPlot - Free but an advanced library 
  2. HighCharts - Paid but really good.... you pay $80 for a single site without any login or user based data, but if you have a login and user based data then the price moves to $360.
  3. Flot - Good but the library lacks good examples and documentation and is sightly harder to work on. 




Hold Up

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