Skip to content

D7460N/DHCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

D7460N Architecture

D7460N is a browser-native, fully declarative architecture for quickly building scalable, maintainable front-end systems. It follows JAMstack principles, operates as a Single Page Application (SPA), and is implemented as a Progressive Web App (PWA).

OUT OF THE BOX:

  • lightweight
  • browser-native
  • dependency-free
  • standards-first
  • fully declarative
  • fully accessible
  • fully responsive

D7460N eliminates runtime dependencies and avoids complex JavaScript-driven UI logic by embracing modern standards: semantic HTML, CSS state management, and data-only JavaScript modules.

  • Native HTML, CSS, JS (ES Modules)
  • No build tools, no transpilers, no frameworks
  • Responsive, accessible, and declarative by design

✨ Highlights

🔹 CSS-First Architecture: Advanced state management using hidden checkboxes + CSS :checked, :has() selectors
🔹 Performance Optimized: CSS rendering 100-1000x faster than JavaScript DOM manipulation
🔹 Security Hardened: Minimal JavaScript surface reduces XSS attack vectors
🔹 Progressive Enhancement: Fully functional with JavaScript disabled
🔹 Accessibility Native: Uses semantic HTML + ARIA for 508/WCAG compliance
🔹 No dependencies: 100% browser-native
🔹 Dynamic JSON data via fetch()
🔹 Declarative single-page-application (SPA) navigation via <input type="radio"> + CSS :has() + container queries
🔹 Minimal nesting, no IDs, classes, or custom attributes in markup
🔹 CSS visibility logic based on dynamic selectors (:empty, :has, [hidden])
🔹 Clean separation of concerns, UI logic, and API services

⚠️ Architecture Note: This project uses an intentionally sophisticated CSS-first pattern with <label role="button"><input type="checkbox"></label> for state management. This is NOT a mistake - it's an advanced optimization technique. See docs/PROJECT-STATE.md for complete architectural analysis.


🚀 To Run

  1. Download and extract the project.
  2. Open index.html in any modern browser (Chrome, Edge, Firefox, Safari).

DONE!

No build step
No compliation
No problem


📂 Structure

Directory Purpose
/assets/js/ Modular JS by concern (config, view, api, formController, etc.)
/assets/css/ CSS layers for layout, typography, heuristics
/data/ Mock JSON APIs for each tab
/docs/ Dev guides, presentation decks, accessibility docs
/assets/images/brand SVG brand and PWA PNG assets
/assets/images/app GUI assets

🛠️ Developer Tips

  • Clear cache with Ctrl+Shift+R to avoid stale module loads
  • Confirm service worker in DevTools → Application → Unregister if testing fresh state
  • Ensure all scripts load in order: config → utils → refs → api → view → form → app

🙋 Need Help?

See the internal guide under /docs/dev/ or open an issue in your team GitHub repo.

About

DHCP Demo using D7460N.dev Codebase

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •