n-Layer Distilled – Tech Stack
e-Commerce System (frontend + backend)
FrontEnd BackEnd
JobWS Svc Proxies
SOA/Asmx/WCF/
Servlet/RESTful Svc
Technology Center
Controllers, Svc Proxies
Presentation Layer
Application Layer
Domain Layer
Infrastructure Layer
HTML/JS Aspx/Servlet
Ascx/Taglib/JSF
DAL Fx/Svc, Data Access Layer, etc.
ADO.NET, JDBC, ORM, etc.
Framework, Utils, etc.
Utils
OOD &
DDD
WinSvc
Code Arch to Org Arch – Ctrip Samples
• Ctrip Flight Dev Team
– Frontend Presentation + Application
– Backend API (SOA) + Domain + Data
• Ctrip Hotel Dev Team
– Data Dev Team DB/SQL/Repl/DAL
• Ctrip Fx Dev Team
– Frontend Presentation + Application
– Backend API (RESTful) + Domain + Data
Code Arch to Org Arch – Int’l Flight Team
航空公司SNS 无线APP Online 分销Offline
搜索查询
资源共享平台API
GDS Amadeus Sabre Galileo 中航信
Presentation
Layer (View)
Application
Layer (Controller)
Domain Layer
(API)
Infrastructure
Layer (internal)
Infrastructure
Layer (external)
Frontend Dev Team
Backend Dev Team
Agenda
• Recall: n-Layer Code Structure & Org Structure
• What’s NodeJS
• Who are applying NodeJS
• Why considering NodeJS for Ctrip
• Risks & Issues
• Demo