Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standalone php/mysql web servers for OS X for CD-ROM delivery




On Aug 24, 2005, at 11:57 AM, Graham Anderson wrote:

Is there anything cross-platform out there that can act as a stand alone web server for CD-ROM delivery ?
Would like to hook up my QT projects to a localhost database that speaks php/mysql.



On the PC side, you have dwebPro. Wonder if there is a cross platform equivalent ?
Or, is there an app like dwebPro that has Windows and Mac versions ?

Depending how savvy you are with Apache, MySQL and PHP you could bundle this yourself - all these components work on both platforms. You'd have different binaries for each platform though, unlike Dick's suggestion, and you'd basically be "rolling your own". I'm not aware of any such prebuilt packages for both OSX and Windows from a single source.


Certainly all these tools, though, can be sandboxed and run as components in a large app without having to leave a big mess behind.

That said... why? How about cut out Apache and MySQL for starters, since both are probably unnecessary for a CD-ROM app (you're not going to be *writing* any data, just querying... and Apache is only used as a front-end to PHP). Instead, pick a scripting language like Python which can provide it's own http server and has SQLite support. That way you've only got one component (Python, or PHP... not sure if PHP can host it's own Web server though) to bundle... no separate Web server to start up, no database server to start up. SQLite is a nice embeddable SQL database, more suited to CD-ROM. Python has good XML support, though I'm not trying to push Python particularly - it just seems more suited to the job than Apache+MySQL+PHP.

At very least, I'd look at skipping MySQL and using SQLite.

-R

_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden
References: 
 >Any quicktime player for Pocket PC (From: "Li, Man-Chung" <email@hidden>)
 >Standalone php/mysql web servers for OS X for CD-ROM delivery (From: Graham Anderson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.