Excelisys Custom Database eX Cetera Blog

Run stand alone PHP applications (w/out server support)

January 21st, 2009

Recently, I had a client task that involved formatting a XML document according to a pre-defined set of rules. Sounds easy enough – write a PHP script that reads the source file, runs through the formatting rules and spits out the converted file. However, the requirement had a catch. The solution should be able to run on a desktop (PC) without an internet connection, and without Apache support. This takes us to the realm of desktop applications. There are languages like Visual Basic (DLL, COM etc.) but if you don’t want to deal with proprietary technologies, there is still an option, and better still, you can use PHP.

There is a utility called BAMBALAM (http://www.bambalam.se/bamcompile/) – this lets you create an executable file (.exe) from your PHP code that can be run directly on Windows or a Mac (in a simulated Windows environment). All you need to do is write your PHP script as you normally would, and use the BAMBALAM compiler to convert it into a Windows .exe file. That’s it. There’s also an option to compress the .exe file – it reduces the footprint on the disk. Expect the average executable file size to be around 500 Kb.

-Abhi

Leave a Reply


Excelisys

Explore the eX Cetera Blog


Services Database Development
& Consulting

Web Site / Applications
Commercialware
Custom vs Commercial
The Development Process
Custom FileMaker Applications
FileMaker Consultants
FileMaker Consulting
FileMaker Developer
FileMaker Development
FileMaker Experts
FileMaker Help and Support
FileMaker Professional
FileMaker Programmers
FileMaker Services
FileMaker Web Solutions

Company Our Team
Why Choose Excelisys?
Our Philosophy
About Us
How Do We Charge?
Alliances
Industry News
The Goods eX Files
eX BizTracker 3.0
eX BizTracker 2.0
eX BizTracker Pro
Tips N Tricks
Demos
Portfolio Our Portfolio
Client Testimonials
Our Clients
Contact Us Our Team
About Us
Employment
1–866–592–9235
Legal | © 2012 Excelisys eX Logo Excelisys.com