So I was just going to do PHP, probably looked at, I think I can not understand PHP as another form of action?
Reply to discussion (solution)
What have you done before?
I used to do Java, recently just looked at PHP do not know so understand right ...
What have you done before?
I used to do Java, recently just looked at PHP do not know how to understand it right.
PHP is not an action. PHP is the same as Java and is a complete language. PHP, of course, also includes action.
PHP's Code architecture is MVC (Model View Controller), which is similar to Java. Where controller is the corresponding Java Action;model is the Class;view is the template (HTML). To summarize, PHP is similar to java. Grammar style is the same, can be said to be C-style. So it's easy to learn.
Unlike Java, this is a different kind of controversy. Personally think that one is PHP compared to Java, is a weakly typed language, that is, dynamic language. In this case, developing the web will be faster. The second difference is that PHP's runtime is not as oo,php as Java's (Java-like virtual machine) API is not packaged, all functions, just like the C language. I personally dislike this point. However, the PHP IDE has a very good hint function.
PHP is not an action. PHP is the same as Java and is a complete language. PHP, of course, also includes action.
PHP's Code architecture is MVC (Model View Controller), which is similar to Java. Where controller is the corresponding Java Action;model is the Class;view is the template (HTML). To summarize, PHP is similar to java. Grammar style is the same, can be said to be C-style. So it's easy to learn.
Unlike Java, this is a different kind of controversy. Personally think that one is PHP compared to Java, is a weakly typed language, that is, dynamic language. In this case, developing the web will be faster. The second difference is that PHP's runtime is not as oo,php as Java's (Java-like virtual machine) API is not packaged, all functions, just like the C language. I personally dislike this point. However, the PHP IDE has a very good hint function.
So what's the way they interact with each other, like I used to do in Java, with the XML configuration between the V layer and the C layer so that you can find the action or the page exactly, but PHP is also through XML
PHP does not have such a configuration. PHP uses a template engine?? A template class?? To pass data into an HTML document. The mainstream template class is smarty, you can see.
PHP does not have such a configuration. PHP uses a template engine?? A template class?? To pass data into an HTML document. The mainstream template class is smarty, you can see.
Well, thank you, hehe .....