maiki
(maiki)
2022 年 4 月 11 日午前 5:01
6
WebAssembly (Wasm) is a technology that ships in all modern browsers that lets developers ship portable binary programs.
This means that developers can use almost any programming language and target the web.
In the context of Discourse this opens up the door to shipping a fairly rich set of extensions that were only available to plugin creators in the past.
Examples could be:
Image watermarking / resizing / cropping
Graph generation using graphviz or svgbob
Programming sandboxes (eg: a pos…
テーマコンポーネントとプラグインの違いは、すでに私の頭の中で曖昧 になっています。 どちらがどちらであるかを人々が知るのを助けるためにできることは何でも、きっと大きな助けになるでしょう。
これは kind of funny です。長年、WordPress開発者は機能を含める場所について決定を下す必要があり、どのくらいのコードが「テーマ」に属し、どのくらいが「プラグイン」に属するかについて議論がありました。その議論は今ではほとんど時代遅れですが、なぜならすべてがJSブロックだからです。しかし、コアソフトウェアとの関係から、コードを「プラグイン」または「ブロックパターン」のどこに配置するかを決定する必要があります。
Discourseのプラグインについては、そのような感覚を持ったことはありません。なぜなら、人々は何年にもわたって素晴らしいテーマコンポーネントのハックを考案してきたからです。「プラグイン」と「テーマコンポーネント」の違いは何ですか?と聞かれたら、私の最初の考えはこうです。一方はインストールにURLフィールドを必要とし、もう一方はサイトの再構築を必要とします。
「いいね!」 3