Tomcat supporting PHP

2007-07-14 Thread Joe Nathan

I think if Tomcat also supports PHP scripts, it could be wonderful!
-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11597960
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-14 Thread Joe Nathan


Bill Barker-2 wrote:
> 
> Google is your friend :) http://www.google.com/search?q=php+servlet.
> I don't think that there is much interest in hosting a PHP servlet in
> Tomcat 
> however.
> 

I didn't find much useful info from search.
I think there may be lots of people to have a single server doing it all!
At the moment, I have to deal with Apache, PHP, Tomcat, Axis2, ...
It's a very messy business. If you build off-the-shelf type applications,
this is terrible thing to have for end-users!

regards.




-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11599227
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-15 Thread Joe Nathan

I am talking about in-built capability that people do NOT need
to install heaps of cranky-installation software packages!

regards.



Yoav Shapira-2 wrote:
> 
> Hey,
> 
> On 7/14/07, Bill Barker <[EMAIL PROTECTED]> wrote:
>>
>> "Joe Nathan" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> >
>> > I think if Tomcat also supports PHP scripts, it could be wonderful!.
>>
>> Google is your friend :) http://www.google.com/search?q=php+servlet.
>>
>> I don't think that there is much interest in hosting a PHP servlet in
>> Tomcat
>> however.
> 
> Bill's right.
> 
> I also wrote up (the initial version of)
> http://wiki.apache.org/tomcat/UsingPhp a while ago, if you're still
> interested in this approach.
> 
> Yoav
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11606570
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-16 Thread Joe Nathan


Henri Gomez wrote:
> 
> Do you want a 100% Java PHP engine or just a simple native to Java bridge
> ?
> 

I mean PHP scripts are processed as JSP are handled inside Tomcat 
without installing any other things as built-in features. Imagine if 
Tomcat can handle JSP, PHP, even ASP script pages! Then who will 
not use this!


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11612860
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-16 Thread Joe Nathan


Mladen Turk-3 wrote:
> 
> Why would someone wish to do that at the first place.
> 
You should realize that PHP world is lot bigger than Java world!
Having both will have many merits.


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11643194
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-17 Thread Joe Nathan



Pid-2 wrote:
> 
> And how are you judging that?
> 
You should ask Redhat!

For example,
My products are in Java!
But my business website is in PHP!
I see my ISP a;one having customers in thousands 
who might be using PHP, no Java support. It's the same
for most small websites, because they cannot hire 
expensive Java programmers!

regards.


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11647154
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-17 Thread Joe Nathan

PHP is based on interpreter. Instead, pre-compiler as in JSP can
improve performance of PHP significantly. Then there will be lots of
people switching to Tomcat

regards.


pankaj narang wrote:
> 
> Hello
>
>   I am listening everything silently here but  I think Joe  is correct 
>  

-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11659609
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-17 Thread Joe Nathan


George L. Sexton-2 wrote:
> 
> It's not just writing a byte-code compiler that would convert the PHP to 
> java code, or even a parser that would re-write a PHP page into JSP. 
> It's creating the massively large library of functions.
> 
Isn't it true that most of libs are already in Java packages?
Most of them will need just adaptors. Some other legacies,
we may scrap!

regards.

-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11661491
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-18 Thread Joe Nathan


arjan tijms wrote:
> 
> I'm not really sure about that. For instance, even PHP web sites 'admit' 
> that Java is a great deal larger:
> 
> http://www.phpmag.net/magphpde/magphpde_news/psecom,id,27191,nodeid,5.html
> 
> Typically book stores (at least in Europe) carry more book about Java 
> than about PHP.  On top of that, job websites offer more jobs relating 
> to Java than to PHP. A lot depends on your point of view of course. If 
> you're into affiliate marketing, you might think the entire world is 
> PHP. Most of the small affiliate websites are indeed using PHP. On the 
> other hand, if you look at financial systems (banking, travel, etc) you 
> would think the entire world is nothing but Java EE.
> 
You only see from your own pond. There are a lot bigger community
out there! There are far more people doing some kind of web-development
for own business, personal website, or professional web-development.
These people don't know much programming, not counted in programmining 
market. Many of them know PhP, ASP, etc., and javaScript (nothing to do with
java).

I don't see many web-sites running with Java AS! They are almost in PhP!
To learn PhP, you don't need to spend thousands of dollars to buy
dozens of books, like I did in the past. I have no PhP books.
That easiness makes PhP polular amongst amateurs and professional
web-developers. 

regards.



-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11679832
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-19 Thread Joe Nathan



Jean-frederic Clere-3 wrote:
> 
> Henri Gomez wrote:
>> PHP rewritten in Java could be a good idea for the core but what about
>> the various extensions ?
> 
> That is a very hard part that needs JNI to load and to interface the API 
> of the extensions. There are also very easily threads and memory models 
> problems. Such a wrapper seems a huge thing to write.
> 
One thing you guys may not realize is that PHP has been forked with the 
compatibility problem. With new versions, old php scripts won't run, unless
you get PHP from Redhat!

What I suggest is that once core is written, extensions can be filled by 
those who wrote original extensions. If they don't exist, just omit them
since nobody is going to maintain it after all.

It might be also a good idea to have good clean new extensions,
discourage ad-hoc vendor specific extensions.

regards.

-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11686198
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat supporting PHP

2007-07-19 Thread Joe Nathan


Lilianne E. Blaze wrote:
> 
> Actually, that is exactly the problem. Everyone and their dog can learn
> basics of php in a couple of days, creating illusionary supply of
> countless self-appointed web experts with neither skill nor potential to
> ever move past the most basic level. 

hey, can you do other things than Java?

For example, Flash and action script, animation, movies, cool graphics, 
content writting, search engine optimization, and so on?

That's why you don't get that job! having php in Tomcat 
help you to learn those things as well, and become more
well-rounded web developer!

regards.


-- 
View this message in context: 
http://www.nabble.com/Tomcat-supporting-PHP-tf4080523.html#a11686314
Sent from the Tomcat - Dev mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]