Code Online php Greenbank network code online
Directory
Greenbank network code went live... 1
Launch plan for small and medium-sized enterprise projects... 1
Launch solution for small enterprises... 1
Code launch solution for medium-sized enterprises... 2
Datang Telecom case... 3
Sina case... 4
Suitable for the current online solution... 5
Small and medium-sized enterprise project launch plan small and medium-sized enterprise launch plan
1. fast and timely release of code anytime, anywhere
2. the code released by the developer is not tested by the tester, and the user access page is refreshed and changed. it may also cause the program to be updated in an instant and cannot be accessed at that time, resulting in poor user experience on the website, if the code is written incorrectly during development, the impact will be even greater. this is a launch solution that uses the user as a test.
3. according to statistics, more than 50% of the faults on the website are related to the development program code (for example, a loop code is written incorrectly during development, leading to an endless loop. at this time, a large number of users access this program, the server can be exhausted and the server will be killed)
4. problems with websites of small and medium-sized companies are generally caused by O & M personnel (for example, website downtime). In this case, most problems may be caused by developers or code. The better strategy here is the idea of the development project responsibility system.
1. developers must build a LAMP environment on their personal computers to test and develop website code, and pass the test environment in the office or IDC room. it is best to have full-time testers.
2. the prescribed time for launching program code. for example, if a website is launched once every three days. if a website is frequently updated At Seventeen o'clock P.M. every day, depending on the business nature of the website, the principle is to minimize the impact on user experience.
3. back up the code before it goes online. in addition to making it easier to roll back, the website program uploads the code as much as possible to the temporary directory of the server website, or use ln for soft connection.
4. the O & M personnel must be responsible for the management and launch of codes. developers are more concerned about code performance and service Stability. therefore, if the website goes down to O & M management, it is necessary to make the O & M online more standardized and scientific. Otherwise, the development is updated at will, and the O & M personnel are responsible for the problematic O & M, so the O & M personnel will never be able to look up.
Code launch solution for medium-sized enterprises
Datang Telecom case
Independent accounting by department.
The development department rents O & M Department servers, hardware facilities, application settings, monitoring settings, and O & M is responsible for monitoring. Applications are down and handled by people in each department.
O & M is responsible for underlying construction and migration.
Launch and other daily operations. the person in each group is responsible for this.
Sina case
Suitable for current online solutions
Online process text description:
Step 1: estimate the launch time of this month. an email is sent to the O & M Group of the development manager (supervisor) testing group.
Step 2: Enter the Test environment with the developer code
Step 3: Test the group access test to determine whether the interface concurrency can be achieved-success, and step 5
Step 4: Return to redevelopment
Step 5: O & M Access, confirm to update the website URL, rsync migration. SQL audit
Step 6: The Tester enters and tests whether the pre-launch environment is consistent with the Test environment
Step 7: The developer submits the code to SVN to describe the path address and version
Step 8: the O & M personnel should check whether the path and address SQL are consistent with those in the pre-launch phase.
Step 9: drag regularly to the production environment. Due to the PHP business, it is difficult to implement phased release for the time being, and batch changes are implemented.
Step 10: test personnel, wait for the launch to complete the final Test and check? Problematic O & M and instant rollback --? Do not perform the operation today, and go online the next day. -- Mail quota online result