Phper: Let's embrace agility.

Source: Internet
Author: User
Tags php and
The PHP era is far from overThe worry about the future of PHP is a long-standing one, with Microsoft's. NET platform, which controls the operating system, and the Java technology that is red through the sky: PHP seems to have come to an end. However, when we look back on the past, we will find that PHP has always been in other people as the end of the space development. ASP, JSP, CGI era, the situation of PHP is not better than today, the pressure is not smaller than today, and the result? PHP has become one of the three major web scripting languages and has maintained a strong momentum of development. We have to sigh: There is no big company support, do not capital operations, away from commercial speculation, you can do such a success. I have attributed this success to a pragmatic philosophy: from simple to complex, to the user experience, to learn, to use the learning motivation, focus on the network, improve the development of positioning. In the process of using PHP to develop software, this philosophy has brought us a lot of benefits: we always use the simplest, most direct way to complete the task, so our design is always simple, until the requirements have changed, we will improve the relevant design; we always think about things from the perspective of the user (function), Instead of just looking at the problem from a programmer's point of view, we always keep our learning costs to a minimum and learn through actual operations. It should be said that PHP before the fifth version, is not a strict object-oriented language, and Java and. NET, PHP is also obvious lack of some normative things. However, the outstanding PHP open source projects are emerging on the sf.net, small and medium Web site by using PHP quickly have the desired features, and gradually use PHP extensions and open source package to improve, the large portal began to use PHP to speed up development, to provide users with rich and stable services. It all seems so incredible that it is only appropriate to use the words in the word "programming": PHP is in the Tao. So, what's the word?Some time ago, agile development was fired very hot, and many books on agile development were introduced into the Chinese market. Although hype is not a good thing, but agile development is really a good thing. But at that time I did not look at their own project Step-by-step towards the collapse of the pain, so not very cold, bought a few books are also conveniently turned over and shelved. Two years ago, I think a good program is to be able to operate correctly; a year ago, I think a good program to be able to complete the user needs of the function, but also efficient and easy to use; While the previous experience of the development of the past, I thought about how a project can be completed on time, how developers can communicate effectively, How the system maintains a good structure under frequent requirements changes. My friend suggested I take a look at Agile software development, so I wasted a whole two weeks of my time. Some familiar and unfamiliar principles appear in front of me, thinking about a problem one by more or less solved; and the contours of a lightweight software engineering approach are becoming more pronounced. All of a sudden, you can see the traces of PHP in agile development--the smell of a pragmatic philosophy, and agile development is clearly more systematic and has better operational value. PHP5, the change is not just grammarRecently, the fifth version of PHP officially released, on the topic of PHP5 began to heat up, but we pay more attention to the more are new syntax or modules, and PHP5 more important significance is that it is the official PHP into the enterprise-level market signs. One of the things that needs to be done to get into the enterprise market is to use a kind of engineering approach that enables a large number of PHP programmers who are accustomed to writing code on their own to collaborate and maintain a high level of productivity. As a PHP programmer, we also take the opportunity to elevate ourselves from a simple code coder to a developer who understands software engineering and can communicate and collaborate effectively with the team. The best choice for PHP is agile: to keep people as the core of software development, to maintain the simplicity of design, to use test-driven development, to maintain the robustness of the architecture with refactoring, to guide the design with object-oriented design principles and design patterns, to keep the software flexible and to adapt to changes in demand. With agile development as a guide, we can use PHP fast, efficient, low-cost to complete a strong, stable, adaptable to changes in demand applications. --This is called a menace. This is not a fantasy, with the impetus of some developers, has gradually become an implementation of the fact. In pear, a package for unit testing has been prepared for PHP5 developers: PHPUNIT2; more and more PHP developers are beginning to add more or less to the elements of agile development in their work, and the IDE, which supports refactoring PHP, believes it will soon be there. If successful, this program will effectively improve the level of the PHP development community, help PHP programmers write better and stronger programs, so as to effectively promote the pace of PHP in the enterprise-level market.

Let's embrace agile development.

Yes, I think as a PHP programmer, you need to understand agile development--now that you've chosen PHP, you should like agile development. Some books and resources are listed here for your reference. Book:
    • Agile Software Development-principles, patterns and Practices (Uncle Bob's Masterpiece, English ebook online)
    • refactoring--improving the design of existing code (Houtie's website opens the Chinese version of the 1~6 chapter )
    • Design Patterns-the basics of reusable object-oriented software (this is not much to say, I've never seen or heard of it)
    • " test-driven Development "
PS, the top of the book on the Internet can find the electronic version of the download, the Dearbook connection to do is to facilitate the download of the Chinese sample chapter. Website:
    • Discussion of phppatterns.com php and Design Patterns
    • lastcraft.com Unit test tools SimpleTest and PHPUnit related introduction
Another Php&more"Vol2 will also have phpunit and design patterns related articles, please look forward to." (By the way advertise: P)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.