2009年9月9日星期三

Re: [fw-mvc] Zend_Search_Lucene and PDF files

Bill Chmura wrote:
> Shaun: I actually already found your post, and so far it is the most
> likely scenario if I cannot get a pure PHP solution working - The server
> is OpenBSD, but development is done on OSX, Linux, and Windows so it
> presents a problem with the XPDF. But if push comes to shove it's where
> I will be heading.

A little off-topic, but if it's clear what the deployment platform is
(OpenBSD in this case), I can highly recommend using a virtualization
tool such as VirtualBox or vmWare to run a setup very similar to the
deployment system right on your dev box.

Not only will this eliminate the problem that the tools you use in
production are not available in your dev environment, it also helps
avoiding portability problems - code that works perfectly on a Windows
box does not neccessarily work on a Unix box without modifications.
Case-sensitivity in filenames, different path separators and the likes
are only the most common and obvious issues, but some functions and/or
extensions may also behave differently across operating systems.

CU
Markus

没有评论: