Re: Newbie questions for the PHP5 experts in this ng



Following on from Josse Barrera's message. . .
Hi All,

I have just recently (~ 3wks) playing around with PHP. I come from an
OOP background (mostly C++) so I have taken to PHP5 like a duck to
water. However, I have a number of nagging questions that I have not yet
manage to resolve (all the websites I have visited seem to assume I
already know the answers - or could it be that PHP is so loosely held
together that it lets one get away without a proper architecture for an
application (is "application" the correct term for a bunch of PHP
scripts running server side or is there another term?)

Please define "proper architecture" :)

You might like to ponder how an 'application' would help out Apache (or any web server) which has the job of delegating lots of different requests to PHP.

All your other points can be 'explained' better (for example how security works) if you think in terms of serving web pages rather than syntax/type checking/language constructs.

--
PETER FOX Not the same since the adhesive company came unstuck
peterfox@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2 Tees Close, Witham, Essex.
Gravity beer in Essex  <http://www.eminent.demon.co.uk>
.



Relevant Pages

  • Re: PHP is rendered like a txt file
    ... published a .php file to a web server through FTP about an hour ago, expecting it to be rendered like an HTML file, except with a .php extension. ... which many web hosts charge extra for. ... Gravity beer in Essex. ...
    (comp.lang.php)
  • [Full-disclosure] PHP "multipart/form-data" denial of service
    ... PHP version 5.3.1 was just released. ... the temporary files will be deleted. ... When you send these requests to the web server, ... In a few seconds, the web server is not responding anymore, 65535 ...
    (Full-Disclosure)
  • PHP "multipart/form-data" denial of service
    ... PHP version 5.3.1 was just released. ... the temporary files will be deleted. ... When you send these requests to the web server, ... In a few seconds, the web server is not responding anymore, 65535 ...
    (Bugtraq)
  • Re: Ruby performance woes
    ... Now here's my take on all this: PHP and JSP and what I inquired ... S-expressions used as a directly alternate expression of SGML or XML. ... By the way, I've never had access to a Web server that can run ASP, ...
    (comp.lang.lisp)
  • Re: PHP-Yes, HTML-No --- Why?
    ... Because the files, when downloaded, are called .php and have absolutely no php in them:) ... But the extension doesn't match the contents of the file. ... Surely a dynamic web server should appear exactly the same as a static one - all files that contain HTML when viewed should be called .html. ...
    (comp.lang.php)