The Guardian website frontend

卫报网站前端的源代码。「Source code of the Guardian website frontend.」

Github星跟蹤圖

We're hiring!

Ever thought about joining us?
https://workforus.theguardian.com/careers/product-engineering/

Frontend

The Guardian website frontend.

For everybody who engages with our journalism, theguardian.com is an industry-best news website that is fast, accessible and easy to use. Unlike other ways of developing products, ours puts the audience first.

Frontend is a set of Play Framework 2 Scala applications. It is built in two parts, using make for the client side asset build and SBT for the Play Framework backend.

For Articles, Frontend's responsiblity is to build JSON to pass to the modern rendering service, Dotcom Rendering.

Core Development Principles (lines in the sand)

These principles apply to all requests on www.theguardian.com and api.nextgen.guardianapps.co.uk (our Ajax URL)

  • Every request can be cached and has an appropriate Cache-Control header set.
  • Each request may only perform one I/O operation on the backend. (you cannot make two calls to the content API or any other 3rd party)
  • The average response time of any endpoint is less than 500ms.
  • Requests that take longer than two seconds will be terminated.

Documentation

All documentation notes and useful items can be found in the docs folder.

New developers

Welcome! How to set up and run frontend.

To get set up, please follow the installation guide.

Fixes for common problems can be found here.

Please read the development tips document to learn about more about development process.

For our deployment process, see how to deploy.

主要指標

概覽
名稱與所有者guardian/frontend
主編程語言Scala
編程語言Scala (語言數: 11)
平台Linux, Mac
許可證Other
所有者活动
創建於2012-05-18 15:39:15
推送於2025-06-09 16:52:03
最后一次提交
發布數2
最新版本名稱events (發布於 )
第一版名稱sidebar-v1.0 (發布於 2013-01-31 15:23:04)
用户参与
星數5.9k
關注者數201
派生數562
提交數104.6k
已啟用問題?
問題數1927
打開的問題數114
拉請求數24154
打開的拉請求數24
關閉的拉請求數1887
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?