PHP Coding Standard and 50+ Programming Skills

  PHP Coding Standard and 50+ Programming Skills from Ho Kim   @see http://www.kimbs.cn/category/coding-standards/ @see http://framework.zend.com/wiki/display/ZFDEV/PHP+Coding+Standard+(draft) @see http://framework.zend.com/manual/en/coding-standard.html   Cheers~  

Posted in Coding Standards, Optimization, PHP, Training | Tagged , , , , | 3 Comments

Event Process Flowchart

Recently designed the user events distribution system:   App interface -> Processing queue -> PHP -> RAM log -> Backend distribution     @todo & @worry 1. Strengthen the success rate of interfaces 2. Increase queue number 3. Database sharding, improve the rebuild process 4. Enlarge PHP memory and increase Nginx workers/processes

Posted in Architecture | Leave a comment

MongoDB – Local MultiDB & ReplicaSet Configurations for Development

Create directories like below:     Bat scripts for running each ReplicaSet instance:   start_db1_r1.bat:   start_db1_r2.bat:   start_db1_r3.bat:   start_db2_r1.bat:   start_db2_r2.bat:   start_db2_r3.bat:   start_db3_r1.bat:   start_db3_r2.bat:   start_db3_r3.bat:     Backend script start.bat for running all-at-once:       Initial configurations:        

Posted in MongoDB | Comments Off on MongoDB – Local MultiDB & ReplicaSet Configurations for Development