Welcome Guest, Not a member yet? Register   Sign In
How to develop AMP site while using php
#1

hi,

can anyone tell me how to create AMP website while using CI4 framework?

PHP is server-side and AMP is client-side.

is there a way to use AMP on CI4?
Reply
#2

(This post was last modified: 12-25-2020, 03:42 PM by John_Betong.)

Basically an AMP web page consists of loading their own specific JavaScript file and their own specific CSS file which are always required in the HTML head section. Absolutely no other JavaScript script is allowed except their own scripts and additional CSS and HTML must conform to their standards.

Create a “Welcome_message” template with the the two AMP essential files and also shortcuts to their specific HTML validation utilities. Once validation is achieved use the template and add your own HTML and CSS scripts continually validating each incremental addition.

Many browsers have AMP validation utilities.

Remember that if the web page does not satisfy their strict standards then caching and preferential Google search will not be used.
Reply
#3

(12-25-2020, 03:40 PM)John_Betong Wrote: Basically an AMP web page consists of loading their own specific JavaScript file and their own specific CSS file which are always required in the HTML head section. Absolutely no other JavaScript script is allowed except their own scripts and additional CSS and HTML must conform to their standards.

Create a “Welcome_message” template with the the two AMP essential  files and also shortcuts to their specific HTML validation utilities. Once validation is achieved use the template and add your own HTML and CSS scripts continually validating  each incremental addition.

Many browsers have AMP validation utilities.

Remember that if the web page does not satisfy their strict standards then caching and preferential Google search will not be used.

Thank you, John.
Will check.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB