Book Image

HTML5 Enterprise Application Development

By : Nehal Shah, Gabriel José Balda Ortíz
Book Image

HTML5 Enterprise Application Development

By: Nehal Shah, Gabriel José Balda Ortíz

Overview of this book

<p>HTML5 has been a trending topic for a long time, but the lack of Flash support on iOS devices has sped up its penetration. New features in HTML5 come at a time when web developers are pushing the limits of what is achievable and HTML5, CSS3, and JavaScript have become an important alternative for building rich user interfaces.<br /><br />"HTML5 Enterprise Application Development" will guide you through the process of building an enterprise application with HTML5, CSS3, and JavaScript through creating a movie finder application. You will learn how to apply HTML5 capabilities in real development problems and how to support consistent user experiences across multiple browsers and operating systems, including mobile platforms.<br /><br />This book will teach you how to build an enterprise application from scratch using HTML5, CSS3, JavaScript, and external APIs.<br /><br />You will discover how to develop engaging experiences using HTML5 capabilities, including video and audio management, location services, and 3D and 2D animations. We will also cover debugging techniques, automated testing, and performance evaluations to give you all the tools needed for an efficient development workflow.<br /><br />"HTML5 Enterprise Application Development" is a comprehensive guide for anyone who wants to build an enterprise web application. You will learn through the implementation of a real-world application as we show you handy libraries, development tips, and development tools.</p>
Table of Contents (20 chapters)
HTML5 Enterprise Application Development
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Web debugging proxies


A proxy is a piece of hardware that acts as an intermediary between the client and server. Application of software proxies as a way to debug web applications is a widely used practice, the main purpose of which involves inspecting data from requests and viewing the server responses.

On the Windows platform, we recommend Fiddler. It can be found at http://www.fiddler2.com/fiddler2/. If you are using a Mac, you can use Charles, which is found at http://www.charlesproxy.com/. Both are web proxies that record the communication between server and client.

Simply open the application, turn on the capture, and load your web application. Here you can see Charles capturing MovieNow requests:

It is possible to simulate responses using proxies as well. For example, in Charles you can go to Tools and then Map Local... to use local files or services as the response to your application. You can use Rewrite... in the same menu to modify part of a response and send it back to your application...