Getting Started with CakePHP 3.5 and Accelerated Mobile Pages (AMP)

Next: Adding Social Authentication Plugin UP: TOC

Here are a few requirements for our new entry page:

  • The page must be AMP complaint (see amp validator)
  • The page must be available in various languages (en=default, de/fr/it/zh/jp)
  • The root url must display the english version of the entry page

Setup the default template in CakePHP 3.5

Setup the controller in CakePHP 3.5

Create a file in /usr/.../src/Controller/StartController.php. This file will contain the logik.

Setup the View for Controller Start

code.....
Next: Adding Social Authentication Plugin UP: TOC