A repository of interesting unpoly compilers ?

61 views
Skip to first unread message

philipp...@gmail.com

unread,
Jun 1, 2021, 2:50:04 PM6/1/21
to unpoly

I think it would be a good idea to have a repository of useful compilers. For example ways to integrate existing JS libs, or some other tricks.
We'd need to decide ideally if they work around some custom up-xxx attributes or maybe some  .js-xxxx css classes to have some uniformity.

The github repository would be open to contributions of course. If you want and if you think it's a good idea, I can start one.


By the way another option I had in mind, would be to have a "Awesome Unpoly" kind of repository, with more general stuf, including compilers...

Thoughts?

Henning Koch

unread,
Jun 1, 2021, 3:30:27 PM6/1/21
to unp...@googlegroups.com
I think it would be healthy for the community to have a resource that
moves at a faster pace than the core library. A place where users can
quickly share techniques and code snippets, without requiring extensive
testing and a discussion whether something belongs into the core library.

If that helps with anything, I can offer to host this new resource under
the github.com/unpoly namespace and/or link to it on unpoly.com.
Curation or maintenance of content would fall to the community.

> We'd need to decide ideally if they work around some custom up-xxx
> attributes or maybe some .js-xxxx css classes to have some uniformity.

Just a nitpick: I recommend using a prefix other than up-xxx so there
can never be a clash with Unpoly's core functionality.

Best regards
Henning
> --
> You received this message because you are subscribed to the Google
> Groups "unpoly" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to unpoly+un...@googlegroups.com
> <mailto:unpoly+un...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/unpoly/f56c5e67-a8d1-4998-ac73-62c0be192416n%40googlegroups.com
> <https://groups.google.com/d/msgid/unpoly/f56c5e67-a8d1-4998-ac73-62c0be192416n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Gustavo Gawryszewski

unread,
Jun 2, 2021, 6:54:27 AM6/2/21
to unp...@googlegroups.com
Perhaps you can reserve a namespace for the extensions. Like, up-ext-xxx

To unsubscribe from this group and stop receiving emails from it, send an email to unpoly+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unpoly/b10f5fdf-d83d-e933-bd33-cfe3a8d2bc73%40gmx.net.

Иван Грецкий

unread,
Jun 2, 2021, 7:49:42 AM6/2/21
to unpoly
That is a great idea! All my available thumbs are up)

adam.me...@gmail.com

unread,
Jun 2, 2021, 7:56:54 AM6/2/21
to unpoly
Does anybody have any interesting compilers they'd like to contribute? The path of least resistance might be a repo under the unpoly namespace for contributed compilers.

From my post on Github, I personally only saw maybe a few good compilers to share (but that could just be because of the apps I've built or my perception of them).

1. Lazy fetching an element after page load
2. Drag and drop with Dragula
3. Confirming an action (similar to Rails confirm)

Most of these are only a handful of lines long (a testament to the power of Unpoly I guess :))

Philippe Jadin

unread,
Jun 4, 2021, 7:36:31 AM6/4/21
to unp...@googlegroups.com
Looks like there is at least a bit of interest.

I don't have a lot to contribute, but I see it as a way to show more examples on how to use unpoly and how to integrate third party libs, a kind of "best practice" documentation. Maybe just compilers is too specific?


Henning Koch

unread,
Jun 4, 2021, 7:46:27 AM6/4/21
to unp...@googlegroups.com
> I see it as a way to show more examples on how to use unpoly and how to
> integrate third party libs, a kind of "best practice" documentation.
> Maybe just compilers is too specific?

Currently there's a lot of information in group posts, GitHub issues,
slide decks, OSS repos, Gists and blog posts. Copying that all into a
single repository would be a HUGE maintenance burden.

What about your earlier idea of an "Awesome Unpoly" kind of repository?
This would be a lightweight way to aggregate the information that
already exists. The format could both link to existing resources and
also host files that aren't online somewhere else already.

Here's the Vue.js version of that:
https://github.com/vuejs/awesome-vue

Best regards
Henning
Reply all
Reply to author
Forward
0 new messages