Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying RESS Essentials
  • Table Of Contents Toc
RESS Essentials

RESS Essentials

4 (1)
close
close
RESS Essentials

RESS Essentials

4 (1)

Overview of this book

RESS is a new methodology in the world of web design and development. It attempts to solve the problems that accompany the RWD (responsive web design) approach to web design. RESS is still in its infancy, but it is growing at an exponential rate. RESS Essentials shows you how to make server-side applications smarter and more aware of a visitor's environment limitations (device, screen size, and browser). This allows you to create faster and more reliable websites. Through this book, you will build a solid base of knowledge on RESS-related technologies, while the step-by-step tutorials will help you to create your own RESS system. This book is an introduction to RESS alchemy and gives you an incentive to build your own RESS lab. It will give you a broad overview of the multiple techniques used to code responsive websites in responsible ways. Beginning with an overview of RWD, you will learn the steps involved in setting up RWD for client-side development. You will then learn how to scale images using client- and server-side technology. By the end of this book, you will have learned about the implementation of RESS application patterns, browser feature detection, and various RESS architectures. RESS Essentials will also teach you how to use jQuery with some RWD design patterns and how to employ REST API for RWD pages.
Table of Contents (15 chapters)
close
close
RESS Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1
Index

Chapter 8. Employing a REST API for RWD

AJAX (Asynchronous JavaScript and XML) was invented to satisfy the need for a more responsive and functional web application. AJAX, by utilizing XMLHttpRequest, allows asynchronous exchange of data with a server to update parts of a web page without reloading the whole page.

Note

XMLHttpRequest (XHR) is a JavaScript API that allows you to make requests to a web server and load response data back to the script. Often, returned data is encoded in JSON format.

To build an AJAX application, we need some kind of API on the server side to respond to XHR. For some time now APIs inspired by the REST pattern are considered to be a good practice.

REST stands for "Representational State Transfer" and means an architectural style for distributed hypermedia systems. This concept was described in Roy Thomas Fielding's dissertation (available at http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) written in the year 2000. During the last 13 years...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
RESS Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon