Skip to Main Content
Sustainable Web Design Logo
  • Home
  • Guidelines
  • Emissions
  • Ratings
  • Contact

◂ Web Development guidelines

3.21 Take advantage of native features and functionality

Web Development

Use native features and functionality that exist within languages before constructing new ones that may not be as optimized.

Criteria

  • Native over custom: Machine-testable
    Use native functions, APIs, and features over writing your own.
    • 15 Tips to Optimize Your PHP Script for Better Performance for Developers
    • Energy Efficiency across Programming Languages (PDF)
    • GPF – General Policy Framework (PDF) – 1.9 – Strategy (Interoperable Technologies)
    • GPF – General Policy Framework (PDF) – 4.5 – UX and UI (Native Components)
    • How to improve PHP performance in your web application
    • Native features of the browser
    • PHP Function and Method listing
    • Web APIs

Benefits

  • Economic
    Using existing features means you do not need to invest more time in ‘development or maintenance, which reduces costs.
  • Environment
    Avoiding repetition of pre-existing features improves efficiency, which ultimately will reduce redundancy, development time, and emissions associated with building the product or service.
  • Performance
    Using browser-native functionality and features allows you to take advantage of their natural optimization. They will generally load faster while using fewer resources. Custom components are unlikely to beat their performance.

GRI

  • Materials: Medium
  • Energy: Medium
  • Water: Medium
  • Emissions: Medium

View the Guideline

Tags

CompatibilityPatternsUIHTMLCSSJavaScript

Share

More web development guidelines

3.1 Set goals based on performance and energy impact

Web Development

3.2 Remove unnecessary or redundant information

Web Development

3.3 Modularize bandwidth-heavy components

Web Development

Learn about W3C’s Sustainable Web Interest Group:

A global community advancing sustainability on the web.

Explore the group

This site is brought to you by

Mightybytes Wholegrain Digital
Website Carbon

This page loaded in 0.25 seconds and emitted just 0.5g of CO2

Visit Website Carbon
Ecograder

How green is your website?

Visit Ecograder
© Copyright Sustainable Web Design 2025. Privacy Policy.