Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Thursday, April 21, 2016

Opensource PDF generator : wkhtmltopdf

wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service.
There is also a C library, if you're into that kind of thing.
I am writhing this post just to keep record of what actually worked for me - the command I mean.

PATH_TO_wkhtmltopdf\bin\wkhtmltopdf --header-spacing 14 -T 22mm --header-html header.html cover cover.html toc --xsl-style-sheet toc-default.xsl article.html article_to_publish.pdf 
The command above prints a page as pdf with cover page, table of contents and header The TOC layout used is generated using a command as bellow:
PATH_TO_wkhtmltopdf\bin\wkhtmltopdf --dump-default-toc-xsl >> toc-default.xsl
Full document can be found here, which definitely I din find quite qood. 

Wednesday, April 10, 2013

Testing the performance of a web application

Currently, I am working with a web application and one of the main duty is to improve the performance of the application. I am trying to reduce the page refresh time first. Here I m going to note down all the tools and techniques I am utilizing.
To identify exactly what is bottle-necking I used the following tools:
FireBug
IE Developer tools
Yslow
Pagespeed
Fiddler
I needed to compress/minify my css and js files. I got some tools that are of high rank. But finally I wrote my own tool to perform the same :
https://github.com/marifrahman/WebResourceCompressorForm

Some of the clients has very slow internet connection. Therefore I needed to test the site using low speed internet  To accomplish that following tools were very useful.
Sloppy
a fiddler extension [http://fiddlerdelayext.codeplex.com/]

Monday, March 8, 2010

Agile Tool Hacking

I was looking for some straight forward tool guide for the Agile development. And I have got the light in the following presentation.