[PHP] Modularity--Optimizing Includes and Libs

2001-09-19 Thread Bora Paksoy
Hi; I have a question regarding includes and writing library modules in PHP. In one of the replies to my previous e-mail,I was told that PHP parses/compiles pages everytime a new request comes in. So, does this mean we have to minimize the amount of code per page (which also means to minimize n

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
> Threading instead of forking? None of these do > either. Apache is a > pre-forking multi-process server and both PHP and > mod_perl are part of > these pre-forked processes. Neither mod_perl nor > PHP do any threading nor forking. ??? I didn't get this? Aren't these pre-forked processes han

Re: [PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
> Why on earth would you prefer java servlets? Hmm... Let's see;Java is a full-fledge, totally OOP and awesome programming language but not a scripting language. Speed (will be mentioning this later), having total control over whatever you want (exception handling, db pooling, caching, syncrh

[PHP] PHP vs. PERL (Functional Comparison)??

2001-09-16 Thread Bora Paksoy
Hi; I am planning to implement a new site which will be using mysql db heavily, and I am in the middle of (and stuck:) deciding what I should use for implementation. I would definitely prefer Java Servlets, but it is very expensive to host servlets, so I am only comparing PHP vs. Perl. I have b