Review on my Android based Chinese clone of IPad!

On November 2, 2010 I have ordered this item from eBay! I was skeptical whether I will get the item in hand or not because our postal service is still of medieval age! And the most shameful thing is that the dishonest custom and postal service officers even keep the items for themselves it attracts their attention. Moreover, last time Apress.com sent me two books for reviews however these bloody custom officers asked BDT 2000 tax for these though the books were gift! My bad luck is that, being a student I could not afford that high tax/excise duty!

All such experiences made me thinking that I won’t get things in hand! However, on the last week of November, 2010 I received the items (I have also ordered a speed light for my DSLR). Most interesting thing is that two items came from different countries and order in two days gap. However, I received both at a time. Now, let me say something more about the APad! Continue reading →

PDF output generating library using PHP

If you are looking for creating PDF output of your HTML pages, you can do it using PHP’s PDFlib module. However, there are some libraries for faster development of your script. Some even are not dependent on PDFlib. Please see below for quick overview.

DOMPDF
dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.

Features

* handles most CSS2.1 properties, including @import, @media & @page rules
* supports most presentational HTML 4.0 attributes
* supports external stylesheets, either local or through http/ftp (via fopen-wrappers)
* supports complex tables, including row & column spans, separate & collapsed border models, individual cell styling, (no nested tables yet however)
* image support (gif, png & jpeg)
* no dependencies on external PDF libraries, thanks to the R&OS PDF class
* inline PHP support. See below for details. Continue reading →