Giter Site home page Giter Site logo

miniapp-components's Introduction

miniapp-components's People

Contributors

espinr avatar xfq avatar cwilso avatar michaelwangzitao avatar

Stargazers

Charleno Pires avatar lchangha avatar Zhao Lei avatar Ashley D avatar John Murowaniecki avatar

Watchers

Thomas Steiner avatar Yves Lafon avatar James Cloos avatar Dave Raggett avatar Ralph Swick avatar  avatar himorin / Atsushi Shimono avatar  avatar  avatar Hyeseong Kim avatar yo_na avatar Qing An avatar  avatar  avatar Wei Ding avatar

Forkers

cwilso espinr

miniapp-components's Issues

Sections and content of the components specification

For those that are not following the discussions, this work doesn't want to replace the Web Component mechanisms. Instead, it aims to collect and inform about the common features of the different MiniApp implementations.

I've drafted a first proposal with the outline of the document ant the sections that can have the document (#5), but it's just an early suggestion.

  1. MiniApp Pages and Components (intro to explain relation, custom components, the difference with Custom Components, etc.)
  2. Markup and templating (can we find a common pattern?)
  3. MiniApp Interface (properties and methods)
  4. Component Declaration and Reuse
  5. Component Events (Binding, Listeners, Types)
  6. Scripting Resources (ECMAScript support)
  7. Stylesheets (CSS profile, non-standard properties)
  8. Component Lifecycle (if it differs from the MiniApp Lifecycle spec)
  9. MiniApp Elements (or vendors' built-in components)

Feel free to comment here on the overall structure of the document, also the parts we should (or should not) include, and what is the content for each section.

This approach seems to duplicate and redefine HTML

I know this is relatively early; however, I'm very concerned by the approach taken here. It seems there is overlap and redefinition of the Web platform pieces themselves - as in, subsetting HTML+CSS+JS would be concerning, but this is defining elements like <image> all over again, in a way that is close to but not quite "the Web". (For example, the CSS and JS files are, presumably, automatically applied to the HTML file, since there's no mention of <LINK>, <STYLE> or <SCRIPT> support?). It also seems (from the inclusion of a <text> element) that the flow text model is very different from the normal HTML one as well. (what happens to text outside a <text>?)

I really think this should be defined in terms of custom elements, and default HTML/CSS/JS.

Maps

As the Report on the Joint W3C-OGC Workshop on Maps for the Web says:

Geospatial information on the Web is fragmented, inadequately covered by Web standards, and lacking interoperability.

Most miniapp user agents have their own map components. At the same time, W3C is also discussing the standardization of maps for the web. I included some links here as a reference for future component standardization:

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.