PHP Frameworks

Overall System

  • Bucket testing ready
  • End-to-End performance (X-Perf in http header)
  • Unique Request ID
  • Application flow testing (測試買場,測試帳號,測試 Promotion 設定)

Coding Style

API Layer - HHVM

Frontend Layer

PHP - API Document

  • swagger

PHP - mySQL DB

  • ext\/mysqli
  • Prepare statement
  • supports non-blocking, asynchronous queries with mysqlnd
  • Driver: mysqllnd

Timestamp

  • Use ISO-8601, 2012-01-18T11:45:00+00:00

Traffic Splitter

RPC

Non-blocking I/O

DevBox

  • Vagrant
  • docker

Monitor

  • Zabbix + shell scripts
  • Splunk

Deploy

Log

Queue

  • RabbitMQ

Browser - View

  • React.js (not recommended , too few ppl known this.)
  • Vue

Browser - CSS

Browser - JS

  • JQuery 3.1

API merged

API layer → add on start \/ after \/ count \/ fields param.

  • Function : paging, count , cursor position …

Package management

HTTP2 server push for image

  • CDN: Azure and AWS

Cache

Testing

  • All testing engineers should be interviewed by SDET team
  • Java test framework with Selenium is preferred but OK with PHP
  • Request Selenium + Cucumber for automation test framework
  • Functions in all systems, sub Systems, API, mobile app & web should be all automated.
  • An access to their Testing Environment is required
  • CI\/CD set up is required
  • Code developed in each sprint should be sync up with EIT
  • Test cases with execution status are required daily
  • Need to clarify who is responsible for real devices – Pad and smart phone
  • Test plan is required but EIT will provide template
  • Mobile app testing framework - Appium
  • Mobile app performance testing framework - Monkey ( TBD )
  • Performance testing - TSUNG ( in Erlang )

Other Useful Libraray

results matching ""

    No results matching ""