{"id":27658,"date":"2017-05-30T11:24:37","date_gmt":"2017-05-30T09:24:37","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=27658"},"modified":"2017-05-30T11:24:37","modified_gmt":"2017-05-30T09:24:37","slug":"mocka-simple-and-elegant-content-placeholder","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/30\/mocka-simple-and-elegant-content-placeholder\/","title":{"rendered":"Mocka &#8211; simple and elegant content placeholder"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"27659\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2017\/05\/30\/mocka-simple-and-elegant-content-placeholder\/mocka\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka.png?fit=673%2C286&amp;ssl=1\" data-orig-size=\"673,286\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"mocka\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka.png?fit=660%2C280&amp;ssl=1\" class=\"aligncenter size-medium wp-image-27659\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka-500x212.png?resize=500%2C212&#038;ssl=1\" alt=\"\" width=\"500\" height=\"212\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka.png?resize=500%2C212&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/05\/mocka.png?w=673&amp;ssl=1 673w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/chalarangelo.github.io\/mocka\/\">Mocka<\/a> &#8211; simple and elegant content placeholder. \u00a0Available as a Node.js package.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Mocka &#8211; simple and elegant content placeholder. \u00a0Available as a Node.js package.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Mocka - simple and elegant content placeholder #WebDev #JavaScript #NodeJS","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,18,62,1334],"tags":[1139,3209,1157,1330],"keyring_services":[],"class_list":["post-27658","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","category-web-work","tag-javascript","tag-nodejs","tag-web-design","tag-web-development"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28653,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/06\/30\/php-jsonq-a-simple-elegant-php-package-to-query-over-any-type-of-json-data\/","url_meta":{"origin":27658,"position":0},"title":"php-jsonq &#8211; a simple, elegant PHP package to query over any type of JSON data","author":"Leonid Mamchenkov","date":"June 30, 2018","format":false,"excerpt":"php-jsonq provides an easy, yet powerful way to build queries for any JSON data (or PHP data structures for that matter, which are a step away).\u00a0 This has a variety of useful applications - data migration, API response filtering, complex configurations manipulation, and so on, and so forth.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20040,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/01\/29\/quick-server-update\/","url_meta":{"origin":27658,"position":1},"title":"Quick server update","author":"Leonid Mamchenkov","date":"January 29, 2014","format":false,"excerpt":"And here is the moment we've all been waiting for ... every single site on this server is now served by Nginx. \u00a0Of course, there is Apache behind for now to smooth out the migration, but The World Domination is right around the corner. P.S.: Placeholder websites are served by\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27091,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/12\/09\/minor-release-philosophy\/","url_meta":{"origin":27658,"position":2},"title":"Minor release philosophy","author":"Leonid Mamchenkov","date":"December 9, 2016","format":false,"excerpt":"This bit from the WordPress Dev Chat Summary made me smile today: Minor releases will continue to follow the philosophy of trying to fix more bugs than we create. Simple, elegant and effective...","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18850,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/11\/24\/echo-lazy-loading-html5-images-with-data-attributes-via-javascript\/","url_meta":{"origin":27658,"position":3},"title":"Echo &#8211; lazy-loading HTML5 images with data-* attributes via JavaScript","author":"Leonid Mamchenkov","date":"November 24, 2013","format":false,"excerpt":"Echo\u00a0 is quite handy for web developers. \u00a0On those pages that feature a lot of images, things can get slow and the server might get too much of an abuse (with more traffic thrown at it). \u00a0One way to work around this is to only load those images that are\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":25197,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/02\/23\/github-issue-and-pull-request-templates\/","url_meta":{"origin":27658,"position":4},"title":"GitHub : Issue and Pull Request templates","author":"Leonid Mamchenkov","date":"February 23, 2016","format":false,"excerpt":"GitHub is working hard on extending the functionality of their web service. \u00a0They've released a much needed feature recently - templates for new issues and pull requests. I like the elegant implementation - they basically just grab the ISSUE_TEMPLATE.md\u00a0and PULL_REQUEST_TEMPLATE.md files from the root of your project and stick them\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"templates","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2016\/02\/templates-500x303.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21723,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/04\/29\/using-composer-with-wordpress\/","url_meta":{"origin":27658,"position":5},"title":"Using Composer with WordPress","author":"Leonid Mamchenkov","date":"April 29, 2014","format":"link","excerpt":"Using Composer with WordPress - at first this sounds a bit hacky, but the result is rather elegant.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=27658"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/27658\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=27658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=27658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=27658"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=27658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}