{"id":288969,"date":"2018-09-04T17:45:02","date_gmt":"2018-09-04T13:45:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=288969"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2018-09-04T13:45:02","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=288969","title":{"rendered":"A7 Data Server: \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043e\u043d\u043b\u0430\u0439\u043d"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/piterjs\/blog\/422281\/\" class=\"post__text post__text-html js-mediator-article\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/o_\/27\/1c\/o_271c5mazh9_vj3a4vyd44uqm0.jpeg\" alt=\"\u0412\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u0438\u0442\u0430\u043f\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0437\u0434\u0435\u0441\u044c: https:\/\/youtu.be\/kJS5rfCWmPI\"><\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0438\u043b\u043e\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0441 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430\u043c\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432, \u043f\u0440\u043e\u0437\u0432\u0443\u0447\u0430\u0432\u0448\u0438\u0445 \u043d\u0430 PiterJS.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442, \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e.<\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/youtu.be\/kJS5rfCWmPI\">\u0432\u0438\u0434\u0435\u043e<\/a> \u0438 <a href=\"https:\/\/fs.piterjs.org\/events\/26\/loginov.pdf\">\u0441\u043b\u0430\u0439\u0434\u044b<\/a>, \u0430 \u0437\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u043e\u0439 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0414\u043e\u043a\u043b\u0430\u0434 \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0443 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b \u0410\u043d\u0434\u0440\u0435\u0439 \u041b\u043e\u0433\u0438\u043d\u043e\u0432, \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440 \u0432 \u00abA7 Systems\u00bb.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/wj\/ns\/o5\/wjnso5trbwzfgacexmxdydv7s90.jpeg\"><\/p>\n<p>  <\/p>\n<h3 id=\"nachnem\">\u041d\u0430\u0447\u043d\u0435\u043c<\/h3>\n<p>  <\/p>\n<p>Fast Big Data Server \u2014 c\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0431\u044b\u0441\u0442\u0440\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e A7 DS \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f <a href=\"https:\/\/en.wikipedia.org\/wiki\/Digital_twin\">Digital Twin<\/a>, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u043e\u043b\u044f\u043c\u0438 \u0438 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u043e \u044d\u0442\u043e \u043d\u0435 \u0432\u0441\u0451, \u0447\u0442\u043e \u043e\u043d \u0443\u043c\u0435\u0435\u0442.<\/p>\n<p>  <\/p>\n<h3 id=\"chto-vnutri\">\u0427\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438.<\/h3>\n<p>  <\/p>\n<p>\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dj\/ej\/4k\/djej4kebw2qpjqphfkmmcztahba.png\"><\/p>\n<p>  <\/p>\n<ul>\n<li>\u041e\u0431\u044a\u0435\u043a\u0442\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0422\u0435\u043c\u043f\u043e\u0440\u0430\u043b\u044c\u043d\u0430\u044f (\u0445\u0440\u043e\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f) \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445<\/li>\n<li>\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 JavaScript (\u0435\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u043c, \u0442\u043e js-like \u044f\u0437\u044b\u043a\u0430)<\/li>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0443\u0440\u043e\u0432\u043d\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430<\/li>\n<li>C\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041e\u0431\u044a\u0435\u043a\u0442\u043d\u0430\u044f \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u043c\u0438\u043c\u043e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432\u043c\u0435\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432<\/li>\n<li>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0433\u0440\u0430\u0444\u043e\u0432<\/li>\n<li>\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u0441\u044b\u043b\u043a\u0438<\/li>\n<li>Spaces (\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430)<\/li>\n<li>\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0431\u0438\u043d\u0434\u0438\u043d\u0433\u0430 (\u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c)<\/li>\n<\/ul>\n<p>  <\/p>\n<h3 id=\"space\">Space<\/h3>\n<p>  <\/p>\n<p>\u0421\u0430\u043c\u043e\u0435 \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u043e\u0435 \u0437\u0434\u0435\u0441\u044c \u2014 \u044d\u0442\u043e Space (\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e).<br \/>  Space \u2014 \u044d\u0442\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/yp\/c0\/ra\/ypc0ra1yq3fd2sx6mq_qnhqj28u.png\"><br \/>  Space \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442:<\/p>\n<p>  <\/p>\n<ul>\n<li>data (\u0434\u0430\u043d\u043d\u044b\u0435)<\/li>\n<li>shared-data (\u043e\u0431\u0449\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0433\u043e\u0434\u0430 \u0438\u043b\u0438 \u043a\u0443\u0440\u0441 \u0432\u0430\u043b\u044e\u0442\u044b)<\/li>\n<li>roles (owner, users, groups)<br \/>  \u0422\u043e \u0435\u0441\u0442\u044c, Space \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 A7 DS \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 Spaces \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e\u043c.<\/li>\n<\/ul>\n<p>  <\/p>\n<h3 id=\"kak-polzovatsya\">\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/h3>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u044d\u0442\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u042d\u0442\u043e \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0441\u0430\u043c\u044b\u0439 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441.<br \/>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 ECMAScript.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u043d\u0438\u0435 \u0421++. (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0448\u043a\u043e\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b)<\/li>\n<li>\u0417\u043d\u0430\u043d\u0438\u0435 ECMAScript \u0438 QML (Qt) <\/li>\n<li>Android NDK (\u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e)<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u043e \u043c\u043e\u0435\u043c\u0443 \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u044e, \u043b\u0443\u0447\u0448\u0438\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u043d\u043b\u0430\u0439\u043d \u0441\u0435\u043c\u0435\u0439\u043d\u044b\u0439 \u043a\u043e\u0448\u0435\u043b\u0451\u043a)).<\/p>\n<p>  <\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0439 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. \u0422\u043e\u0447\u043d\u0435\u0435 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0442\u0438\u043f\u044b. \u0414\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440, \u043d\u043e \u043c\u044b \u201c\u043d\u0435 \u0442\u0430\u043a\u0438\u0435\u201d, \u0438 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 JSON.<\/p>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u0435\u043d\u044c\u0433\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0435\u0441\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u043d\u044b\u0435, \u043a\u0440\u0435\u0434\u0438\u0442\u043a\u0430, \u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0441\u0443\u043c\u043c\u0430:<\/p>\n<p>  <\/p>\n<pre><code>{   \"name\": \"Money\",   \"fields\": [     {\"name\": \"card\",\"fieldtype\": \"value\",\"datatype\": \"double\", \"def\": 0},     {\"name\": \"cash\",\"fieldtype\": \"value\",\"datatype\": \"double\",\"def\": 0},     {\"name\": \"sum\",\"fieldtype\": \"formula\",\"datatype\": \"double\",       \"def\": \"card+credit\"}   ] }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u044f card \u0438 cash \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u043d\u044b\u0435 0), \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043e\u0447\u0435:<\/p>\n<p>  <\/p>\n<pre><code>{\"name\": \"card\",\"value\": 0.0}, {\"name\": \"cash\",\"value\": 0.0}<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0435 sum \u044d\u0442\u043e \u0444\u043e\u0440\u043c\u0443\u043b\u0430 (\u043f\u0440\u0438\u0432\u0435\u0442 \u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c!), \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043e\u0447\u0435:<\/p>\n<p>  <\/p>\n<pre><code>{\"name\": \"sum\",\"formula\":\"card+credit\"}<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u0440\u0443 \u0438\u0437 \u044e\u043d\u043e\u0448\u0438 \u0438 \u0434\u0435\u0432\u0443\u0448\u043a\u0438.<\/p>\n<p>  <\/p>\n<pre><code>{   \"name\": \"Pair\",   \"fields\": [     {\"name\": \"boyfriend\",\"fieldtype\": \"value\",\"datatype\": \"Money\", \"def\": \"Money\"},     {\"name\": \"girlfriend\",\"fieldtype\": \"value\",\"datatype\": \"Money\",\"def\": \"Money\"},     {\"name\": \"sum\",\"fieldtype\": \"formula\",\"datatype\": \"double\",       \"def\": \"boyfriend.sum+girlfriend.sum\"}   ] }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u043b\u0435 sum (\u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u0438\u0432\u0435\u0442 \u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c!), \u0441\u0442\u0430\u043b\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u044a\u0435\u043a\u0442\u044b:<\/p>\n<p>  <\/p>\n<pre><code>{\"name\": \"sum\",\"formula\":\"boyfriend.sum+girlfriend.sum\"}<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c, \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043b\u044e\u0431\u043e\u0439 \u0446\u0438\u0444\u0440\u044b \u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0441\u0447\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0430.<\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u043d\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0441\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>  <\/p>\n<pre><code>{\"name\": \"history\",\"fieldtype\": \"list\", \"list\":{\"datatype\": \"History\"}}<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438<\/p>\n<p>  <\/p>\n<pre><code>{\"name\": \"history\", \"list\":{\"datatype\": \"History\"}}<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0443 \u0438 \u0441\u0430\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0441\u0442\u043e\u0440\u0438\u0438. \u041a\u0442\u043e, \u0447\u0442\u043e, \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b.<\/p>\n<p>  <\/p>\n<pre><code>{   \"name\": \"History\",   \"fields\": [     {\"name\": \"who\",\"fieldtype\": \"value\",\"datatype\": \"string\", \"def\": \u201c\u201d},     {\"name\": \"which\",\"fieldtype\": \"value\",\"datatype\": \"string\",\"def\": \u201c\u201d},     {\"name\": \"delta\",\"fieldtype\": \"value\",\"datatype\": \"double\",\"def\": 0}   ] }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u043e\u0432 \u043a Pair:<\/p>\n<p>  <\/p>\n<pre><code>\"functions\": [{\"functiontype\": \"before\",       \"arguments\": [boyfriend.cash],       \"code\": \"...\"    } ]<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418 \u0441\u0430\u043c \u043a\u043e\u0434 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u0430:<\/p>\n<p>  <\/p>\n<pre><code>{   var historyItem= history.add(new History());   historyItem.who=\u201dboyfriend\u201d;   historyItem.which=\u201dcash\u201d;   history.delta=value-boyfriend.cash;   return true; }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044b \u0434\u043b\u044f <code>boyfriend.card<\/code>, <code>girlfriend.card<\/code>, <code>girlfriend.cash<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u043c\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043f\u0430\u0440, \u0442\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0442\u0438\u043f\u043e\u0432\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e <code>SpacePair<\/code>, \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c <code>Pair<\/code>.<br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u0432\u0443\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<br \/>  <code>Girl<\/code><br \/>  <code>Boy<\/code><\/p>\n<p>  <\/p>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u0441\u0435, \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432 \u0434\u043b\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u043a\u043e\u0448\u0435\u043b\u044c\u043a\u043e\u0432 \u0433\u043e\u0442\u043e\u0432. <\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432. \u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445 (\u0438 \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e). \u0422\u0430\u043a\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438 \u0433\u0440\u0443\u043f\u043f\u044b (\u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430).<br \/>  \u041a\u0430\u0436\u0434\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0438 \u0441\u0432\u043e\u0438 \u0433\u0440\u0443\u043f\u043f\u044b.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442:<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/p>\n<p>  <\/p>\n<pre><code>android {     debug{         LIBS+= ..\/A7DS\/Libs\/android\/libA17EDboClientBaseBind.a         LIBS+= ..\/A7DS\/Libs\/android\/libA17ClientLibBind.a     }     release{         LIBS+= ..\/A7DS\/Libs\/android\/libA17EDboClientBaseBin.a         LIBS+= ..\/A7DS\/Libs\/android\/libA17ClientLibBin.a     } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b main.cpp<\/p>\n<p>  <\/p>\n<pre><code class=\"cpp\">#include &lt;QApplication&gt; #include &lt;QQmlApplicationEngine&gt; #include &lt;QVariant&gt; #include &lt;QQmlEngine&gt;  \/\/ \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 *.h \u0444\u0430\u0439\u043b\u044b #include \"..\/A7DS\/A17EBase\/A17EDboClientBaseBin\/a17edboclientbasebin.h\"  int main(int argc, char *argv[]) {    QApplication app(argc, argv);    QQmlApplicationEngine engine;     \/\/ \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f A7DS    A17EDboClientBaseBin*client=new A17EDboClientBaseBin(engine,&amp;app);     \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f A7DS    client-&gt;init(engine);     \/\/ \u0414\u0430\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043a\u043e\u0434     engine.load(QUrl(QLatin1String(QString(\"qrc:\/main.qml\").toLatin1())));    return app.exec(); }<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c C++ \u0447\u0430\u0441\u0442\u044c \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d\u0430, \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a QML.<\/p>\n<p>  <\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u0440\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445<\/p>\n<p>  <\/p>\n<p>MyLabelView.qml <\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">import QtQuick 2.7 import Astra.Dbo 17.0  Item {id: viewItem    property alias field: field    property string label: \"\u0447\u0442\u043e \u0438 \u043a\u0442\u043e\"    width: parent.width    height: 100     DboField{        id: field    }    Text {        id: labelItem        text: viewItem.label        anchors.left: parent.left        anchors.right: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom    }     Text {        id: valueItem        text: field.value        anchors.right: parent.right        anchors.left: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom    } }<\/code><\/pre>\n<p>  <\/p>\n<p>MyLabelEdit.qml <\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">import QtQuick 2.7 import Astra.Dbo 17.0  Item {id: viewItem    property alias field: field    property string label: \"\u0447\u0442\u043e \u0438 \u043a\u0442\u043e\"    width: parent.width    height: 100     DboField{        id: field    }    Text {        id: labelItem        text: viewItem.label        anchors.left: parent.left        anchors.right: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom    }     TextInput {        id: valueItem        text: field.value        anchors.right: parent.right        anchors.left: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom        onEditingFinished:{            field.value=text;        }    } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u043a\u043d\u043e<br \/>  MyLabelEdit.qml <\/p>\n<p>  <\/p>\n<pre><code class=\"javascript\">import QtQuick 2.7 import Astra.Dbo 17.0 import QtQuick.Controls 1.5  {id:appWindow     visible: true     width: 640     height: 480     property var component;     property var sprite;  ApplicationWindow {id: viewItem property alias field: field property string label: \"\u0447\u0442\u043e \u0438 \u043a\u0442\u043e\" property string host: \"127.0.0.1\" \/\/\/\/ \u0430\u0434\u0440\u0435\u0441 A7 DS property int port: 8989 \/\/ \u043f\u043e\u0440\u0442 A7 DS property string isBoy: (dboconnection.login==\"Boy\") property var myselfMoney: (isBoy)?boyfriend:girlfriend property var myfriendMoney: (!isBoy)?boyfriend:girlfriend  \/*  \u0414\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0447\u043d\u0443\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f *\/  DboObject{id:boyfriend parentObject: rootData         parentFieldName:  \"boyfriend\" } DboObject{id:girlfriend        parentObject: rootData         parentFieldName:  \"girlfriend\" } DboModel{id:history        parentObject: rootData         parentFieldName:  \"history\" }  \/* \u0422\u043e, \u0447\u0442\u043e \u043c\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c A7 DS *\/ Column{       z: 10      visible: (! dboconnection.isConnect)      anchors.fill: parent      TextInput{id:login width: parent.width             height: 100      }      TextInput{id:password width: parent.width height: 100      }      Button{id:btn width: parent.width height: 100 text: \u201d\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f\u201d onClicked: dboconnection.connectToDbo( login.text, password..text,            viewItem.host,            viewItem.port); }    }     SwipeView{         anchors.fill: parent         currentIndex: 1         \/\/\/ \u0417\u0434\u0435\u0441\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439         Page{                   ListView{         model: history         delegate: Text{         text: model.who+\u201d \u201d+model.which+\u201d \u201d+model.delta }       }                 }      \/\/\/ \u0417\u0434\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0430\u044e\u0449\u0438\u0439 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u043a\u0430\u0440\u0442\u0438\u043d\u0443             Page{                 Column{             anchors.fill: parent                     MyLabelEdit{id:myCash; label: \u201c\u043c\u043e\u0438 \u043d\u0430\u043b\u0438\u0447\u043d\u044b\u0435\u201d                 field.name: \u201ccash\u201d; field.parentObject: myselfMoney         }                     MyLabelEdit{id:myCard; label: \u201c\u043c\u043e\u044f \u043a\u0430\u0440\u0442\u0430\u201d                 field.name: \u201ccard\u201d; field.parentObject: myselfMoney         }                    MyLabelView{id:mySum; label: \u201c\u0432\u0441\u0435 \u043c\u043e\u0438 \u0434\u0435\u043d\u044c\u0433\u0438\u201d                 field.name: \u201csum\u201d; field.parentObject: myselfMoney         }                    MyLabelView{id:myfriendCash; label: \u201c\u043d\u0430\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0440\u0443\u0433\u0430\u201d                 field.name: \u201ccash\u201d; field.parentObject: myfriendMoney         }                     MyLabelView{id:myfriendCard; label: \u201c\u043a\u0430\u0440\u0442\u0430 \u0434\u0440\u0443\u0433\u0430\u201d                 field.name: \u201ccard\u201d; field.parentObject: myfriendMoney         }                    MyLabelView{id:myfriendSum; label: \u201c\u0432\u0441\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u0434\u0440\u0443\u0433\u0430\u201d                 field.name: \u201csum\u201d; field.parentObject: myfriendMoney         }                    MyLabelView{id:mypairSum; label: \u201c\u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0434\u0435\u043d\u044c\u0433\u0438\u201d                 field.name: \u201csum\u201d; field.parentObject: mypairMoney         }      }             }         }     }     Text {        id: labelItem        text: viewItem.label        anchors.left: parent.left        anchors.right: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom    }     TextInput {        id: valueItem        text: field.value        anchors.right: parent.right        anchors.left: parent.horizontalCenter        anchors.top: parent.top        anchors.bottom: parent.bottom        onEditingFinished:{            field.value=text;        }    } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u043c\u043c. \u201c\u0410 \u043a\u0430\u043a \u0436\u0435 \u043e\u0431\u0435\u0449\u0430\u043d\u043d\u044b\u0435 Digital Twin, \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u043d\u0438\u0448\u0442\u044f\u043a\u0438?\u201d \u2013 \u0441\u043f\u0440\u043e\u0441\u0438\u0442 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c.<br \/>  \u201c\u0411\u0438\u043d\u0434\u0438\u043d\u0433 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0433\u0434\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0433\u0440\u0430\u0444\u044b?\u201d \u2013 \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u043e\u043d.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u0441\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0438 \u043d\u0430 \u043e\u0442\u0432\u0435\u0442\u044b \u043d\u0430 \u043d\u0438\u0445 \u0431\u0443\u0434\u0443\u0442 \u0434\u0430\u043d \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 ;).<\/p>\n<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <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\/post\/422281\/\"> https:\/\/habr.com\/post\/422281\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/company\/piterjs\/blog\/422281\/\" class=\"post__text post__text-html js-mediator-article\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/o_\/27\/1c\/o_271c5mazh9_vj3a4vyd44uqm0.jpeg\" alt=\"\u0412\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u0438\u0442\u0430\u043f\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0437\u0434\u0435\u0441\u044c: https:\/\/youtu.be\/kJS5rfCWmPI\"><\/p>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0438\u043b\u043e\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0441 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430\u043c\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432, \u043f\u0440\u043e\u0437\u0432\u0443\u0447\u0430\u0432\u0448\u0438\u0445 \u043d\u0430 PiterJS.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u044b\u0442, \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044e.<\/p>\n<p>  <\/p>\n<p>\u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/youtu.be\/kJS5rfCWmPI\">\u0432\u0438\u0434\u0435\u043e<\/a> \u0438 <a href=\"https:\/\/fs.piterjs.org\/events\/26\/loginov.pdf\">\u0441\u043b\u0430\u0439\u0434\u044b<\/a>, \u0430 \u0437\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u043e\u0439 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<\/p>\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-288969","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288969","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=288969"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288969\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=288969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=288969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=288969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}