Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 05 2017 17:37

    sakamies on master

    todos (compare)

  • Mar 03 2017 18:37

    sakamies on master

    formatting (compare)

  • Mar 03 2017 18:36

    sakamies on master

    different color for attr/value … deleting empty items added usel… notes and 1 more (compare)

  • Mar 03 2017 18:11

    sakamies on master

    Update README.md (compare)

  • Mar 03 2017 18:10

    sakamies on master

    Update README.md (compare)

  • Mar 03 2017 17:42

    sakamies on master

    keep values tied to their props (compare)

  • Mar 03 2017 16:56

    sakamies on master

    less confusing tag/txt editing … (compare)

  • Mar 03 2017 16:47

    sakamies on master

    some very basic copy & paste sa… (compare)

  • Feb 28 2017 16:49

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:49

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:25
    sakamies closed #6
  • Feb 28 2017 16:23

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 27 2017 19:04
    matthewfcarlson opened #6
  • Feb 27 2017 16:32

    sakamies on master

    clean up (compare)

  • Feb 24 2017 18:35

    sakamies on master

    rudimentary copy paste (compare)

  • Feb 23 2017 17:59

    sakamies on master

    styling fix error when trying to add pr… implement additive selection vi… and 1 more (compare)

  • Feb 22 2017 18:46

    sakamies on master

    todo (compare)

Risord
@Risord
"Data" contains some piece of imaginary editable html piece... aaaaand our html metamodel. All this with json-ld.
Ville V. Vanninen
@sakamies
👍
Ville V. Vanninen
@sakamies
whoooa, that looks interesting!
Ville V. Vanninen
@sakamies
lots of links to some amazing stuff in that thread
Ville V. Vanninen
@sakamies
that's very similar to what I had in mind when I made that gif at the footnotes of the foolproof article
Ville V. Vanninen
@sakamies
i love the questions & answers writing style of that page
Risord
@Risord
Yep.
Btw I think that if we build something like that invidual frame is single microeditor instance
Risord
@Risord
I would like to see what kind of possibilities there are for programming more far away from "text mindset"
Risord
@Risord
And how to edit / visualize expressions
Risord
@Risord
My plans took one one step back...
I misunderstood that json-ld contexes are more like types but seems that these are two separated things there. So we don't have schema/meta model tech right now.
Risord
@Risord
If multiple domains and (potentially) domain independent micro editors are wanted that model is essential.
Risord
@Risord

So just for reminder what options we have:
A: Json-schema: simple schema model
B: RDF based schemas
C: Invent our own
D: ???

So A is simplest but too simple. Also I think we should minimize reinventing wheel so I don't prefer C. So this B... Problem is that there are now JS based implementations available.

I think what I start doing next is create html metamodel based on RDFS.
Risord
@Risord
When example data exists I continue crafting backend
JSON-LD stays still around but its primary usage is to be just standard format
While backend requires understanding about metamodel I craft incrementally minimal JS implementation for RDFS
Goal is not to create full RDFS support but just very minimal set that enables to move forward.
So that we can reuse standard and maybe later if required switch to some more advanced (java based?) library...
Risord
@Risord
So basicly own metamodel / schema libary is because there really seems not to be any (for any good enought mode) in JS world. Also many schema libraries are able to just able to answer for question: does object A match to schema Y? And answer can be just yes/no + human readable error which may not enought for us.
About schedule: This weekend is very reserved but I try to craft RDFS based metamodel due midweek.
Risord
@Risord
After that I continue work for put all these technoligies together by code. That phase can still take couple of weeks...
Ville V. Vanninen
@sakamies
alrighty 👍
I'd love to see some broad terms explanation of what the schema would define and how we'll use it
I managed to code a little bit of interactions in the proto this week
Risord
@Risord
If you want we can take some voip meet tomorrow.
After 18 maybe?
Ville V. Vanninen
@sakamies
sure, after 18 is good
Ville V. Vanninen
@sakamies
@Risord did you mean tomorrow or tomorrow? :D either is good though
Risord
@Risord
@sakamies "Today tomorrow" :D
Ville V. Vanninen
@sakamies
what's your preference? skype/google hangout/something?
Risord
@Risord
Ok it seems that there are some sort of SHACL implementation for JS
sadly it's not open source
Risord
@Risord
Many thanks to Holger Knublauch and TopQuadrant. SHACL JS validator is now open source.
https://github.com/TopQuadrant/shacl/tree/master/src/main/resources/etc
Risord
@Risord
It seems that there are basicly two main ways to create html-metamodel
A:
class Element {
    tagName : String
    attributes : Attribute[]
    children : Element[]
}
B:
class TableElement {
    id : String?
    style : String?
    caption : CaptionElement?
    rows : TrElement[]
}
We can say that A is traditional dom like model. If you want create table element, just name it as table and insert relevant elements as children etc
This kind of model might fit quite well for editor which tries to act as 'visual source editor'
Risord
@Risord
So editor like most of structural html editors and FoolProof is
However creating schema for such model is not quite easy. I believe (but just believe) that actually validating that with SHACL is possible but it will be hard. So after this very simple surface metamodel will be quite complex.
Risord
@Risord
B model is much better for validating and actually describing the model but it may not be as editor friendly as A
of course we are talking about that spesific editor class
But yeah.
B models HTML as abstract model.
A models serialization format of HTML so schemaless XML / SGML for example.
Ville V. Vanninen
@sakamies
interesting
that b model would require active maintenance, the modern html spec changes quite often