Re: [PHP] PHP compared to JSP

2002-05-06 Thread Manuel Lemos
m: Manuel Lemos [mailto:[EMAIL PROTECTED]] > Sent: May 5, 2002 4:01 PM > To: Sp > Cc: Miguel Cruz; Pag; Luc Saint-Elie > Subject: Re: [PHP] PHP compared to JSP > > > Hello, > > Sp wrote: > >>Does anyone think caching should be built into php for it to edge out the

Re: [PHP] PHP compared to JSP

2002-05-06 Thread Robert Cummings
I find caching to be extremely helpful. I have a complex property layer for my php based web engine/library. These properies have several levels of dependency and inheritance which can take as many as 15 queries to build. Then I cache the tree and it is reduced to a single query on subsequent page

Re: [PHP] PHP compared to JSP

2002-05-05 Thread Manuel Lemos
Hello, Sp wrote: > Does anyone think caching should be built into php for it to edge out the >competition? > (like what smarty is doing) > > I mean a static page will always serve up faster then a dynamic one. Also even if >you are > getting 100 pages/sec on your database, you could cache it

Re: [PHP] PHP compared to JSP

2002-05-05 Thread Dennis Moore
ot;Pag" <[EMAIL PROTECTED]> Cc: "Luc Saint-Elie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, May 05, 2002 2:47 PM Subject: RE: [PHP] PHP compared to JSP > Does anyone think caching should be built into php for it to edge out the competition? > (like

RE: [PHP] PHP compared to JSP

2002-05-05 Thread SP
Saint-Elie; [EMAIL PROTECTED] Subject: Re: [PHP] PHP compared to JSP On Sat, 4 May 2002, Pag wrote: >> Does PHP compile : NO >> Does the user loading same page for 2nd time gets better response : YES >> it can if caching is provided > > On a side not..isnt caching a bit like g

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Miguel Cruz
On Sat, 4 May 2002, Pag wrote: >> Does PHP compile : NO >> Does the user loading same page for 2nd time gets better response : YES >> it can if caching is provided > > On a side not..isnt caching a bit like going against why PHP was built > in the first place? I mean, information may get a bit o

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Michael Kimsal
Ilia A. wrote: > Caching is not going against PHP as long as whenever the file is changed of > the 1st access it would be cached, rather then caching php scripts based on > some arbitrary timer. > > Ideally the caching script would on the 1st access of the script convert the > script to binary

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Ilia A.
Caching is not going against PHP as long as whenever the file is changed of the 1st access it would be cached, rather then caching php scripts based on some arbitrary timer. Ideally the caching script would on the 1st access of the script convert the script to binary code which can then be exe

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Jess Planck
In PHP programming this can be a complex issue. An excellent example of caching or re-handling data is the Smarty Template Engine, http://www.phpinsider.com/php/code/Smarty/ . It may seem a rather redundant idea to cache and create scripts in PHP which is already part of the HTML documents, b

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Pag
> >Does PHP compile : NO >Does the user loading same page for 2nd time gets better response : YES it >can if caching is provided On a side not..isnt caching a bit like going against why PHP was built in the first place? I mean, information may get a bit out of date if we get a page o

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Pag
>But my question still remains the same ... does PHP alone (without ZEND) >compile code into some .compiled_PHP file so that the user loading same page >for 2nd time gets better response than the 1st time? No, it doesnt. Every time a user accesses a page that has PHP, the page will be

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Luc Saint-Elie
At 11:07 04/05/2002 -0500, Paras Mukadam wrote: >Thanks for that ! >But my question still remains the same ... does PHP alone (without ZEND) >compile code into some .compiled_PHP file so that the user loading same page >for 2nd time gets better response than the 1st time? Hello, Both have nothin

Re: [PHP] PHP compared to JSP

2002-05-04 Thread Paras Mukadam
Thanks for that ! But my question still remains the same ... does PHP alone (without ZEND) compile code into some .compiled_PHP file so that the user loading same page for 2nd time gets better response than the 1st time? Regards, Paras. "Matt Friedman" <[EMAIL PROTECTED]> wrote in message 001401

RE: [PHP] PHP compared to JSP

2002-05-04 Thread Matt Friedman
JSP does not ever run in the browser. JSP is a server side technology designed to compete with ASP. PHP is similar in that it too is a server side language and can be embedded into html pages. Java tends to be considerably slower than PHP but the Java folks have made great strides towards overcomi