Web development language selection: PHPorJAVA
Recently, I saw a new book in the bookstore named "The Return of the King of Java Web Integrated Development", a large part on thousands of pages. I simply reviewed the contents, the book covers JSP Servlet Struts Hibernate Spring EJB and other development technologies and frameworks. However, can anyone who does not have any basic java language master web development by learning this book? I am not criticizing this book here. This book can bring people with a certain J2SK base to the door of web development. What I want to express is that a person without a basic java language wants to learn how to use java for web development. The learning path is steep .. The same is true for C # Of the NET Framework. Web development can be done without having mastered the above knowledge. Java, c #, and PHP are mainly managed on the server side. Some other knowledge is also indispensable for web development. Such as html, css, javascript, and database design. Fully understand the java language, and be familiar with the technology and framework mentioned in "The Return of the King of Java Web Integrated Development", which makes it easy for our web development to "run the question ", it is also easy for us to give up halfway because it is too difficult. PHP is a relatively easy-to-get-started language than java and c #, and is mainly used for web server development. There is a natural integration with the databases of various manufacturers. It takes a short time to master the basic syntax. After learning about the basic syntax, she can go straight to the web Topic and explain the php book to directly explain how to process forms and operate databases, produce html, deal with javascript, and other content in the web world. After mastering the basic syntax, select an easy-to-use MVC framework, such as Yii, to develop small web applications in less than half a year. But again, php also has her shortcomings, such as casual code, lack of naming rules, too many thinking processes in the structure, a large number of global variables, weak language, and too flexible, it is not conducive to the formation of rigorous style code. The data structure and design patterns are described in java, c ++, and other languages. PHP has a lot of resources available on the Internet. From a certain point of view, this is also a disadvantage. For some beginners, it may lead to laziness and implementation of a function, this leads to degradation of thinking ability. However, the key lies in people and their own grasp. So let's talk about how to choose? I think: If you have a certain java language foundation, sticking to using java and learning the technology mentioned in java web Integrated Development is a good choice. For those without the java language, if there are other language basics, such as c/c ++, with object-oriented ideas, learning to use PHP is a good choice. It can quickly embrace the web without being "broken" by PHP ". If you are a newbie who does not have any language basics and do not want to enter the web development field, you can choose any language. If you want to enter the web development field, you can select php to quickly enter the web world. When you think that php is already very skilled in web development, do not be complacent. java, c ++ has many things to learn.
This article is from the "Sha ou-focused on Network Information Collection" blog, please be sure to keep this source http://freebird.blog.51cto.com/372076/264447
This article is automatically published by bean John's blog backup expert with one click.