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 speed building scalable, maintainable, future proof, front-end systems. D7460N Architecture is loosely based 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 508 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 equivalents
🔹 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
🔹 Easily Overriden: Minimal nesting, no IDs, classes, or custom attributes in markup, CSS Layers
🔹 Component visibility logic (:empty, :has, [hidden]) based on data delivery JavaScript CRUD.
🔹 Clean separation of concerns: UI boolean logic, and JavaScript/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.

SPEED BUILD CONTENT

DEVs - Don't over think it.
It's way easier than you're used too with frameworks.

  • Presentation layer and state logic defauls (including all loading and error states) are already done for you.
  • You can make all the changes you want of course, it's just standard modern vanilla HTML, CSS, and JS, but it is recommend to first try out the default config to get a feeling for how it works.
  • You will be surprised at how fast it is!

No need to build pages anymore

  • Just deliver your content via the given API and JavaScript modules (see examples)
  • Content renders in place, styled and ready to go -
  • "Like turning on the lights on a Christmas tree!"

That's it!
You're done!


🚀 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

  •  
  •  
  •