PHP Development Website: PHP website development plan

Source: Internet
Author: User
1. Developer a) project supervisor B) page Artist c) page developer d) server program developer e) system and data governance f) test and version control 2. simple website Group development process 3. development tools and environment a) server configuration I. WEB server: F

I. Developer

A) project supervisor
B) page artist
C) page development
D) server program development
E) system and data governance
F) Test and version control

2. simple website Group development process

III. development tools and environment

A) server configuration
I. WEB server: FreeBSD6.1 Apache2.0 PHP5.0, SVN Version Control Service (test machine only ).
Ii. database server: WIN2003 server SQL SERVER 2000 MySQL5.0, CLUSTERED server cluster service, mail server.
Iii. 100 M/M switch
B) development tools
I. front-end: Macromedia flash 8.0, Macromedia Dreamweaver 8.0, Adobe photoshop CS
Ii. Background: Zend Studio 5.2, SQL Server Enterprise Manager, PhpMyAdmin

4. skills and rules

A) browser compatibility policy: Compatible with IE5.0 and later versions, and compatible with FireFOX2.0 and later browsers.
B) search engine optimization: it focuses on baidu, Google, and Yahoo search optimization, and makes clear website map.
C) character encoding rules: the first rate of a Chinese website adopts the GB2312 character scale.
D) file and folder naming: Compatible with win32 and unix systems. the first rate is named by lowercase letters.
E) naming rules for public files:
I. default homepage: index.htm?index.html, index. php
Ii. main CSS file: style.css
Iii. main JS file: main. js
Iv. main program configuration file: config. php
F) the same name of the public file directory
I. image directory:/images or/pic
Ii. CSS style directory:/css
Iii. JS script program directory:/js
Iv. Template File Directory:/tpl
V. class or component directory:/class or/lib
G) page script specification: The same JavaScript
H) names of classes, functions, and variables in the code: names of similar English words in the same application, such as DefaultClass or default_class.
I) code annotation rules: all functions or processes in a program must be annotated with true comments.
J) database coherence rules
I. naming rules for data tables and Fields: name all lowercase letters and return the class naming prefix, such as: User table group, user_passport, user_info, user_service ....
Ii. date field: unix timestamp of the same application, char (12)
Iii. Important hazard name: all tables must have a primary key named by id.
K) template component rules: Smarty of the same application compatible version and the same cache directory for easy control of Unix permissions.
L) database virtual layer: the same application of Adodb or Pdo, SQL statements must be compatible with existing mainstream database rules.
M) development rules of the factory mode: the component class is developed or continuously centered on comm. php, and the IO and class instantiation of the same control file is called.
N) object-oriented development rules: all functions must exist in methods of class ---> process.
O) SQL encapsulation rules: all SQL statements and database queries must exist in the process.
P) URL to the rules: to optimize the search engine, try to use Apache mod_rewrite module to beautify the URL, such as: http://www.yourname.com/action.php? Id = 123 convert to: http://www.yourname.com/action/id/123 or http://www.yourname.com/action/id_123.html

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.