Earlier quoted context omitted.
> Also, suppose that you were to write something that interacted with the binaries of a closed-source system. That would not automatically remove the proprietary nature of your own software, so it is not infectious at all. You may not be able to distribute the proprietary software, but you could sell it as an add-on product without surrendering your IP. That's not ebola. That's a full quarantine and separation that r…
Again, it's quite difficult to get access to proprietary source code, so that is a false equivalence. I'm not confusing the benefits for penalties... I'm observing the emergent behavior that the GPL license produces by its viral and infectious rules. The strength of the legal threat has not been tested in court, to my knowledge, but why risk a lawsuit? And there is still the patent issue. In terms of marketing, GPL s…
UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
171–180 of 194 posts
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#172Earlier quoted context omitted.
> Also, suppose that you were to write something that interacted with the binaries of a closed-source system. That would not automatically remove the proprietary nature of your own software, so it is not infectious at all. You may not be able to distribute the proprietary software, but you could sell it as an add-on product without surrendering your IP. That's not ebola. That's a full quarantine and separation that r…
Again, it's quite difficult to get access to proprietary source code, so that is a false equivalence. I'm not confusing the benefits for penalties... I'm observing the emergent behavior that the GPL license produces by its viral and infectious rules. The strength of the legal threat has not been tested in court, to my knowledge, but why risk a lawsuit? And there is still the patent issue. In terms of marketing, GPL s…
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#173Earlier quoted context omitted.
Only thing missing is inlining your css styles on each element, only a mad man would try that though... [cough]... https://github.com/samwillis/x-style
Or, tailwindcss…
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#174Earlier quoted context omitted.
It sucks so much its unreal, forces OOP JS, which causes extreme amounts of boiler plate code and mutation bugs, making a simple change becomes a one week task. I'm just doing a complete rewrite of a legacy codebase made with TS, webcomponents and lit into a modern framework, which is about the only sane thing to do with it.
I would love to see a more fleshed out rebuttal of it. Is it a scale issue?
Lit is a framework for using web components, managing state and routing, it adds lots of boilerplate and uses OOP hierarchies to couple abstractions that could be otherwise separate. Lit uses object properties to detect changes and provides rerendering of the changed parts of the app.
This combo makes it work so terrible, you're orcestrating encapsulated components within inheritance chains and each part has a lot of boiler plate code and a lot of mutation. Its separating encapsulation by technology instead of concern, and enforcing this really hard. The end result is code terrible to read and very hard to change, full of mutation bugs and broken flows that don't properly update.
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#175Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#176Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#177I was praising HTMX the other day when someone pointed me to Unpoly. Indeed, after I converted one of my apps to it, Unpoly is really a better version of HTMX and I think it deserves more exposure. https://unpoly.com
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#178Where is preact?
I don't think preact is part of the "progressive enhance html" Progressive enhance HTML means whatever backend you use, it spits out html, and the HTML is rendered without Javascript. Preact fails this. The libraries are meant to progressively enhance html by replacing or enhancing certain actions with small javascript. For example, with htmx, usually clicking on html link would load complete page, but with clever ht…
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#179I was praising HTMX the other day when someone pointed me to Unpoly. Indeed, after I converted one of my apps to it, Unpoly is really a better version of HTMX and I think it deserves more exposure. https://unpoly.com
Also an HTMX fan and hadn't heard of unpoly. Looks interesting (and site design is great). Thanks for the highlighting.
Re: UnsuckJS: Progressively enhance HTML with lightweight JavaScript libraries
#180Earlier quoted context omitted.
Only thing missing is inlining your css styles on each element, only a mad man would try that though... [cough]... https://github.com/samwillis/x-style
Or, tailwindcss…
Utility classes for uniform padding, spacing, border, colours etc at brilliant. But my suggestion with x-style is that placing the actual css on an element may be better.
It's an experiment, seeing where it leads.