Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts

Wednesday, October 30, 2013

To Bootstrap or not to Bootstrap

Check out these Bootstrap showcase sites to see if you find any style you like, then remember to check out 5 reasons not to use twitter bootstrap

To Breeze or not to Breeze

What Breezejs can offer you is a good overview from a MS viewpoint

Tech gotcha of the day: kogrid needs knockoutjs version 2.2 and above

If you have been using knockoutjs for a while and then you heard of a beautiful grid that will work well with knockoutjs, aka kogrid, forewarned: To use kogrid successfully, you have to update knockoutjs to version 2.2 and above, otherwise you will get an empty webpage with no grid and when you F12, you will see a JavaScript funtion error of something like the object doesn't have a method "seek".

Monday, July 14, 2008

Learning AJAX and JavaScript(part 1):

Why learn JavaScript now?

Rich internet application(RIA) fattens the web UI considerably. HTML sprinkled with JavaScript event module won't cut it any longer. Before Silverlight and Air matures to a level that can seamlessly migrate current web app, JavaScript is the only option available.

Can't we rely on server technology such as ASP.NET/Google Web Toolkit to generate JavaScript for us(also referred as indirect Ajax programming)? Good question, and all these players are trying hard and they are getting there. But there still be the rare and critical situation in your project that you need to rollup your sleeves and do it yourself without help of tools. And I also think there are just too many indirection involved when using these tools. UI rendering requires a lot of trial and error iteration, and if tools add more steps in the middle, you may need to rethink about using them. Also Ajax as a web app pattern, there are still a lot to be explored and to explore we will need JavaScript as a tool to gain finer control of the whole HTTP communication process.

Cookbook approach to pick up JavaScript

  1. How to do drag and drop?
  2. How to create pop-up panel?
  3. How to enable bookmark in Ajax app? (Google map uses "add a link" link to solve this)

Some patterns in JavaScript based fat UI

  1. Browser-side templating(BST

    and this link

  2. HTML Message (HTM) and this link

Comparison of Ajax library

  1. ASP.NET Ajax library comparison

    http://www.daniel-zeiss.de/AJAXComparison/Results.htm

  2. OSS Ajax library comparison

    http://www.sitepoint.com/article/javascript-library