[PHP-DEV] Java support....

2003-01-24 Thread John Wells
Guys,

Sorry to post this to the dev list, but general yielded no results.  Lot's
of noise on there and something about foo vs. bar ;-).

I'm considering using the integrated Java support within PHP to make
method calls to a java reporting tool (jasper reports) from within PHP.

Yet, the manual suggests the ability to call methods on java objects is
experimental at best.

Was wondering if anyone here is using this feature in a production
environment (or at all, for that matter), and if so how if you've had any
problems.

Alternatively, I could use the SAPI module, but I'm worried that this may
be a performance hit to my app (disclaimer: haven't tested or even tried
yet).  Is it possible to have most of your PHP app run under mod_php and
the Java-related portion run contained in a Tomcat servlet?

Finally, which option would you recommend?

I appreciate any input you're able to provide.

John




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




Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-06 Thread John Wells
So code should be backwards compatible?  Very nice.

Any good links you could throw my way describing proposed changes?

Thanks guys.

John

Sterling Hughes said:
>> On Monday, January 6, 2003, at 09:48  PM, Brian Moon wrote:
>>
>> >From what I understand, all OO code will have to be modified for
>> PHP5. Constructors for example and no longer named the same as the
>> class  name.
>> >That alone means every class must be changed.  I don't recall anyone
>> saying
>> >it would be BC either, but I could be wrong.
>>
>> You're wrong.
>>
>> Of course, I could be too.
>>
> but you're not.  so its ok...
>
> :)
>
> -Sterling
>
>>
>> --
>> PHP Development Mailing List 
>> To unsubscribe, visit: http://www.php.net/unsub.php




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




[PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-06 Thread John Wells
I'm preparing for a project in which I'll be porting and redesigning a
large, ugly Visual Basic/Sql Server app to a PHP/Mysql or Postgresql based
web application.

I'd like to code in a way that will be at the same time easily ported to
PHP5 and that will take advantage of PHP5's new object handling
efficiencies.  I've read varying reports of whether syntax will be
different.

Is there anything I should watch for, add, or specifically avoid while
coding this application to make the transition as easy as possible?

Thanks!
John








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