GithubHelp home page GithubHelp logo

ht7-html's Introduction

I'm Thomas Plüss from Switzerland

Following some stats of my life at GitHub:

GitHub Streak

trophy

ht7-html's People

Contributors

1stthomas avatar

Watchers

 avatar

ht7-html's Issues

Make the attribute class also a node

Would the benefit really be greater than the investment?

In HTML attributes are nodes. But here, the iterator does not iterate over the attributes.

[node] Replacer

HTML structure with placeholders, which will be replaced.

HTML string parsing

The Tag class need a method, to parse a HTML string and create a tree of Tag and Attribute instances. This should be implemented by using the DOMDocument and its anchestor classes.

[node] callback node implementation

Implementation of a callback node which must be able to run global functions and methods of classes and instances. This needs:

  • Callback class extends \Ht7\Html\Node
  • expand \Ht7\Html\Translators\ImporterHt7's createContentElement()
  • expand tests

Avoid inconsistent naming

\Ht7\Html\Widgets\AbstractView uses getItemList to provide the \Ht7\Html\Lists\NodeList. Let's change the method name into getNodeList.

[widget] table implementation

  • Create a HTML table markup by row arrays.
  • Architecture must be MVC.
  • New system to define framework specific and non-specific attributes.

[tags] tag group implementation

For some tag groups it would be over engeneered to implement them with MVC architecture. They must be handled by a single class. These tag groups would be:

  • audio
  • figure
  • picture
  • select
  • video

[widget] wrapper

A widget with a wrapper markup and items, which must be replaced on rendering.

Optimizing import

Atm not only the importer does import, but also the Ht7\Html\Lists\NodeList class. Let's change this: Only the importers have to do imports, resp. creating the nodes etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.