Dom\HTMLDocument: prototype.js like DOM-Traversal
Nessuno ha ancora preso questa issue.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.1k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
Hi,
I just started diving into the new DOM features that came with PHP 8.4, and wondered if it's possible (and/or in the focus of HTMLDocument) to add some of Prototype's DOM traversal and enumerable features. Prototype may have vanished from the web, but its intuitive traversal methods are to this day unmatched and made working on a HTML tree a breeze.
I've implemented this in PHP before, but it was a pain fighting against the quirks of DOMDocument, XML and the countless DOMNode subclasses, it felt very messy to begin with.
Now before I attempt to implement this again in userland with HTMLDocument: is there any chance to even consider such features, or is this out of focus?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo le funzionalità del DOM di HTMLDocument introdotte in PHP 8.4 e confronta il comportamento di attraversamento ed enumerazione richiesto con le Prototype APIs collegate. Esamina poi l'implementazione esistente in userland in chillerlan/php-prototype-dom e usa la discussione dell'issue per stabilire se questo rientra in HTMLDocument e quale ambito di funzionalità verrebbe considerato completato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Attiva
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100