Re: PHP GUI library/package

Re: PHP GUI library/package

am 31.03.2010 16:30:07 von Ashley Sheridan

--=-8MOgecnkVnpYZa+B25Gu
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Wed, 2010-03-31 at 15:30 +0100, Pete Ford wrote:

> Hi All,
>
> I have a web project built in PHP which we want to break out part of into a
> stand-alone GUI program. The architecture is fine - display nicely separated
> from logic, so coding is not a problem.
> What I can't work out is what to use for the GUI part. I looked at phpqt but I
> can't (yet) get that to build on my Linux dev system, let alone code an
> interface with it. I was also looking a PHP-GTK2, but I'm not sure how
> cross-platform it would be - this should run on Windows and Macs as well as Linux...
>
> Anyone made a GUI PHP application like this, with one of the major toolkits?
>
> Cheers
> Pete
>


I think as far as compatibility goes, QT is your best bet. What is
preventing you from getting that build onto your dev system?

Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-8MOgecnkVnpYZa+B25Gu--

PHP GUI library/package

am 31.03.2010 16:30:53 von Pete Ford

Hi All,

I have a web project built in PHP which we want to break out part of into a
stand-alone GUI program. The architecture is fine - display nicely separated
from logic, so coding is not a problem.
What I can't work out is what to use for the GUI part. I looked at phpqt but I
can't (yet) get that to build on my Linux dev system, let alone code an
interface with it. I was also looking a PHP-GTK2, but I'm not sure how
cross-platform it would be - this should run on Windows and Macs as well as Linux...

Anyone made a GUI PHP application like this, with one of the major toolkits?

Cheers
Pete

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP GUI library/package

am 31.03.2010 16:48:55 von Pete Ford

On 31/03/10 15:30, Ashley Sheridan wrote:
> On Wed, 2010-03-31 at 15:30 +0100, Pete Ford wrote:
>
>> Hi All,
>>
>> I have a web project built in PHP which we want to break out part of into a
>> stand-alone GUI program. The architecture is fine - display nicely separated
>> from logic, so coding is not a problem.
>> What I can't work out is what to use for the GUI part. I looked at phpqt but I
>> can't (yet) get that to build on my Linux dev system, let alone code an
>> interface with it. I was also looking a PHP-GTK2, but I'm not sure how
>> cross-platform it would be - this should run on Windows and Macs as well as Linux...
>>
>> Anyone made a GUI PHP application like this, with one of the major toolkits?
>>
>> Cheers
>> Pete
>>
>
>
> I think as far as compatibility goes, QT is your best bet. What is
> preventing you from getting that build onto your dev system?
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
Two pints at lunchtime, mainly :)

I need to focus on it a bit better: I'll have another look and ask again if I
still have trouble.

Cheers
Pete

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP GUI library/package

am 31.03.2010 17:05:35 von Richard Quadling

On 31 March 2010 15:48, Pete Ford wrote:
> Two pints at lunchtime, mainly :)

Excellent reason to not do any coding today.

Makes tomorrow less of a "revert commit" day.



--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP GUI library/package

am 31.03.2010 17:45:22 von Ashley Sheridan

--=-TYApCQt9nPpQE/spkxcA
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, 2010-03-31 at 16:48 +0100, Pete Ford wrote:

