Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » [newbee] PDT as platform for Java-PHP
[newbee] PDT as platform for Java-PHP [message #25897] Wed, 06 June 2007 12:30 Go to next message
Eclipse UserFriend
Originally posted by: nick.koutakis.gmail.com

Hi all,

My background is primarily in Java (J2EE) and I am very interested in the
potential behind the PDT project.

I would like to know if it would be possible to use PDT as a platform to
develop applications that utilize both Java and PHP.

Here are details of currently installed software:

PDT: 0.7 Stable Build: S20070401-RC3
All-in-One (which includes Eclipse 3.2)
-----
JDK: 1.5.0_06
PHP 5.2.2
Jakarta-tomcat-5.5.9
jboss-4.0.3SP1



Has anyone used PDT to develop websites/applications
that utilize both PHP and Java technology?

I cannot find any walkthroughs / tutorials that will help me in my quest so
any help would be greatly appreciated

many thanks
nick koutakis

MSN: nick_koutakis@hotmail.com
IRC: basman (on freenode server #pdt)
Re: [newbee] PDT as platform for Java-PHP [message #25937 is a reply to message #25897] Wed, 06 June 2007 13:04 Go to previous messageGo to next message
Joe Scylla is currently offline Joe ScyllaFriend
Messages: 3
Registered: July 2009
Junior Member
Nick Koutakis wrote:
> Hi all,
>
> My background is primarily in Java (J2EE) and I am very interested in the
> potential behind the PDT project.
>
> I would like to know if it would be possible to use PDT as a platform to
> develop applications that utilize both Java and PHP.

Well at least PHP is able to use java objects. See:
http://www.php.net/manual/en/ref.java.php

Regards
Joe
Re: [newbee] PDT as platform for Java-PHP [message #25978 is a reply to message #25897] Wed, 06 June 2007 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: csurface.gmail.com

Yes this is possible. If you start with Java projects, you'll want to add
the PHPNature to the .project file. This will allow the PDT tooling to
treat your project as a first class PHP project. The line below should be
added to the <natures> element:

<nature>org.eclipse.php.core.PHPNature</nature>

Keep us updated of your progress.

Charlie


"Nick Koutakis" <nick.koutakis@gmail.com> wrote in message
news:f469e6$b3a$1@build.eclipse.org...
> Hi all,
>
> My background is primarily in Java (J2EE) and I am very interested in the
> potential behind the PDT project.
>
> I would like to know if it would be possible to use PDT as a platform to
> develop applications that utilize both Java and PHP.
>
> Here are details of currently installed software:
>
> PDT: 0.7 Stable Build: S20070401-RC3
> All-in-One (which includes Eclipse 3.2)
> -----
> JDK: 1.5.0_06
> PHP 5.2.2
> Jakarta-tomcat-5.5.9
> jboss-4.0.3SP1
>
>
>
> Has anyone used PDT to develop websites/applications
> that utilize both PHP and Java technology?
>
> I cannot find any walkthroughs / tutorials that will help me in my quest
> so any help would be greatly appreciated
>
> many thanks
> nick koutakis
>
> MSN: nick_koutakis@hotmail.com
> IRC: basman (on freenode server #pdt)
>
Re: [newbee] PDT as platform for Java-PHP [message #26019 is a reply to message #25978] Wed, 06 June 2007 16:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nick.koutakis.gmail.com

Charlie thanks for that, but I am going to need more help...
From what I have seen on the php.net site regarding PHP
Java integration is that there are two ways of doing it -
one would require integrating the PHP into a Servlet environment
(SAPI) or integrate Java support into PHP (Java extension).

I would like to know the details for getting both of these methods to
work using PDT with Jakarta-tomcat (eclipse settings, project
settings, deployment settings, ect).

Currently I have managed to manually set up a project within
Jakarta-tomcat that utilizes the phpsrvlt.jar library in order to allow PHP
functionality from Tomcat.

I would like to use the PDT as an all round solution for developing
deploying, debugging JAVA-PHP or PHP-JAVA apps.

Any insight would be greatly appreciated
regards
nick


"Charlie Surface" <csurface@gmail.com> wrote in message
news:f46iln$jiv$1@build.eclipse.org...
> Yes this is possible. If you start with Java projects, you'll want to add
> the PHPNature to the .project file. This will allow the PDT tooling to
> treat your project as a first class PHP project. The line below should be
> added to the <natures> element:
>
> <nature>org.eclipse.php.core.PHPNature</nature>
>
> Keep us updated of your progress.
>
> Charlie
>
>
> "Nick Koutakis" <nick.koutakis@gmail.com> wrote in message
> news:f469e6$b3a$1@build.eclipse.org...
>> Hi all,
>>
>> My background is primarily in Java (J2EE) and I am very interested in the
>> potential behind the PDT project.
>>
>> I would like to know if it would be possible to use PDT as a platform to
>> develop applications that utilize both Java and PHP.
>>
>> Here are details of currently installed software:
>>
>> PDT: 0.7 Stable Build: S20070401-RC3
>> All-in-One (which includes Eclipse 3.2)
>> -----
>> JDK: 1.5.0_06
>> PHP 5.2.2
>> Jakarta-tomcat-5.5.9
>> jboss-4.0.3SP1
>>
>>
>>
>> Has anyone used PDT to develop websites/applications
>> that utilize both PHP and Java technology?
>>
>> I cannot find any walkthroughs / tutorials that will help me in my quest
>> so any help would be greatly appreciated
>>
>> many thanks
>> nick koutakis
>>
>> MSN: nick_koutakis@hotmail.com
>> IRC: basman (on freenode server #pdt)
>>
>
>
Re: [newbee] PDT as platform for Java-PHP [message #26098 is a reply to message #26019] Wed, 06 June 2007 18:39 Go to previous message
Eclipse UserFriend
Originally posted by: csurface.gmail.com

If the SAPI provides XDebug support, you may be able to use Dave Kelsey's
XDebug plugin for debugging PHP scripts. The bug below provides the plugin
binaries. Use the latest version, which is 0.2.1.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=169408




"Nick Koutakis" <nick.koutakis@gmail.com> wrote in message
news:f46mr9$deo$1@build.eclipse.org...
> Charlie thanks for that, but I am going to need more help...
> From what I have seen on the php.net site regarding PHP
> Java integration is that there are two ways of doing it -
> one would require integrating the PHP into a Servlet environment
> (SAPI) or integrate Java support into PHP (Java extension).
>
> I would like to know the details for getting both of these methods to
> work using PDT with Jakarta-tomcat (eclipse settings, project
> settings, deployment settings, ect).
>
> Currently I have managed to manually set up a project within
> Jakarta-tomcat that utilizes the phpsrvlt.jar library in order to allow
> PHP
> functionality from Tomcat.
>
> I would like to use the PDT as an all round solution for developing
> deploying, debugging JAVA-PHP or PHP-JAVA apps.
>
> Any insight would be greatly appreciated
> regards
> nick
>
>
> "Charlie Surface" <csurface@gmail.com> wrote in message
> news:f46iln$jiv$1@build.eclipse.org...
>> Yes this is possible. If you start with Java projects, you'll want to
>> add the PHPNature to the .project file. This will allow the PDT tooling
>> to treat your project as a first class PHP project. The line below
>> should be added to the <natures> element:
>>
>> <nature>org.eclipse.php.core.PHPNature</nature>
>>
>> Keep us updated of your progress.
>>
>> Charlie
>>
>>
>> "Nick Koutakis" <nick.koutakis@gmail.com> wrote in message
>> news:f469e6$b3a$1@build.eclipse.org...
>>> Hi all,
>>>
>>> My background is primarily in Java (J2EE) and I am very interested in
>>> the potential behind the PDT project.
>>>
>>> I would like to know if it would be possible to use PDT as a platform to
>>> develop applications that utilize both Java and PHP.
>>>
>>> Here are details of currently installed software:
>>>
>>> PDT: 0.7 Stable Build: S20070401-RC3
>>> All-in-One (which includes Eclipse 3.2)
>>> -----
>>> JDK: 1.5.0_06
>>> PHP 5.2.2
>>> Jakarta-tomcat-5.5.9
>>> jboss-4.0.3SP1
>>>
>>>
>>>
>>> Has anyone used PDT to develop websites/applications
>>> that utilize both PHP and Java technology?
>>>
>>> I cannot find any walkthroughs / tutorials that will help me in my quest
>>> so any help would be greatly appreciated
>>>
>>> many thanks
>>> nick koutakis
>>>
>>> MSN: nick_koutakis@hotmail.com
>>> IRC: basman (on freenode server #pdt)
>>>
>>
>>
>
>
Previous Topic:Problem with adding a file association to PHP content type
Next Topic:Indentation after Single Line Comments
Goto Forum:
  


Current Time: Mon May 06 15:43:39 GMT 2024

Powered by FUDForum. Page generated in 0.03803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top