10. Other Ways to Mobilize: Device Detection and PHP Includes
As we wrap up this book’s survey of different approaches to mobilizing web sites, we conclude with a third method to consider. Rather than querying the screen size of a display’s viewport to determine how to present content, this approach instead detects hardware type. And instead of serving a fixed HTML page and responsively presenting that page with different CSS rules for mobile contexts, you will learn how to have your web server dynamically construct and serve a different page based on the device on which it will appear.
What is PHP?
PHP is a server-side scripting language, as opposed to HTML which is a markup language that can be interpreted directly on the client-side of a web ...
Get Mobilizing Web Sites: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.