Posts

Showing posts with the label Javascript

Highcharts for Agile development

Image
Did you ever try Highcharts for showing any kind chart data in your web application? Its great! Recently they released a newer version with lot more performance improvement and new features. Im talking about the version 2.0.0. Find it at http://www.highcharts.com/download . By the time you are reading this article if you find more upgraded version of highcharts, then of course it will be of more fun. Share it through comments :D Courtesy by Highcharts.com Just look at the Demo page of it. You will find lots of different kind of charts over there. Choose anyone according to your need. The first reason why I like Highchart is it totally based on javascript. Earlier I used openflash chart(OFC)  which is really slow by its process of data showing. As OFC is based on flash, you will need the flash embed code first, then this flash code will request for the data to your server and then it will show the chart. Maladroit huh !! But here with the help of Highcharts you will be...

Javascript minification along with automated deployment

Javascript compression has always been a great concern specially for interactive web applications where you will have lot of javascripts with lot of ajax requests. And as the ultimate target is to make your user happy with faster response, its better to squeeze your javascript files as much as possible. If possible reduce the number of files as well. Lots of advices are available to make your web sites faster enough as if users are working in desktop application. A good guideline can be found here . Besides we also need such a convenient way so that we can have this minification process as a part of our deployment. Some kind of automation I meant. Well we have found JS min very useful regarding all the above concerns. It gives pretty much good ratio of compression for js files compare to some contemporary minification processes. And in ruby you will have a rake task to make the minification process totally automated. In scrumpad we used JS-min with little bit tweaked. Here I wil...