Normal is in the eye of the beholder
Originally posted by aaron ho:
A PHP page can (and does) the processing, logic, etc. needed.
They are both able to be run on any platform that supports its runtime environment (jre, php.exe).
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
Originally posted by aaron ho:
Can i use PHP on presentation layer?
********************************
Yes, you must use it. PHP does not formally enforce the Model-View-Controller concept the way Java does. In Java, JSP=presentation, servlet=control; in PHP the php script is the presentation and control.
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
Originally posted by aaron ho:
There is no formal separation. Just as you can use a servlet for the presentation layer in java, PHP scripts are used for both presentation and logic. It is up to the programmer to 'de-couple' the layers.
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
IBM 286, SCJP, SCWCD, EIEIO
Originally posted by Leslie Chaim:
How about PHP vs Perl
Originally posted by Jyothi kidambhi:
The difference between JSP and PHP is I think is that JSP is Java Server Page Technology and PHP is an open source web scripting Language.Both of them allow scripting code in regular webpage to generate dynamic content.
Previously PHP pages were interpreted by server when it's requested but from PHP 4 pages are compiled to improve the performance.
• Sun Certified Programmer for Java 2 Platform (SCJP2)
• IBM Certified Professional for Object Oriented Analysis and Design with UML
• IBM Certified System Administrator for WebSphere Application Server v5.0
• Certified Business Analysis Professional (CBAP®)
Nothing up my sleeve ... and ... presto! A tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|