Fork me on GitHub
#hoplon
<
2016-03-06
>
alandipert23:03:23

@flyboarder: are you still on the Polymer train btw? i was poring over your stuff recently, and working on webjars tasks to obviate need for bower

flyboarder23:03:52

@alandipert: im still working on the libraries, as im trying to abstract a way to create ui libraries for hoplon easily, but we dropped it for our app as it doesnt support optimization at all and externs are unreliable from their community as well the whole loading process is premature

flyboarder23:03:24

but if you want to play around with it it does work

alandipert23:03:57

cool. yeah i'm not sure i need optimizations of most kinds for what i have in mind

alandipert23:03:12

i share your reservations about the loading process

alandipert23:03:30

it's eery and unfortunate how close they are to hoplon... and also so far...

flyboarder23:03:11

@alandipert: ok so the problem with loading is that all the files are html imports, meaning that you need to call the polymer framework before clojurescript, iv been working on cljsjs packages for web components the last few days to possibly work around this but this means we also dont have direct access to the polymer framework

flyboarder23:03:38

so polymer only has late runtime capabilities

flyboarder23:03:32

basically you get Polymer->cljs->hoplon->polymer

flyboarder23:03:39

we moved to semantic-ui for the time being and making a hoplon library around it has been much easier

alandipert23:03:15

that doesn't use web components, right?

flyboarder23:03:47

polymer uses webcomponents under the hood

alandipert23:03:59

i mean semantic ui isn't web component based?

flyboarder23:03:09

no it’s just css and a bit of js

alandipert23:03:30

the direction i'm headed is something like your import-polymer except it generates the html based on the webjars found in the classpath

flyboarder23:03:51

i had issues getting the polymer components to pull in properly (lots of depedndency issues) which is why i went for the bower option

flyboarder23:03:11

again because everything is html imports i believe

alandipert23:03:23

the breakthrough for me was finding http://www.webjars.org/bower

alandipert23:03:40

which gives me enough info to slurp those into the classpath in dep order and overlay into bower_components on the fileset

alandipert23:03:15

anyway i might fiddle with it more before ditching for semanti ui, will keep you abreast

flyboarder23:03:16

thats interesting, i found webjars bower wasnt able to resolve the elements properly

alandipert23:03:35

yeah, webjars packages things in META-INF/project/version/...

alandipert23:03:47

the webjar packaging needs to be undone to match the bower expectations

alandipert23:03:11

but now i gotta roll! catch you on the flip

flyboarder23:03:23

ill throw up the semantic library i have in the next bit or maybe tomorrow, demoing what we have so far on tuesday so i gotta clean up all the repos

alandipert23:03:32

sounds awesome