> On 31/03/10 15:30, Ashley Sheridan wrote:
> > On Wed, 2010-03-31 at 15:30 +0100, Pete Ford wrote:
> >
> >> Hi All,
> >>
> >> I have a web project built in PHP which we want to break out part of i=
nto
> >> a stand-alone GUI program. The architecture is fine - display nicely
> >> separated from logic, so coding is not a problem. What I can't work ou=
t is
> >> what to use for the GUI part. I looked at phpqt but I can't (yet) get =
that
> >> to build on my Linux dev system, let alone code an interface with it. =
I was
> >> also looking a PHP-GTK2, but I'm not sure how cross-platform it would =
be -
> >> this should run on Windows and Macs as well as Linux...
> >>
> >> Anyone made a GUI PHP application like this, with one of the major
> >> toolkits?
> >>
> >> Cheers Pete
> >>
> >
> >
> > I think as far as compatibility goes, QT is your best bet. What is prev=
enting
> > you from getting that build onto your dev system?
> >
> > Thanks, Ash http://www.ashleysheridan.co.uk
> >
> >
> >
>=20
> Not all down to the beer.
> I unpacked the php-qt-0.9.tar.gz and made a build directory in there, ran=
cmake
> (which seemed to go OK), but make fails at
> [ 8%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_2.o
>=20
> with a bunch of errors like
>=20
> /home/pete/phpqt/build/smoke/qt/x_2.cpp: In static member function â€=
=98static void
> x_QAccessibleBridgeFactoryInterface::x_0(Smoke::StackItem*)= E2€™:
> /home/pete/phpqt/build/smoke/qt/x_2.cpp:167: error: cannot allocate an ob=
ject of
> abstract type â€=98x_QAccessibleBridgeFactoryInterfaceâ€=99
> /home/pete/phpqt/build/smoke/qt/x_2.cpp:163: note: because the followin=
g
> virtual functions are pure within â€=98x_QAccessibleBridgeFactoryInte=
rfaceâ€=99:
> /usr/include/QtCore/qfactoryinterface.h:53: note: virtual QStringLi=
st
> QFactoryInterface::keys() const
>=20
>=20
> I'm building on an OpenSuSE 11.1 system, but looking around it seems that=
Fedora=20
> 12 has a php-qt package, so I'm putting together a VM to try it on there.=
...
>=20
> If you have any light to shed, then let me know. The php-qt mailing list =
seems a=20
> bit empty at the moment...
>=20
> Cheers
> Pete
>=20


Sorry, about the closest I've got to QT is probably to use some apps
that use it. It's one of those things that I thought would be nice to
play with if I had the time, but never had the time!

Thanks,
Ash
http://www.ashleysheridan.co.uk



--=-TYApCQt9nPpQE/spkxcA--

Re: PHP GUI library/package

am 31.03.2010 17:48:50 von Pete Ford

On 31/03/10 15:30, Ashley Sheridan wrote:
> On Wed, 2010-03-31 at 15:30 +0100, Pete Ford wrote:
>
>> Hi All,
>>
>> I have a web project built in PHP which we want to break out part of into
>> a stand-alone GUI program. The architecture is fine - display nicely
>> separated from logic, so coding is not a problem. What I can't work out is
>> what to use for the GUI part. I looked at phpqt but I can't (yet) get that
>> to build on my Linux dev system, let alone code an interface with it. I was
>> also looking a PHP-GTK2, but I'm not sure how cross-platform it would be -
>> this should run on Windows and Macs as well as Linux...
>>
>> Anyone made a GUI PHP application like this, with one of the major
>> toolkits?
>>
>> Cheers Pete
>>
>
>
> I think as far as compatibility goes, QT is your best bet. What is preventing
> you from getting that build onto your dev system?
>
> Thanks, Ash http://www.ashleysheridan.co.uk
>
>
>

Not all down to the beer.
I unpacked the php-qt-0.9.tar.gz and made a build directory in there, ran cmake
(which seemed to go OK), but make fails at
[ 8%] Building CXX object smoke/qt/CMakeFiles/smokeqt.dir/x_2.o

with a bunch of errors like

/home/pete/phpqt/build/smoke/qt/x_2.cpp: In static member function ‘static void
x_QAccessibleBridgeFactoryInterface::x_0(Smoke::StackItem*)⠀™:
/home/pete/phpqt/build/smoke/qt/x_2.cpp:167: error: cannot allocate an object of
abstract type ‘x_QAccessibleBridgeFactoryInterface’
/home/pete/phpqt/build/smoke/qt/x_2.cpp:163: note: because the following
virtual functions are pure within ‘x_QAccessibleBridgeFactoryInterface’:
/usr/include/QtCore/qfactoryinterface.h:53: note: virtual QStringList
QFactoryInterface::keys() const


I'm building on an OpenSuSE 11.1 system, but looking around it seems that Fedora
12 has a php-qt package, so I'm putting together a VM to try it on there...

If you have any light to shed, then let me know. The php-qt mailing list seems a
bit empty at the moment...

Cheers
Pete

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP GUI library/package

am 31.03.2010 18:23:37 von TedD

At 4:45 PM +0100 3/31/10, Ashley Sheridan wrote:
>On Wed, 2010-03-31 at 16:48 +0100, Pete Ford wrote:
>-snip-
> > If you have any light to shed, then let me know. The php-qt
>mailing list seems a
>> bit empty at the moment...
>>
>> Cheers
>> Pete
>>
>
>
>Sorry, about the closest I've got to QT is probably to use some apps
>that use it. It's one of those things that I thought would be nice to
>play with if I had the time, but never had the time!
>
>Thanks,
>Ash

Pete:

You're not the only one who would like to know how to do this.

I work on a Mac and I would very much like to create a "stand-alone"
application from my php scripts, but I am clueless as to how to do
this.

If anyone has done this on a Mac, I would be very interested in
knowing how you did it.

Thanks,

tedd



--
-------
http://sperling.com http://ancientstones.com http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP GUI library/package

am 31.03.2010 18:48:31 von Teus Benschop

On Wed, 2010-03-31 at 12:23 -0400, tedd wrote:
> I work on a Mac and I would very much like to create a "stand-alone"=20
> application from my php scripts, but I am clueless as to how to do=20
> this.
>=20
> If anyone has done this on a Mac, I would be very interested in=20
> knowing how you did it.

There could be some approaches to the problem of creating a stand-along
application out of a working PHP web application. Some would involve
more and others less work. The way we do it is to enable the built-in
Apache server on the Mac, get PHP on it, and then install the web
application on localhost, and run it from there through the browser. It
is less work this way since the PHP code runs as it is, without making
any modification. The other advantage is that since many users are used
to the point and click interface of web based applications, they
possibly get used to your application soon. Teus.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php