{"id":474174,"date":"2025-09-07T15:00:49","date_gmt":"2025-09-07T15:00:49","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=474174"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=474174","title":{"rendered":"<span>Pulse Boson PHP #1<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u043a\u043e\u043b\u043b\u0435\u0433\u0438!<br \/> \u0420\u0435\u0448\u0438\u043b \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0440\u0443\u0431\u0440\u0438\u043a\u0443 \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443 Boson PHP. \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435.<\/p>\n<p>Boson PHP \u2014 \u044d\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0431-\u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 (PHP, JavaScript, HTML, CSS) \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f native-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041e\u043d\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 PHP \u0438 \u0434\u0432\u0438\u0436\u043e\u043a WebView, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043b\u044f Windows, Linux \u0438 macOS. \u0414\u043b\u044f PHP-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u0432\u044b\u0439\u0442\u0438 \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0432\u0435\u0431\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e \u0441\u0442\u0435\u043a\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439. \u0415\u0433\u043e \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u2014 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430.<\/p>\n<p>\u0425\u0435\u0434\u043b\u0430\u0439\u043d\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u041a\u0438\u0440\u0438\u043b\u043b \u041d\u0435\u0441\u043c\u0435\u044f\u043d\u043e\u0432, \u043d\u0443 \u0430 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432: \u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u0413\u0430\u0433\u0430\u0440\u0438\u043d, \u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0414\u0435\u0440\u0435\u043f\u043a\u043e \u0438 \u044f (\u0414\u0430\u043d\u0438\u043b \u0429\u0443\u0446\u043a\u0438\u0439) \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u043c \u0435\u043c\u0443.<\/p>\n<p>20 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f <a href=\"https:\/\/youtube.com\/live\/MJJebd0Tjyo\" rel=\"noopener noreferrer nofollow\">\u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u0438\u043c \u043f\u043e Boson PHP<\/a>. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0447\u0442\u043e \u0442\u0430\u043c \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e. \u0417\u0430 4 \u043c\u0435\u0441\u044f\u0446\u0430 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e <a href=\"https:\/\/youtube.com\/live\/vTSumboIRfE\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u044f\u043c\u043e\u0433\u043e \u044d\u0444\u0438\u0440\u0430<\/a> \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/p>\n<h3>\u0417\u0430\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0433\u043e \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u0430 bosonphp.com<\/h3>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u0430\u0434 \u043d\u043e\u0432\u044b\u043c \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0440\u0435\u043b\u0438\u0437\u0438\u043b\u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u044d\u0444\u0438\u0440\u0435. \u0412\u0435\u0441\u044c \u043b\u0435\u043d\u0434\u0438\u043d\u0433 \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 (\u043e\u0441\u043d\u043e\u0432\u0430 Boson). \u0412\u0435\u0440\u0441\u0442\u0430\u044f \u043b\u0435\u043d\u0434\u0438\u043d\u0433 \u0447\u0443\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e\u0440\u0432\u0430\u043b\u0441\u044f <a href=\"https:\/\/github.com\/krvvko\" rel=\"noopener noreferrer nofollow\">@krvvko<\/a>, \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0435\u043c\u0443 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443!<\/p>\n<h3>\u041d\u043e\u0432\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/h3>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 JetBrains WriterSite \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u0430 \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432. \u0414\u0435\u043b\u0430\u043b\u0438 \u043b\u0435\u043d\u0434\u0438\u043d\u0433, \u0440\u0435\u0448\u0438\u043b\u0438 \u0437\u0430\u043e\u0434\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u0434\u0432\u0438\u0436\u043e\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u2014 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0435\u0440\u0441\u0438\u0438 15, 16, 17 \u0438 master \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0442\u043a\u043e\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c: <\/p>\n<ul>\n<li>\n<p>Application \u2014 \u043e\u0431\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>Windows \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043a\u043d\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>WebView \u2014 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>Deployment \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u0441\u0431\u043e\u0440\u043a\u0430<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0440\u0438\u043c\u0430 \u0431\u044b\u043b\u0430 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u2014 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 Boson, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e DOM. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/h3>\n<p>\u0412\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e: \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0442\u0435\u0433\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u0435\u0444\u0438\u0441!<\/p>\n<pre><code class=\"php\">class MyAwesomeButton {}  $app = new Boson\\Application();  \/\/ Tag component name $tag = 'my-button';  \/\/ Component class name $component = MyAwesomeButton::class;  $app-&gt;webview-&gt;components-&gt;add('my-button', MyAwesomeButton::class); $app-&gt;webview-&gt;html = '&lt;my-button&gt;\u041d\u0430\u0436\u043c\u0438 \u043c\u0435\u043d\u044f!&lt;\/my-button&gt;'; <\/code><\/pre>\n<h3>\u0414\u0435\u043b\u0430\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b<\/h3>\n<h4>\u041e\u0431\u044b\u0447\u043d\u044b\u0439 HTML-\u0448\u0430\u0431\u043b\u043e\u043d<\/h4>\n<p>\u0425\u043e\u0442\u0438\u0442\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434? \u041b\u0435\u0433\u043a\u043e!<\/p>\n<pre><code class=\"php\">class MyAwesomeButton implements HasTemplateInterface {     public function render(): string {         return '&lt;button class=\"fancy-btn\"&gt;\ud83c\udf89 \u041a\u0440\u0443\u0442\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430! \ud83c\udf89&lt;\/button&gt;';     } } <\/code><\/pre>\n<h4>Shadow DOM \u2014 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445<\/h4>\n<p>Shadow DOM \u0438\u0437\u043e\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0448\u0438 \u0441\u0442\u0438\u043b\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u043b\u043e\u0442\u043e\u0432:<\/p>\n<pre><code class=\"php\">class MyCard implements HasShadowDomInterface {     public function render(): string {         return '             &lt;div class=\"card\"&gt;                 &lt;h3&gt;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438&lt;\/h3&gt;                 &lt;slot&gt;&lt;\/slot&gt; &lt;!-- \u0421\u044e\u0434\u0430 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 --&gt;             &lt;\/div&gt;         ';     } } <\/code><\/pre>\n<h3>\u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u043c \u0446\u0438\u043a\u043b\u043e\u043c<\/h3>\n<p>\u0425\u043e\u0442\u0438\u0442\u0435 \u0437\u043d\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438\u043b\u0438 \u0438\u0441\u0447\u0435\u0437 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b?<\/p>\n<pre><code class=\"php\">class MyComponent implements HasLifecycleCallbacksInterface {     public function onConnect(): void {         echo \"\u041f\u0440\u0438\u0432\u0435\u0442! \u042f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435! \ud83d\udc4b\";     }          public function onDisconnect(): void {         echo \"\u041f\u043e\u043a\u0430! \u041c\u0435\u043d\u044f \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \ud83d\ude22\";     } } <\/code><\/pre>\n<h3>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c<\/h3>\n<h4>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 JavaScript<\/h4>\n<p>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 JS \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"php\">class Counter implements HasPropertiesInterface {     public function onPropertyChanged(string $property, mixed $value): void {         if ($property === 'count') {             echo \"\u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f! \u041d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: $value\";         }     }          public static function getPropertyNames(): array {         return ['count']; \/\/ \u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c count     } } <\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ \u0412 JavaScript let counter = document.createElement('my-counter'); counter.count = 42; \/\/ PHP \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435! <\/code><\/pre>\n<h4>\u041c\u0435\u0442\u043e\u0434\u044b \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c PHP \u0438\u0437 JavaScript<\/h4>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435! \u041c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c PHP-\u043c\u0435\u0442\u043e\u0434\u044b \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430:<\/p>\n<pre><code class=\"php\">class Calculator implements HasMethodsInterface {     public function onMethodCalled(string $method, array $args = []): mixed {         switch ($method) {             case 'add':                 return $args[0] + $args[1];             case 'greet':                 return \"\u041f\u0440\u0438\u0432\u0435\u0442 \u0438\u0437 PHP! \ud83d\udc18\";             default:                 throw new \\BadMethodCallException(\"\u041c\u0435\u0442\u043e\u0434 $method \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\");         }     }          public static function getMethodNames(): array {         return ['add', 'greet'];     } } <\/code><\/pre>\n<pre><code>&lt;!-- \u0412 HTML --&gt; &lt;my-calculator onclick=\"this.greet()\"&gt;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&lt;\/my-calculator&gt; <\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ \u0418\u043b\u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e \u0438\u0437 JS const calc = document.createElement('my-calculator'); let result = await calc.add(5, 3); \/\/ \u0412\u0435\u0440\u043d\u0435\u0442 8! <\/code><\/pre>\n<h4>\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u2014 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f HTML<\/h4>\n<p>\u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"php\">class StatusBadge implements HasAttributesInterface {     public function onAttributeChanged(string $attribute, ?string $value, ?string $previous): void {         if ($attribute === 'status') {             if ($value === null) {                 echo \"\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0434\u0430\u043b\u0435\u043d!\";             } elseif ($previous === null) {                 echo \"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0441\u0442\u0430\u0442\u0443\u0441: $value\";             } else {                 echo \"\u0421\u0442\u0430\u0442\u0443\u0441 \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u0441 '$previous' \u043d\u0430 '$value'\";             }         }     }          public static function getAttributeNames(): array {         return ['status', 'priority'];     } } <\/code><\/pre>\n<h4>\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u2014 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u043a\u043b\u0438\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435<\/h4>\n<p>\u041b\u043e\u0432\u0438\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0432 PHP:<\/p>\n<pre><code class=\"php\">class InteractiveWidget implements HasEventListenersInterface {     public function onEventFired(string $event, array $args = []): void {         if ($event === 'click') {             $x = $args['x'];             $y = $args['y'];             echo \"\u041a\u043b\u0438\u043a\u043d\u0443\u043b\u0438 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c: $x, $y\";         }     }          public static function getEventListeners(): array {         return [             'click' =&gt; [                 'x' =&gt; 'clientX',  \/\/ \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c clientX \u0432 x                 'y' =&gt; 'clientY'   \/\/ \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c clientY \u0432 y             ],         ];     } } <\/code><\/pre>\n<h3>\u0420\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c<\/h3>\n<p>\u042d\u0442\u043e \u0432\u0430\u0448 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c:<\/p>\n<pre><code class=\"php\">use Boson\\WebView\\Api\\WebComponents\\ReactiveContext;  class SmartComponent implements HasMethodsInterface {     public function __construct(private ReactiveContext $ctx) {}          public function refresh(): void {         \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b         if (!$this-&gt;ctx-&gt;attributes-&gt;has('loaded')) {             $this-&gt;ctx-&gt;attributes-&gt;set('loaded', 'true');         }                  \/\/ \u041c\u0435\u043d\u044f\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435         if ($this-&gt;ctx-&gt;content-&gt;html === '') {             $this-&gt;ctx-&gt;content-&gt;html = '&lt;p&gt;\u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d! \u2705&lt;\/p&gt;';         }     }          public function onMethodCalled(string $method, array $args = []): mixed {         if ($method === 'refresh') {             $this-&gt;refresh();             return '\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e!';         }     }          public static function getMethodNames(): array {         return ['refresh'];     } } <\/code><\/pre>\n<p>\u0412 <a href=\"https:\/\/bosonphp.com\/doc\/0.17\/web-components-api\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<blockquote>\n<p>\u0418 \u043f\u043e\u043c\u043d\u0438\u0442\u0435: \u0441 Boson Web Components \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0432\u0441\u044e \u043c\u043e\u0449\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e PHP \u043f\u0440\u044f\u043c\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445!<\/p>\n<\/blockquote>\n<h3>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: HappyWife HappyLife<\/h3>\n<p>\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u0413\u0430\u0433\u0430\u0440\u0438\u043d \u043d\u0430 \u0441\u0442\u0440\u0438\u043c\u0435 \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0432\u043e\u0451 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 LLM-\u0430\u0433\u0435\u043d\u0442\u0430\u043c\u0438 \u0434\u043b\u044f &#171;\u0441\u043f\u0430\u0441\u0435\u043d\u0438\u044f \u0436\u0438\u0437\u043d\u0438 \u043c\u0443\u0436\u0438\u043a\u043e\u0432&#187;, \u043a\u0430\u043a \u043e\u043d \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043b.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430: \u201c\u043e\u0431\u044b\u0447\u043d\u043e\u0435 Spiral-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u201d \u043d\u0430 Roadrunner \u0438 FPM \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Boson PHP \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u2014 Boson bootloader \u0438\u0437 spiral-bridge \u043f\u0430\u043a\u0435\u0442\u0430. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434\u0435 \u2014 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0441\u0440\u0430\u0437\u0443.<\/p>\n<p>\u0412 \u0445\u043e\u0434\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u043d\u044f\u043b\u0438, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>WebSockets\/Server-Sent Events \u2014 \u0434\u043b\u044f real-time \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0423\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 API \u2014 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f PHPS, Roadrunner \u0438 Boson<\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u0440\u0438\u043c\u043e\u0432\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u2014 \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043e\u0442 LLM<\/p>\n<\/li>\n<\/ul>\n<h3>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b<\/h3>\n<h4>\u0420\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c: \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437\u043d\u0443\u0442\u0440\u0438<\/h4>\n<p>\u041a\u0438\u0440\u0438\u043b\u043b \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043b \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0435\u0451 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ul>\n<li>\n<p>\u0415\u0434\u0438\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 &#8212; PHP \u0438 WebView \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 shared memory \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u043a\u043b\u0430\u0434\u043d\u044b\u0445 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>API \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f WebKit API \u0438 Blink API \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0412\u044b\u0437\u043e\u0432\u044b \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u0432 \u043e\u0431\u0445\u043e\u0434 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0435\u0432), \u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f DOM \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 PHP-\u043a\u043e\u043b\u043b\u0431\u0435\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c ~100 \u0442\u044b\u0441\u044f\u0447 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043d\u043e \u0435\u0441\u0442\u044c \u0443\u0437\u043a\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u2014 JSON encode\/decode \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/p>\n<\/li>\n<\/ul>\n<h4>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/h4>\n<p>Windows. \u0421\u0430\u043c\u0430\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0443 Boson PHP \u043f\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044e \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c:<\/p>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Edge WebView2 \u2014 \u0441\u0430\u043c\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a<\/p>\n<\/li>\n<li>\n<p>\u0421\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 &#171;\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438&#187; \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2014 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 .exe \u0438\u043c\u0435\u0435\u0442 \u043b\u043e\u0433\u043e\u0442\u0438\u043f PHP \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430! \u041d\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u043d \u043a\u0430\u043a \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u044d\u0442\u043e &#8212; \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0430\u0442\u0447\u0438\u043d\u0433 COFF-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0437\u0430\u043c\u0435\u043d\u044b \u0438\u043a\u043e\u043d\u043a\u0438 \u0438 \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>Linux. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0441 \u043d\u044e\u0430\u043d\u0441\u0430\u043c\u0438.<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 (AppArmor)<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0432\u0441\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 WebKitGTK. \u041f\u0440\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0443\u0442\u0438: \u0437\u0430\u043f\u0443\u0441\u043a \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439<\/p>\n<\/li>\n<\/ul>\n<p>macOS. \u0417\u0430\u043c\u044b\u043a\u0430\u0435\u0442 \u0442\u0440\u043e\u0439\u043a\u0443 \u043b\u0438\u0434\u0435\u0440\u043e\u0432.<\/p>\n<ul>\n<li>\n<p>Safari &#171;\u043d\u0435 \u043b\u0443\u0447\u0448\u0438\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u043e \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439&#187; \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u043b\u043e\u043c\u043a\u0430 \u0441 Revolt \u2014 event loop \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 &#171;\u041d\u0430 macOS \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u0435\u0449\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442. Revolt \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u0438 macOS, \u0435\u0433\u043e \u043b\u044e\u0431\u043e\u0432\u044c \u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 \u0438 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443&#187; \u041e\u0442\u0441\u0442\u0430\u0432\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u043c\u044b \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0443 \u041a\u0438\u0440\u0438\u043b\u043b\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 Mac \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 (\u0443\u0436\u0435 \u043f\u043e\u0444\u0438\u043a\u0448\u0435\u043d\u043e \u0438 \u041a\u0438\u0440\u0438\u043b\u043b \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e Boson PHP).<\/p>\n<\/li>\n<\/ul>\n<h4>\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 PHP \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c\u0438<\/h4>\n<p>\u0423\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b:<\/p>\n<ul>\n<li>\n<p>Laravel: \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 service provider<\/p>\n<\/li>\n<li>\n<p>Symfony: \u0433\u043e\u0442\u043e\u0432\u044b\u0439 bundle<\/p>\n<\/li>\n<li>\n<p>Spiral: \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>PSR-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435: \u0447\u0435\u0440\u0435\u0437 HTTP-\u043c\u043e\u0441\u0442<\/p>\n<\/li>\n<\/ul>\n<h4>\u0420\u0430\u0437\u043c\u0435\u0440 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c: \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b<\/h4>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043b\u0438 Boson PHP \u0438 Native PHP. \u041a\u0430\u043a \u0432\u044b \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c Boson \u0432 \u0440\u0443\u043a\u0430\u0445 \u0441\u0432\u043e\u0435\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0448\u0430\u043d\u0441\u043e\u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0443 &#8212; \u0432 \u0440\u0430\u0437\u044b \u043b\u0435\u0433\u0447\u0435 \u0438 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u043a\u0430\u043a \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u0435. \u041d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0435\u0441\u0442\u044c \u043a\u0443\u0434\u0430 \u0441\u0442\u0440\u0435\u043c\u0438\u0442\u044c\u0441\u044f \u0438 \u0443\u0436\u0435 \u043d\u0430\u043c\u0435\u0447\u0435\u043d\u044b \u0435\u0449\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0442\u0440\u0438\u043c:<\/p>\n<div class=\"embed_link\">\n<div class=\"embed__thumb\" style=\"background-image: url(&quot;undefined&quot;);\"><\/div>\n<div class=\"embed__caption\">\n<div class=\"embed__caption-title\"><span>Before you continue to YouTube<\/span><\/div>\n<p><a href=\"https:\/\/consent.youtube.com\/ml?continue=https:\/\/www.youtube.com\/live\/MJJebd0Tjyo?cbrd%3D1&amp;gl=EE&amp;hl=en&amp;cm=2&amp;pc=yt&amp;src=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"embed__caption-host\">consent.youtube.com<\/a><\/div>\n<\/div>\n<h3>\u0411\u0443\u0434\u0443\u0449\u0435\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430: \u043f\u043b\u0430\u043d\u044b \u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f<\/h3>\n<h4>\u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043d\u044b\u0435 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f<\/h4>\n<ul>\n<li>\n<p>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u2014 \u0432\u044b\u043d\u043e\u0441 Network API, Battery API \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0418\u0437\u0431\u0435\u0436\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u2014 \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 DI-\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u044b<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432 \u0441\u0431\u043e\u0440\u043a\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<\/ul>\n<h4>\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u0440\u0435\u043b\u0438\u0437\u0430 Saucer v7, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f WebView \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0412 \u043d\u0451\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f:<\/h4>\n<ul>\n<li>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u2014 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u0430\u0433\u043e\u0432 PHP FFI \u0441 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044f\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0445\u0435\u043d\u0434\u043b\u044b \u2014 \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u043c API<\/p>\n<\/li>\n<li>\n<p>\u041d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u2014 \u043a\u0430\u043c\u0435\u0440\u0430, \u0433\u0435\u043e\u043b\u043e\u043a\u0430\u0446\u0438\u044f, \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 OS API<\/p>\n<\/li>\n<\/ul>\n<p>Boson PHP \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f! \u041f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u044e \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438. \u041f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435\u0441\u044c!<\/p>\n<ul>\n<li>\n<p>Telegram-\u0447\u0430\u0442: <a href=\"https:\/\/t.me\/boson_php\" rel=\"noopener noreferrer nofollow\">https:\/\/t.me\/boson_php<\/a><\/p>\n<\/li>\n<li>\n<p>Discord: <a href=\"https:\/\/discord.gg\/vCg52Jdwvc\" rel=\"noopener noreferrer nofollow\">https:\/\/discord.gg\/vCg52Jdwvc<\/a><\/p>\n<\/li>\n<li>\n<p>GitHub: <a href=\"https:\/\/github.com\/boson-php\" rel=\"noopener noreferrer nofollow\">https:\/\/github.com\/boson-php<\/a><\/p>\n<\/li>\n<li>\n<p>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0430\u0439\u0442: <a href=\"https:\/\/bosonphp.com\" rel=\"noopener noreferrer nofollow\">https:\/\/bosonphp.com<\/a><\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f: <a href=\"https:\/\/bosonphp.com\/doc\/0.17\/introduction\" rel=\"noopener noreferrer nofollow\">https:\/\/bosonphp.com\/doc\/0.17\/introduction<\/a><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/944716\/\"> https:\/\/habr.com\/ru\/articles\/944716\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u043a\u043e\u043b\u043b\u0435\u0433\u0438!<br \/> \u0420\u0435\u0448\u0438\u043b \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0440\u0443\u0431\u0440\u0438\u043a\u0443 \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u044f\u043c\u0438 \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443 Boson PHP. \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435.<\/p>\n<p>Boson PHP \u2014 \u044d\u0442\u043e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0431-\u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438 (PHP, JavaScript, HTML, CSS) \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f native-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u041e\u043d\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440 PHP \u0438 \u0434\u0432\u0438\u0436\u043e\u043a WebView, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0435\u0434\u0438\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0434\u043b\u044f Windows, Linux \u0438 macOS. \u0414\u043b\u044f PHP-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432, \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u0432\u044b\u0439\u0442\u0438 \u0437\u0430 \u0440\u0430\u043c\u043a\u0438 \u0432\u0435\u0431\u0430 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0437\u043d\u0430\u043a\u043e\u043c\u043e\u0433\u043e \u0441\u0442\u0435\u043a\u0430 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439. \u0415\u0433\u043e \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u2014 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430.<\/p>\n<p>\u0425\u0435\u0434\u043b\u0430\u0439\u043d\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u041a\u0438\u0440\u0438\u043b\u043b \u041d\u0435\u0441\u043c\u0435\u044f\u043d\u043e\u0432, \u043d\u0443 \u0430 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432: \u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u0413\u0430\u0433\u0430\u0440\u0438\u043d, \u0414\u043c\u0438\u0442\u0440\u0438\u0439 \u0414\u0435\u0440\u0435\u043f\u043a\u043e \u0438 \u044f (\u0414\u0430\u043d\u0438\u043b \u0429\u0443\u0446\u043a\u0438\u0439) \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u043c \u0435\u043c\u0443.<\/p>\n<p>20 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f <a href=\"https:\/\/youtube.com\/live\/MJJebd0Tjyo\" rel=\"noopener noreferrer nofollow\">\u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0440\u0438\u043c \u043f\u043e Boson PHP<\/a>. \u0420\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432\u043a\u0440\u0430\u0442\u0446\u0435, \u0447\u0442\u043e \u0442\u0430\u043c \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e. \u0417\u0430 4 \u043c\u0435\u0441\u044f\u0446\u0430 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e <a href=\"https:\/\/youtube.com\/live\/vTSumboIRfE\" rel=\"noopener noreferrer nofollow\">\u043f\u0440\u044f\u043c\u043e\u0433\u043e \u044d\u0444\u0438\u0440\u0430<\/a> \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/p>\n<h3>\u0417\u0430\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0433\u043e \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u0430 bosonphp.com<\/h3>\n<p>\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u043c\u0435\u0441\u044f\u0446 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u0430\u0434 \u043d\u043e\u0432\u044b\u043c \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0440\u0435\u043b\u0438\u0437\u0438\u043b\u0438 \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u044d\u0444\u0438\u0440\u0435. \u0412\u0435\u0441\u044c \u043b\u0435\u043d\u0434\u0438\u043d\u0433 \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 (\u043e\u0441\u043d\u043e\u0432\u0430 Boson). \u0412\u0435\u0440\u0441\u0442\u0430\u044f \u043b\u0435\u043d\u0434\u0438\u043d\u0433 \u0447\u0443\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e\u0440\u0432\u0430\u043b\u0441\u044f <a href=\"https:\/\/github.com\/krvvko\" rel=\"noopener noreferrer nofollow\">@krvvko<\/a>, \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0435\u043c\u0443 \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443!<\/p>\n<h3>\u041d\u043e\u0432\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/h3>\n<ul>\n<li>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u0441 JetBrains WriterSite \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u0430 \u0434\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432. \u0414\u0435\u043b\u0430\u043b\u0438 \u043b\u0435\u043d\u0434\u0438\u043d\u0433, \u0440\u0435\u0448\u0438\u043b\u0438 \u0437\u0430\u043e\u0434\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u0434\u0432\u0438\u0436\u043e\u043a \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/p>\n<\/li>\n<li>\n<p>\u0412\u0435\u0440\u0441\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u2014 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0435\u0440\u0441\u0438\u0438 15, 16, 17 \u0438 master \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0442\u043a\u043e\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u043c: <\/p>\n<ul>\n<li>\n<p>Application \u2014 \u043e\u0431\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>Windows \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043a\u043d\u0430\u043c\u0438<\/p>\n<\/li>\n<li>\n<p>WebView \u2014 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p>Deployment \u2014 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u0441\u0431\u043e\u0440\u043a\u0430<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432<\/h3>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0440\u0438\u043c\u0430 \u0431\u044b\u043b\u0430 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u0430 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0431-\u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u2014 \u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 Boson, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e DOM. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442<\/h3>\n<p>\u0412\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e: \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0442\u0435\u0433\u0430 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u0435\u0444\u0438\u0441!<\/p>\n<pre><code class=\"php\">class MyAwesomeButton {}  $app = new Boson\\Application();  \/\/ Tag component name $tag = 'my-button';  \/\/ Component class name $component = MyAwesomeButton::class;  $app-&gt;webview-&gt;components-&gt;add('my-button', MyAwesomeButton::class); $app-&gt;webview-&gt;html = '&lt;my-button&gt;\u041d\u0430\u0436\u043c\u0438 \u043c\u0435\u043d\u044f!&lt;\/my-button&gt;'; <\/code><\/pre>\n<h3>\u0414\u0435\u043b\u0430\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b<\/h3>\n<h4>\u041e\u0431\u044b\u0447\u043d\u044b\u0439 HTML-\u0448\u0430\u0431\u043b\u043e\u043d<\/h4>\n<p>\u0425\u043e\u0442\u0438\u0442\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0439 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434? \u041b\u0435\u0433\u043a\u043e!<\/p>\n<pre><code class=\"php\">class MyAwesomeButton implements HasTemplateInterface {     public function render(): string {         return '&lt;button class=\"fancy-btn\"&gt;\ud83c\udf89 \u041a\u0440\u0443\u0442\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430! \ud83c\udf89&lt;\/button&gt;';     } } <\/code><\/pre>\n<h4>Shadow DOM \u2014 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445<\/h4>\n<p>Shadow DOM \u0438\u0437\u043e\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0448\u0438 \u0441\u0442\u0438\u043b\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0441\u043b\u043e\u0442\u043e\u0432:<\/p>\n<pre><code class=\"php\">class MyCard implements HasShadowDomInterface {     public function render(): string {         return '             &lt;div class=\"card\"&gt;                 &lt;h3&gt;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438&lt;\/h3&gt;                 &lt;slot&gt;&lt;\/slot&gt; &lt;!-- \u0421\u044e\u0434\u0430 \u043f\u043e\u043f\u0430\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 --&gt;             &lt;\/div&gt;         ';     } } <\/code><\/pre>\n<h3>\u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u043c \u0446\u0438\u043a\u043b\u043e\u043c<\/h3>\n<p>\u0425\u043e\u0442\u0438\u0442\u0435 \u0437\u043d\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0438\u043b\u0438 \u0438\u0441\u0447\u0435\u0437 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b?<\/p>\n<pre><code class=\"php\">class MyComponent implements HasLifecycleCallbacksInterface {     public function onConnect(): void {         echo \"\u041f\u0440\u0438\u0432\u0435\u0442! \u042f \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435! \ud83d\udc4b\";     }          public function onDisconnect(): void {         echo \"\u041f\u043e\u043a\u0430! \u041c\u0435\u043d\u044f \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \ud83d\ude22\";     } } <\/code><\/pre>\n<h3>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c<\/h3>\n<h4>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u2014 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 JavaScript<\/h4>\n<p>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 JS \u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"php\">class Counter implements HasPropertiesInterface {     public function onPropertyChanged(string $property, mixed $value): void {         if ($property === 'count') {             echo \"\u0421\u0447\u0435\u0442\u0447\u0438\u043a \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f! \u041d\u043e\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: $value\";         }     }          public static function getPropertyNames(): array {         return ['count']; \/\/ \u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c count     } } <\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ \u0412 JavaScript let counter = document.createElement('my-counter'); counter.count = 42; \/\/ PHP \u043f\u043e\u043b\u0443\u0447\u0438\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435! <\/code><\/pre>\n<h4>\u041c\u0435\u0442\u043e\u0434\u044b \u2014 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c PHP \u0438\u0437 JavaScript<\/h4>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435! \u041c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c PHP-\u043c\u0435\u0442\u043e\u0434\u044b \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430:<\/p>\n<pre><code class=\"php\">class Calculator implements HasMethodsInterface {     public function onMethodCalled(string $method, array $args = []): mixed {         switch ($method) {             case 'add':                 return $args[0] + $args[1];             case 'greet':                 return \"\u041f\u0440\u0438\u0432\u0435\u0442 \u0438\u0437 PHP! \ud83d\udc18\";             default:                 throw new \\BadMethodCallException(\"\u041c\u0435\u0442\u043e\u0434 $method \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\");         }     }          public static function getMethodNames(): array {         return ['add', 'greet'];     } } <\/code><\/pre>\n<pre><code>&lt;!-- \u0412 HTML --&gt; &lt;my-calculator onclick=\"this.greet()\"&gt;\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440&lt;\/my-calculator&gt; <\/code><\/pre>\n<pre><code class=\"javascript\">\/\/ \u0418\u043b\u0438 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e \u0438\u0437 JS const calc = document.createElement('my-calculator'); let result = await calc.add(5, 3); \/\/ \u0412\u0435\u0440\u043d\u0435\u0442 8! <\/code><\/pre>\n<h4>\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u2014 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f HTML<\/h4>\n<p>\u0421\u043b\u0435\u0434\u0438\u043c \u0437\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438:<\/p>\n<pre><code class=\"php\">class StatusBadge implements HasAttributesInterface {     public function onAttributeChanged(string $attribute, ?string $value, ?string $previous): void {         if ($attribute === 'status') {             if ($value === null) {                 echo \"\u0421\u0442\u0430\u0442\u0443\u0441 \u0443\u0434\u0430\u043b\u0435\u043d!\";             } elseif ($previous === null) {                 echo \"\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0441\u0442\u0430\u0442\u0443\u0441: $value\";             } else {                 echo \"\u0421\u0442\u0430\u0442\u0443\u0441 \u0438\u0437\u043c\u0435\u043d\u0435\u043d \u0441 '$previous' \u043d\u0430 '$value'\";             }         }     }          public static function getAttributeNames(): array {         return ['status', 'priority'];     } } <\/code><\/pre>\n<h4>\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u2014 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u043a\u043b\u0438\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0435<\/h4>\n<p>\u041b\u043e\u0432\u0438\u043c \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0432 PHP:<\/p>\n<pre><code class=\"php\">class InteractiveWidget implements HasEventListenersInterface {     public function onEventFired(string $event, array $args = []): void {         if ($event === 'click') {             $x = $args['x'];             $y = $args['y'];             echo \"\u041a\u043b\u0438\u043a\u043d\u0443\u043b\u0438 \u043f\u043e \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c: $x, $y\";         }     }          public static function getEventListeners(): array {         return [             'click' =&gt; [                 'x' =&gt; 'clientX',  \/\/ \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c clientX \u0432 x                 'y' =&gt; 'clientY'   \/\/ \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c clientY \u0432 y             ],         ];     } } <\/code><\/pre>\n<h3>\u0420\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u2014 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c<\/h3>\n<p>\u042d\u0442\u043e \u0432\u0430\u0448 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u043c:<\/p>\n<pre><code class=\"php\">use Boson\\WebView\\Api\\WebComponents\\ReactiveContext;  class SmartComponent implements HasMethodsInterface {     public function __construct(private ReactiveContext $ctx) {}          public function refresh(): void {         \/\/ \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b         if (!$this-&gt;ctx-&gt;attributes-&gt;has('loaded')) {             $this-&gt;ctx-&gt;attributes-&gt;set('loaded', 'true');         }                  \/\/ \u041c\u0435\u043d\u044f\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435         if ($this-&gt;ctx-&gt;content-&gt;html === '') {             $this-&gt;ctx-&gt;content-&gt;html = '&lt;p&gt;\u041a\u043e\u043d\u0442\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d! \u2705&lt;\/p&gt;';         }     }          public function onMethodCalled(string $method, array $args = []): mixed {         if ($method === 'refresh') {             $this-&gt;refresh();             return '\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043e!';         }     }          public static function getMethodNames(): array {         return ['refresh'];     } } <\/code><\/pre>\n<p>\u0412 <a href=\"https:\/\/bosonphp.com\/doc\/0.17\/web-components-api\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<blockquote>\n<p>\u0418 \u043f\u043e\u043c\u043d\u0438\u0442\u0435: \u0441 Boson Web Components \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0432\u0441\u044e \u043c\u043e\u0449\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e PHP \u043f\u0440\u044f\u043c\u043e \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u0445!<\/p>\n<\/blockquote>\n<h3>\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f: HappyWife HappyLife<\/h3>\n<p>\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u0413\u0430\u0433\u0430\u0440\u0438\u043d \u043d\u0430 \u0441\u0442\u0440\u0438\u043c\u0435 \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0432\u043e\u0451 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u2014 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 LLM-\u0430\u0433\u0435\u043d\u0442\u0430\u043c\u0438 \u0434\u043b\u044f &#171;\u0441\u043f\u0430\u0441\u0435\u043d\u0438\u044f \u0436\u0438\u0437\u043d\u0438 \u043c\u0443\u0436\u0438\u043a\u043e\u0432&#187;, \u043a\u0430\u043a \u043e\u043d \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043b.<\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430: \u201c\u043e\u0431\u044b\u0447\u043d\u043e\u0435 Spiral-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u201d \u043d\u0430 Roadrunner \u0438 FPM \u0441\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c. \u0414\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 Boson PHP \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u2014 Boson bootloader \u0438\u0437 spiral-bridge \u043f\u0430\u043a\u0435\u0442\u0430. \u041d\u0438\u043a\u0430\u043a\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u0434\u0435 \u2014 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0441\u0440\u0430\u0437\u0443.<\/p>\n<p>\u0412 \u0445\u043e\u0434\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u043d\u044f\u043b\u0438, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0441\u0447\u0430\u0441\u0442\u044c\u044f \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442:<\/p>\n<ul>\n<li>\n<p>WebSockets\/Server-Sent Events \u2014 \u0434\u043b\u044f real-time \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>\u0423\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 API \u2014 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f PHPS, Roadrunner \u0438 Boson<\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u0440\u0438\u043c\u043e\u0432\u044b\u0435 \u043e\u0442\u0432\u0435\u0442\u044b \u2014 \u0434\u043b\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u043e\u043a\u0435\u043d\u043e\u0432 \u043e\u0442 LLM<\/p>\n<\/li>\n<\/ul>\n<h3>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b<\/h3>\n<h4>\u0420\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c: \u043a\u0430\u043a \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0437\u043d\u0443\u0442\u0440\u0438<\/h4>\n<p>\u041a\u0438\u0440\u0438\u043b\u043b \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u043b \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u0435\u0451 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:<\/p>\n<ul>\n<li>\n<p>\u0415\u0434\u0438\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 &#8212; PHP \u0438 WebView \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 shared memory \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u043a\u043b\u0430\u0434\u043d\u044b\u0445 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>API \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f WebKit API \u0438 Blink API \u0432\u0435\u0440\u0445\u043d\u0435\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f. \u0412\u044b\u0437\u043e\u0432\u044b \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e (\u0432 \u043e\u0431\u0445\u043e\u0434 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u043b\u043e\u0435\u0432), \u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f DOM \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 PHP-\u043a\u043e\u043b\u043b\u0431\u0435\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c. \u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c ~100 \u0442\u044b\u0441\u044f\u0447 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u043d\u043e \u0435\u0441\u0442\u044c \u0443\u0437\u043a\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u2014 JSON encode\/decode \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/p>\n<\/li>\n<\/ul>\n<h4>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/h4>\n<p>Windows. \u0421\u0430\u043c\u0430\u044f \u043b\u044e\u0431\u0438\u043c\u0430\u044f \u0443 Boson PHP \u043f\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044e \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0438\u0439 \u0434\u0435\u043d\u044c:<\/p>\n<ul>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Edge WebView2 \u2014 \u0441\u0430\u043c\u044b\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0434\u0432\u0438\u0436\u043e\u043a<\/p>\n<\/li>\n<li>\n<p>\u0421\u0431\u043e\u0440\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 &#171;\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438&#187; \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2014 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 .exe \u0438\u043c\u0435\u0435\u0442 \u043b\u043e\u0433\u043e\u0442\u0438\u043f PHP \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0442 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430! \u041d\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u043d \u043a\u0430\u043a \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u044c \u044d\u0442\u043e &#8212; \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0430\u0442\u0447\u0438\u043d\u0433 COFF-\u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u0437\u0430\u043c\u0435\u043d\u044b \u0438\u043a\u043e\u043d\u043a\u0438 \u0438 \u0432\u0435\u0440\u0441\u0438\u043e\u043d\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>Linux. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043d\u043e \u0441 \u043d\u044e\u0430\u043d\u0441\u0430\u043c\u0438.<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 (AppArmor)<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0432\u0441\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 WebKitGTK. \u041f\u0440\u043e\u0434\u0443\u043c\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0443\u0442\u0438: \u0437\u0430\u043f\u0443\u0441\u043a \u0432 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439<\/p>\n<\/li>\n<\/ul>\n<p>macOS. \u0417\u0430\u043c\u044b\u043a\u0430\u0435\u0442 \u0442\u0440\u043e\u0439\u043a\u0443 \u043b\u0438\u0434\u0435\u0440\u043e\u0432.<\/p>\n<ul>\n<li>\n<p>Safari &#171;\u043d\u0435 \u043b\u0443\u0447\u0448\u0438\u0439 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0432\u043e \u0432\u0441\u0435\u043b\u0435\u043d\u043d\u043e\u0439&#187; \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u043b\u043e\u043c\u043a\u0430 \u0441 Revolt \u2014 event loop \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 &#171;\u041d\u0430 macOS \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0432\u0435\u0449\u0438 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442. Revolt \u043d\u0430\u0440\u0443\u0448\u0430\u0435\u0442 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u0438 macOS, \u0435\u0433\u043e \u043b\u044e\u0431\u043e\u0432\u044c \u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435 \u0438 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443&#187; \u041e\u0442\u0441\u0442\u0430\u0432\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u043c\u044b \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c \u0443 \u041a\u0438\u0440\u0438\u043b\u043b\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 Mac \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 (\u0443\u0436\u0435 \u043f\u043e\u0444\u0438\u043a\u0448\u0435\u043d\u043e \u0438 \u041a\u0438\u0440\u0438\u043b\u043b \u043a\u0443\u043f\u0438\u043b \u0441\u0435\u0431\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e Boson PHP).<\/p>\n<\/li>\n<\/ul>\n<h4>\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 PHP \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430\u043c\u0438<\/h4>\n<p>\u0423\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b:<\/p>\n<ul>\n<li>\n<p>Laravel: \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 service provider<\/p>\n<\/li>\n<li>\n<p>Symfony: \u0433\u043e\u0442\u043e\u0432\u044b\u0439 bundle<\/p>\n<\/li>\n<li>\n<p>Spiral: \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>PSR-\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435: \u0447\u0435\u0440\u0435\u0437 HTTP-\u043c\u043e\u0441\u0442<\/p>\n<\/li>\n<\/ul>\n<h4>\u0420\u0430\u0437\u043c\u0435\u0440 \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c: \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b<\/h4>\n<p>\u0421\u0440\u0430\u0432\u043d\u0438\u043b\u0438 Boson PHP \u0438 Native PHP. \u041a\u0430\u043a \u0432\u044b \u0434\u043e\u0433\u0430\u0434\u0430\u043b\u0438\u0441\u044c Boson \u0432 \u0440\u0443\u043a\u0430\u0445 \u0441\u0432\u043e\u0435\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0448\u0430\u043d\u0441\u043e\u0432 \u043a\u043e\u043d\u043a\u0443\u0440\u0435\u043d\u0442\u0443 &#8212; \u0432 \u0440\u0430\u0437\u044b \u043b\u0435\u0433\u0447\u0435 \u0438 \u0431\u044b\u0441\u0442\u0440\u0435\u0435, \u043a\u0430\u043a \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430 \u043b\u0435\u043d\u0434\u0438\u043d\u0433\u0435. \u041d\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0435\u0441\u0442\u044c \u043a\u0443\u0434\u0430 \u0441\u0442\u0440\u0435\u043c\u0438\u0442\u044c\u0441\u044f \u0438 \u0443\u0436\u0435 \u043d\u0430\u043c\u0435\u0447\u0435\u043d\u044b \u0435\u0449\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0442\u0440\u0438\u043c:<\/p>\n<div class=\"embed_link\">\n<div class=\"embed__thumb\" style=\"background-image: url(&quot;undefined&quot;);\"><\/div>\n<div class=\"embed__caption\">\n<div class=\"embed__caption-title\"><span>Before you continue to YouTube<\/span><\/div>\n<p><a href=\"https:\/\/consent.youtube.com\/ml?continue=https:\/\/www.youtube.com\/live\/MJJebd0Tjyo?cbrd%3D1&amp;gl=EE&amp;hl=en&amp;cm=2&amp;pc=yt&amp;src=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\" class=\"embed__caption-host\">consent.youtube.co<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-474174","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/474174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=474174"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/474174\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=474174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=474174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=474174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}