{"id":222737,"date":"2014-05-14T14:31:02","date_gmt":"2014-05-14T10:31:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=222737"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=222737","title":{"rendered":"<span class=\"post_title\">\u041a\u0430\u043a \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e clojure<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1b1\/ade\/0cb\/1b1ade0cbebf09ac91c81921b0fe4728.png\"\/><\/p>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0441\u044f \u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u2014 clojure. \u041c\u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043b\u0435\u043d\u0438\u0432\u044b\u0435 \u0438 \u0438\u043c\u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438, stm, \u043c\u0430\u043a\u0440\u043e\u0441\u044b, <font color=\"red\">\u043e\u0431\u0438\u043b\u0438\u0435 \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a<\/font> \u0438 dsl \u043d\u0430 \u0432\u0441\u0435 \u0441\u043b\u0443\u0447\u0430\u0438 \u0436\u0438\u0437\u043d\u0438.<br \/>  \u0418 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e clojure.<\/p>\n<h4>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0411\u044b\u043b\u043e \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0438\u0441\u043a\u0430\u043b\u043a\u0443 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f:  <\/p>\n<ul>\n<li>\u043a\u0430\u0436\u0434\u044b\u0435 5 \u043c\u0438\u043d\u0443\u0442 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u043d\u0430 addicted, notabenoid \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b;<\/li>\n<li>\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432 \u0438 \u043c\u0435\u043d\u044f\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 api \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 <a href=\"http:\/\/habrahabr.ru\/post\/204134\/\">\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/a>.<\/li>\n<\/ul>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h4>\u041f\u0430\u0440\u0441\u0435\u0440\u044b<\/h4>\n<p>  \u041d\u0430 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u044b \u0431\u044b\u043b\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0443\u0434\u043e\u0431\u043d\u043e. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a \u0443\u0436 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e, \u043d\u043e threading \u043c\u0430\u043a\u0440\u043e\u0441\u044b (<a href=\"http:\/\/clojuredocs.org\/clojure_core\/clojure.core\/-%3E\">-&gt;<\/a>, <a href=\"http:\/\/clojuredocs.org\/clojure_core\/clojure.core\/-%3E%3E\">-&gt;&gt;<\/a>, <a href=\"https:\/\/github.com\/rplevy\/swiss-arrows#a-generalization-of-the-arrow\">-&lt;&gt; \u0438 -&lt;&gt;&gt;<\/a> \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e) \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u043b\u0438.<\/p>\n<p>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0443\u0441\u043e\u043a \u043f\u0430\u0440\u0441\u0435\u0440\u0430 notabenoid, \u0434\u0435\u043b\u0430\u044e\u0449\u0438\u0439 \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u043d\u0430 python \u0438 clojure:  <\/p>\n<table>\n<tr>\n<td>clojure<\/td>\n<td>python<\/td>\n<\/tr>\n<tr>\n<td>\n<pre><code class=\"lisp\">(defn get-release-page-result   &quot;Get release page result&quot;   [page]   (-&lt;&gt;&gt; (get-release-page-url page)         helpers\/fetch         (html\/select &lt;&gt; [:ul.search-results :li :p :a])         (map (helpers\/make-safe book-from-line nil))         (remove nil?)         (map episodes-from-book)         flatten)) <\/code><\/pre>\n<\/td>\n<td>\n<pre><code class=\"python\">def get_release_page_result(page):     &quot;&quot;&quot;Get release page result&quot;&quot;&quot;     url = get_release_page_url(page)     content = requests.get(url).content     soup = BeautifulSoup(content)     for line in get_lines_from_soup(soup):         book = get_book_from_line(line)         if book:             yield from get_episodes_from_book(book) <\/code><\/pre>\n<\/td>\n<\/tr>\n<tr>\n<td>16 \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a<\/td>\n<td>14 \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a<\/td>\n<\/tr>\n<\/table>\n<p>\u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/overtone\/at-at\">at-at<\/a>, \u0434\u043b\u044f \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 html \u2014 <a href=\"https:\/\/github.com\/cgrand\/enlive\">enlive<\/a>. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 elasticsearch.<\/p>\n<h4>\u0421\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c<\/h4>\n<p>  <\/p>\n<h5>\u0421\u0435\u0440\u0432\u0435\u0440<\/h5>\n<p>  \u041a\u0430\u043a \u0441\u0435\u0440\u0432\u0435\u0440 \u044f \u0432\u044b\u0431\u0440\u0430\u043b <a href=\"http:\/\/http-kit.org\/\">http-kit<\/a>, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c web-\u0441\u043e\u043a\u0435\u0442\u043e\u0432. \u0418 \u0438\u0445 \u0442\u0443\u0442 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0432\u0441\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"lisp\">(add-watch total-count :notifications            #(doseq [con @subscribers]               (send! con (prn-str {:total-count %4})))) <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0420\u043e\u0443\u0442\u0438\u043d\u0433<\/h5>\n<p>  \u0414\u043b\u044f \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430 \u2014 <a href=\"https:\/\/github.com\/weavejester\/compojure\">compojure<\/a>. \u0422\u0443\u0442 \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0442\u043b\u0438\u0447\u0438\u0439 \u043e\u0442 django \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u0432:  <\/p>\n<pre><code class=\"lisp\">(defroutes main-routes   (GET &quot;\/&quot; [] (views\/index-page))   (GET &quot;\/api\/list-languages\/&quot; {params :params} (api\/list-languages params))   (GET &quot;\/notifications\/&quot; [] push\/notifications)   (route\/resources const\/static-path)) <\/code><\/pre>\n<p>  <\/p>\n<h5>API<\/h5>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0432\u0435\u0437\u0434\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c clojure, \u0442\u043e \u043d\u0430\u0448\u0435 api \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432 \u0440\u043e\u0434\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u0432 json (\u0434\u043b\u044f \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u043e\u0433\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0430 python). \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0430\u043a \u043c\u043e\u0436\u0435\u0442, \u044f \u043d\u0435 \u043d\u0430\u0448\u0451\u043b <a href=\"https:\/\/github.com\/clojure-liberator\/liberator\">(\u0443\u0436\u0435 \u043d\u0430\u0448\u0451\u043b)<\/a>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434\u0438\u0442\u044c \u0438 \u0438\u0437\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0439 \u043c\u0438\u043d\u0438-dsl:  <\/p>\n<pre><code class=\"lisp\">(defn- get-writer   &quot;Get writer from params&quot;   [params]   (if (= (:format params) &quot;json&quot;)     json\/write-str     prn-str))  (defmacro defapi   &quot;Define api method&quot;   [name doc args & body]   `(defn ~name ~args      ((get-writer (first ~args))       ~@body))) <\/code><\/pre>\n<p>  \u0418 \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<pre><code class=\"lisp\">(defapi list-languages   &quot;List all available languages&quot;   [params]   (models\/list-languages)) <\/code><\/pre>\n<p>  <\/p>\n<h5>View<\/h5>\n<p>  \u0414\u043b\u044f \u0440\u0435\u043d\u0434\u0435\u0440\u0438\u043d\u0433\u0430 html \u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c dsl \u2014 <a href=\"https:\/\/github.com\/weavejester\/hiccup\">hiccup<\/a>, \u0448\u0430\u0431\u043b\u043e\u043d \u0441 \u043d\u0438\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u00ab\u043c\u0430\u0440\u0441\u0438\u0430\u043d\u0441\u043a\u0438\u043c\u00bb:  <\/p>\n<pre><code class=\"lisp\">(defn index-page []   (html5 [:head           [:title &quot;Subman - subtitle search service&quot;]          [:body           [:h1 &quot;Welcome to subman!&quot;]])) <\/code><\/pre>\n<p>  <\/p>\n<h5>\u0421\u0442\u0438\u043b\u0438<\/h5>\n<p>  \u0414\u043b\u044f \u0441\u0442\u0438\u043b\u0435\u0439 \u0432 clojure \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 dsl \u2014 <a href=\"https:\/\/github.com\/noprompt\/garden\">garden<\/a>. \u041a\u043e\u0434 \u0441 \u043d\u0438\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u043e\u0436\u0435 \u0441\u0442\u0440\u0430\u043d\u043d\u043e:  <\/p>\n<pre><code class=\"lisp\">(defstyles main   [:.search-input {:z-index 100                    :background-color &quot;#fff&quot;}]   [:.info-box {:text-align &quot;center&quot;                :font-size (px 18)}]   [:.search-result-holder {:padding-left 0                            :padding-right 0}]) <\/code><\/pre>\n<p>  <\/p>\n<h4>\u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c<\/h4>\n<p>  \u041a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u044f \u043f\u0438\u0441\u0430\u043b \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0430 clojure, \u0430 \u043d\u0430 clojurescript, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0438\u0442\u043e\u0433\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 javascript. \u041a\u0430\u043a \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b <a href=\"https:\/\/github.com\/holmsand\/reagent\">reagent<\/a> \u2014 \u0431\u0438\u043d\u0434\u0438\u043d\u0433 \u043a react.js \u0434\u043b\u044f clojure, \u043d\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e\u0449\u0438\u0439 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043d\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f (\u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f atom&#8217;\u0430\u043c) \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0439 hiccup-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 dsl \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432:  <\/p>\n<pre><code class=\"lisp\">(defn info-box   &quot;Show info box&quot;   [text]   [:div.container.col-xs-12.info-box    [:h2 text]]) <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0432\u0441\u0451 \u043e\u0447\u0435\u043d\u044c \u0434\u0430\u0436\u0435 \u0445\u043e\u0440\u043e\u0448\u043e, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 js-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u0434 \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f typeahead \u043a \u043f\u043e\u043b\u044e \u043f\u043e\u0438\u0441\u043a\u0430:  <\/p>\n<pre><code class=\"lisp\">(defn init-autocomplete   &quot;Initiale autocomplete&quot;   [query langs sources]   (let [input ($ &quot;#search-input&quot;)]     (.typeahead input                 (js-obj &quot;highlight&quot; true)                 (js-obj &quot;source&quot;                         (fn [query cb]                           (cb (apply array                                      (take const\/autocomplete-limit                                            (map #(js-obj &quot;value&quot; %)                                                 (get-completion query                                                                 @langs                                                                 @sources))))))))     (.on input &quot;typeahead:closed&quot; (fn []                                     (reset! query (.val input)))))) <\/code><\/pre>\n<p>  \u0418 \u0434\u0430\u0436\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 \u201c\u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e\u201d \u0444\u0430\u0439\u043b\u0430 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435 \u0442\u0430\u043a\u0438\u043c \u0443\u0436 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u2014 \u0432\u0441\u0435\u0433\u043e 290\u043a\u0431.<\/p>\n<p>  \u041a\u0430\u043a \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u043f\u043b\u044e\u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f clojure \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 clojurescript \u2014 \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u043a\u043e\u0434 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <a href=\"https:\/\/github.com\/lynaghk\/cljx\">cljx<\/a>.<\/p>\n<h4>\u0412\u044b\u0432\u043e\u0434\u044b<\/h4>\n<p>  \u0425\u043e\u0442\u044c clojure \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0431\u0435\u0437 <font color=\"red\">\u0437\u043d\u0430\u043d\u0438\u044f<\/font> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f html, css \u0438 javascript, \u043d\u043e \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d-\u043f\u0440\u043e\u0435\u043a\u0442\u044b \u044f \u0431\u044b \u0442\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u0440\u0435\u0448\u0438\u043b\u0441\u044f.<\/p>\n<p>  <a href=\"https:\/\/github.com\/nvbn\/subman\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430.<\/a><br \/>  <a href=\"http:\/\/subman.io\/\">\u0421\u0430\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.<\/a>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/222737\/\"> http:\/\/habrahabr.ru\/post\/222737\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1b1\/ade\/0cb\/1b1ade0cbebf09ac91c81921b0fe4728.png\"\/><\/p>\n<p>  \u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0441\u044f \u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u2014 clojure. \u041c\u043d\u0435 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0438\u0441\u044c \u043b\u0435\u043d\u0438\u0432\u044b\u0435 \u0438 \u0438\u043c\u043c\u0443\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438, stm, \u043c\u0430\u043a\u0440\u043e\u0441\u044b, <font color=\"red\">\u043e\u0431\u0438\u043b\u0438\u0435 \u0441\u043a\u043e\u0431\u043e\u0447\u0435\u043a<\/font> \u0438 dsl \u043d\u0430 \u0432\u0441\u0435 \u0441\u043b\u0443\u0447\u0430\u0438 \u0436\u0438\u0437\u043d\u0438.<br \/>  \u0418 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0442\u043e\u043b\u044c\u043a\u043e clojure.<\/p>\n<h4>\u041f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u0411\u044b\u043b\u043e \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0438\u0441\u043a\u0430\u043b\u043a\u0443 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f:  <\/p>\n<ul>\n<li>\u043a\u0430\u0436\u0434\u044b\u0435 5 \u043c\u0438\u043d\u0443\u0442 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044b \u043d\u0430 addicted, notabenoid \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043d\u044b\u0439 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b;<\/li>\n<li>\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432 \u0438 \u043c\u0435\u043d\u044f\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445;<\/li>\n<li>\u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 api \u0434\u043b\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 <a href=\"http:\/\/habrahabr.ru\/post\/204134\/\">\u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c<\/a>.<\/li>\n<\/ul>\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-222737","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/222737","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=222737"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/222737\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=222737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=222737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=222737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}