Web development tools

Print Print
Reading time 6:33

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

Web development tools come as browser add-ons or built-in features in web browsers. Most popular web browsers, such as Google Chrome, Firefox, Internet Explorer, Safari, Microsoft Edge and Opera,[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 increasing demand from web browsers to do more,[2] popular web browsers have included more features geared for developers.[3]

Web developer tools support

Several notable web browsers have support for web developer tools that allow web designers and developers to 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.

Most used 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.[14]

HTML and the DOM

HTML and DOM viewer and editor is 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 allows 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.[15]

In addition to selecting and editing, the HTML elements panels will usually also display properties of the DOM object, such as display dimension, and Cascading- style sheet properties.[16]

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.[17][18]

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.[19]

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.[20][21]

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

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.[23][24][25]

Extensions and plugins

Modern web browsers support the use of plugins or extensions to add or augment functionality.[26] There are many common plugins that can provide a diverse range of additional features.

See also

References

  1. ^ http://www.fraakz.com/top-web-browsers-in-2012.html
  2. ^ "Growing Demand for Web Developers". Bright Hub. Retrieved 2018-09-06.
  3. ^ "Latest Application Development | Mobile Web Development - App Development, Application Trends". devworks.thinkdigit.com. Retrieved 2018-09-06.
  4. ^ "The Browser Console". Mozilla Hacks – the Web developer blog. Retrieved 2018-09-06.
  5. ^ "Web Console". MDN Web Docs. Retrieved 2018-09-06.
  6. ^ "Browser Console". Mozilla Developer Network. 13 August 2016. Retrieved 15 March 2017.
  7. ^ http://tips.webdesign10.com/web-developer-toolbar.htm
  8. ^ "Chrome DevTools Overview - Google Chrome". developer.chrome.com. Retrieved 2018-09-06.
  9. ^ McCormick, Libby. "F12 Developer Tools (Windows)". msdn.microsoft.com. Retrieved 2018-09-06.
  10. ^ erikadoyle. "Microsoft Edge Developer Tools - Microsoft Edge Development". docs.microsoft.com. Retrieved 2018-09-06.
  11. ^ "Opera Browser | Faster, Safer, Smarter Web Browser". www.opera.com. Retrieved 2018-09-06.
  12. ^ Inc., Apple. "Tools - Safari - Apple Developer". developer.apple.com. Retrieved 2018-09-06.
  13. ^ Safari version history
  14. ^ https://developers.google.com/chrome-developer-tools/docs/overview#access
  15. ^ McCormick, Libby. "Introduction to F12 Developer Tools (Windows)". msdn.microsoft.com. Retrieved 2018-09-06.
  16. ^ "Inspect and Edit Pages and Styles  |  Tools for Web Developers". Google Developers. Retrieved 2018-09-06.
  17. ^ "Resources Panel - Google Chrome". developers.google.com. Retrieved 2018-09-06.
  18. ^ "Firefox Debuts New Developer Toolbar". The Mozilla Blog. Retrieved 2018-09-06.
  19. ^ "Measure Resource Loading Times  |  Tools for Web Developers". Google Developers. Retrieved 2018-09-06.
  20. ^ "Profiles Panel - Google Chrome". developers.google.com. Retrieved 2018-09-06.
  21. ^ McCormick, Libby. "F12 developer tools console error messages (Windows)". msdn.microsoft.com. Retrieved 2018-09-06.
  22. ^ McCormick, Libby. "Using the Profiler Tool to analyze the performance of your code (Windows)". msdn.microsoft.com. Retrieved 2018-09-06.
  23. ^ "New Firefox Command Line helps you develop faster". Mozilla Hacks – the Web developer blog. Retrieved 2018-09-06.
  24. ^ "Opera Browser | Faster, Safer, Smarter Web Browser". www.opera.com. Retrieved 2018-09-06.
  25. ^ "Using the Console  |  Tools for Web Developers". Google Developers. Retrieved 2018-09-06.
  26. ^ "More browser features, fewer plugin updates | Firefox". Mozilla. Retrieved 2018-09-06.

By: Wikipedia.org
Edited: 2021-06-18 12:30:40
Source: Wikipedia.org