"Compiling" PHP code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pistacchio
Forum Newbie
Posts: 5
Joined: Wed Sep 01, 2004 5:59 am

"Compiling" PHP code

Post by pistacchio »

hi to all! i need to "distribute" php (non database-linked) code like it was a 'normal' software running in a browser window. is there any way to do that?

if not, which is the smallest php-compatible offline server a la apache? i could distribute it and the php files..
thanks for upcoming help :D
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

check out PHP-GTK, i've never tried it, but there's been talking about it beforeon this forum.
hope it helps :)
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

maybe this works for you... http://www.priadoblender.com/
pistacchio
Forum Newbie
Posts: 5
Joined: Wed Sep 01, 2004 5:59 am

Post by pistacchio »

php-gtk are libraries for a php based gui interface. it means you have to build up a new gui etc, it is not really browser-based (which i need)

priadoblender could be perfect if it only worked! hev you tried it? as far as i've seen it produces msdos applications..
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Well, if you don't want DOS, you'll need GTK. You'd have to create the browser to run your programs in ;).
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

pistacchio wrote:php-gtk are libraries for a php based gui interface. it means you have to build up a new gui etc, it is not really browser-based (which i need)

priadoblender could be perfect if it only worked! hev you tried it? as far as i've seen it produces msdos applications..
Priadoblender works great!

It produces a native windows app that does exactly what you tell it to do. If you tell it to output text/html, its going to look like a dos window - because thats what the os does when you tell it "here is some text output"!

If on the other hand you use php-gtk, you can create EXTREMELY convincing windows apps - I've seen a browser 'blended' using priado.

It all depends on what you make it do. Its *not* visual basic - it doesnt hand you native window widgets, and ask you to arrange them. Its php - so if you want a full gui, you almost definitely want to code it in php-gtk, unless you want to paint your own gui, which would be.. uhh.. silly in php. :)
Post Reply