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

Re: [PHP] PHP compared to JSP

2002-05-06 Thread Manuel Lemos
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 competition? (like what smarty is doing) I mean a static page will always

Re: [PHP] PHP compared to JSP

2002-05-05 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 out of

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 going against why PHP was built

Re: [PHP] PHP compared to JSP

2002-05-05 Thread Dennis Moore
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 what smarty is doing) I mean a static page will always serve up faster then a dynamic one. Also

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 for 5

[PHP] PHP compared to JSP

2002-05-04 Thread Paras Mukadam
Sorry if this is repeated, but I didn't see my query in the news group so reposting it ! --- Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser, then the next time it finds the

RE: [PHP] PHP compared to JSP

2002-05-04 Thread Matt Friedman
: [PHP] PHP compared to JSP Sorry if this is repeated, but I didn't see my query in the news group so reposting it ! --- Dear all, How is PHP similar to / different than JSP ? I mean, in JSP the page is compiled the first time it runs on the web-browser

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

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 nothing

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 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 on

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,

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

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 code