Monday, July 28, 2008

Creating PDFs through PHP

I have some experience using PDFs through a website. What we basically did was take an application, run it through an FDF generator and the results could be shown through a PDF.

How does that work? Well the FDF just stores the data for the input fields in the PDF.

There are so many problems with doing it this way though. The first being that Adobe no longer supports FDFs through their newest versions. Another is that we went through revisions in the application form in what information we took and stored. This meant that any changes in the PDF would alter the information the original FDF had stored. Thirdly, to keep the changes disparate between revisions, we would have to make a copy of the PDF, edit it, and tie all the new FDFs to the new PDF. Great, another 100+MB file to have to store.

What kept me from changing that? The company wanted to keep the PDF format for layout in printing.

What will be the solution (has not been implemented yet) is to generate real PDF's to store the information. That way the original information is preserved in the way that it was created. The tool I found for doing that is TCPDF. One of the best things I have seen about this tool is a large amount of updates. In the past couple weeks, there have already been more than 5 updates. You just gotta love that support.

I have already installed it and tested out the demos and it seems to work fantastically. The next step is to actually implement it.

I think I'll post up some more PHP tools that I like later. Please comment in on ones that you find useful or ones that you hate.

Lexy and The Onion (The princess and the pea?)

About a month ago, two of my favorite sites inked a deal in which will be the distributor of mobile media for

Why is this good news?

It means that Lexy is becoming a major player in mobile audio and I get to listen to TheOnion's news shorts on my cell phone.

For those that don't know, TheOnion is where I get all of my real news. Not like those other places like Fox or CNN. Oh wait, did I say real news? I meant real ENTERTAINING news. Anyway, if you haven't checked it out yet, I'd suggest doing that.

Lexy blog
TheOnion Radio News

Friday, July 11, 2008

What have we learned from the iPhone

Next year when you want to get the newest version of the "hottest" phone around, it might be a good idea to wait a couple days to go buy it.

With the stories of activation servers being down and long lines to wait in, I think things would go a bit smoother after the hustle and bustle dies down a bit.