Cudos
Cudos

Reputation: 5894

Adobe AIR & PHP + MySQL

I am looking for a possibility to run a PHP + MySQL solution on a desktop.

Upvotes: 1

Views: 1314

Answers (3)

Saif Ur Rehman
Saif Ur Rehman

Reputation: 1

Yes using Adobe Air you can communicate to PHP + MySQL or local SQL LITE.

Upvotes: 0

Phil Salesses
Phil Salesses

Reputation: 870

AIR does have offline storage and you can use SQLite.

MySQL will require a server so unless you're looking to connect to a server for your queries, I'd look elsewhere.

Also, @fenomas is right. You can not use PHP to write an AIR app.

Upvotes: 0

fenomas
fenomas

Reputation: 11139

You could probably recreate what you have in mind with AIR, because AIR does let you render HTML and it includes a built-in database (sqlite), and the two can interoperate in a way that's not far removed from PHP/mysql. But the application logic would need to be in either ActionScript or JavaScript, which are the two languages AIR implements. If you're looking to use existing PHP then AIR won't be any help to you - AIR just deals with the client-side of things.

I assume that to get PHP executing on the desktop you'd need some flavor of wrapped PHP executable, unless there's some way of compiling PHP into an executable. I don't know if either capability exists, but I thought I'd comment on the AIR capabilities side of things since you didn't have an answer yet.

Upvotes: 2

Related Questions