Archive › coding blog
Multiple images lazy-loaded on background threads

Lazy load multiple images on background threads on the iPhone

Purpose: This is a follow-on post in response to a question about the previous post. This entry expands on that post by explaining how to get the iPhone to load multiple images on a background thread (e.g. lazy loading), and updating the main thread with the images once they are retrieved – simple lazy-loading (for […]

Comments ( 2 )
Flow of background image loading

Retrieving remote images on background threads on the iPhone

Purpose: Explain how to get the iPhone to show an activity indicator while loading a remote image in a background thread, and updating the main thread with the image once it’s retrieved – simple lazy-loading. SDK Version: 4.2 (although should work on 3+) Frameworks: Standard view-based SDK libraries: UIKit, Foundation, CoreGraphics Tested on: Simulator/iPhone 4 […]

Comments ( 2 )
Programmatically Creating PDF files from HTML using PHP

Programmatically Creating PDF files from HTML using PHP

I don’t truly like Adobe PDF files, their negative attributes such as being slow to open, clumsy to edit if-at-all, inadequate and in-the-way security features, outweigh their positive attributes like being formatted, cross-platform, and transmittable. Since they are the de-facto standard for formatted documents they are in-demand and remain useful.   It’s often the case with […]

Comments ( 1 )

Silent PDF Printing from a PHP-based Web Application

A client asked me if it was possible to have the PDF’s generated by the PHP-based internal web application I’ve been working on to print to the user’s default printer. The user’s use both networked and directly attached printers so implementing something that used *NIX’s lpr command to send the PDF to a network printer […]

Comments ( 0 )