Web development tools

Web development tools allow web developers to test and debug their code. They are different from website builders and IDEs in that they do not assist in the direct creation of a webpage, rather they are tools used for testing the user facing interface of a website or web application.

Web development tools come as browser add-ons or built in features in web browsers. The most popular web browsers today like, Google Chrome, Firefox, Opera, Internet Explorer, and Safari[1] have built in tools to help web developers, and many additional add-ons can be found in their respective plugin download centers.

Web development tools allow developers to work with a variety of web technologies, including HTML, CSS, the DOM, JavaScript, and other components that are handled by the web browser. Due to the increasing demand from web browsers to do more[2] popular web browsers have included more features geared for developers.[3]

Web developer tools support

The web's five most popular web browsers[4] have support for web developer tools that allows web designers and developers to take a look at the make up of their pages. These are all tools that are built into the browser and do not require additional modules or configuration.

Common features

The built-in web developer tools in the browser are commonly accessed by hovering over an item on a webpage and selecting the "Inspect Element" or similar option from the context menu. Alternatively the F12 key tends to be another common shortcut.[13]

HTML and the DOM

HTML and DOM viewer and editor is usually commonly included in the built in web development tools. The difference between the HTML and DOM viewer, and the view source feature in web browsers is that the HTML and DOM viewer allow you to see the DOM as it was rendered in addition to allowing you to make changes to the HTML and DOM and see the change reflected in the page after the change is made.[14]

In addition to selecting and editing, the HTML elements panels will usually also display properties of the DOM object, such as display dimension, and CSS properties.[15]

Web page assets, resources and network information

Web pages typically load and require additional content in the form of images, scripts, font and other external files. Web development tools also allow developers to inspect resources that are loaded and available on the web page in a tree-structure listing.[16][17]

Web development tools also allow developers to view information about the network usage, such as viewing what the loading time and bandwidth usage are and which HTTP headers are being sent and received.[18]

Profiling and auditing

Profiling allows developers to capture information about the performance of a web page or web application. With this information developers can improve the performance of their scripts. Auditing features may provide developers suggestions, after analyzing a page, for optimizations to decrease page load time and increase responsiveness. Web development tools typically also provide a timeline features provides a record of the time it takes to render the page, memory usage, and the types of events which are taking place.[19][20]

These features allow developers to optimize their web page or web application.[21]

Javascript debugging

JavaScript is commonly used in web browsers. Web development tools commonly include a panel to debug scripts by allowing developers to add watch expressions, breakpoints, view the call stack, and pause, step over, step into, and step out of functions while debugging JavaScript.

A JavaScript console is commonly included. The consoles allow developers to type in JavaScript commands and call functions, or view errors that may have been encountered during the execution of a script.[22][23][24]

Extensions and plugins

Modern web browsers support the use of plugins or extensions to add or augment functionality.[25] There are many popular plugins that add additional features than those supported by the built-in developer tools. Features can range from being able to disable JavaScript and CSS to being able to edit cookies with greater ease.[26][27][28][29]

See also

References

  1. http://www.fraakz.com/top-web-browsers-in-2012.html
  2. http://www.brighthub.com/internet/web-development/articles/25776.aspx
  3. http://devworks.thinkdigit.com/Software/Browsers-are-the-new-IDE-for-Web_9995.html
  4. http://www.webdevelopersnotes.com/articles/popular-web-browsers.php
  5. https://developer.chrome.com/devtools
  6. http://msdn.microsoft.com/en-us/library/ie/hh673541(v=vs.85).aspx
  7. https://developer.apple.com/technologies/safari/developer-tools.html
  8. Safari version history
  9. https://hacks.mozilla.org/2013/08/the-browser-console/
  10. https://developer.mozilla.org/en-US/docs/Tools/Web_Console
  11. http://tips.webdesign10.com/web-developer-toolbar.htm
  12. http://www.opera.com/dragonfly/
  13. https://developers.google.com/chrome-developer-tools/docs/overview#access
  14. http://msdn.microsoft.com/en-us/library/gg589512(v=vs.85).aspx
  15. https://developers.google.com/chrome-developer-tools/docs/elements
  16. https://developers.google.com/chrome-developer-tools/docs/resources
  17. http://blog.mozilla.org/blog/2012/10/09/firefox-debuts-new-developer-toolbar/
  18. https://developers.google.com/chrome-developer-tools/docs/network
  19. https://developers.google.com/chrome-developer-tools/docs/profiles
  20. http://msdn.microsoft.com/en-us/library/hh180764(v=vs.85).aspx
  21. http://msdn.microsoft.com/en-us/library/gg699341(v=vs.85).aspx
  22. https://hacks.mozilla.org/2012/08/new-firefox-command-line-helps-you-develop-faster/
  23. http://www.opera.com/dragonfly/documentation/console/
  24. https://developers.google.com/chrome-developer-tools/docs/console
  25. https://www.mozilla.org/en-US/plugincheck/more_info.html
  26. https://chrome.google.com/webstore/detail/edit-this-cookie/fngmhnnpilhplaeedifhccceomclgfbg?hl=en
  27. https://addons.mozilla.org/en-US/firefox/addon/web-developer/
  28. https://addons.opera.com/en/extensions/details/the-developer-briefcase/?display=en
  29. https://developer.apple.com/technologies/safari/extensions.html
This article is issued from Wikipedia - version of the 10/6/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.