{"id":21994,"date":"2014-06-16T10:56:29","date_gmt":"2014-06-16T08:56:29","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=21994"},"modified":"2014-06-16T10:56:29","modified_gmt":"2014-06-16T08:56:29","slug":"cakephp-event-system","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2014\/06\/16\/cakephp-event-system\/","title":{"rendered":"CakePHP Event System"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Either I missed it entirely, or knew about it and completely forgot, but &#8230; CakePHP has an <a href=\"http:\/\/book.cakephp.org\/2.0\/en\/core-libraries\/events.html\">event handling system<\/a>, complete with events, listeners, priorities and event data support. \u00a0Awesomeness!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Either I missed it entirely, or knew about it and completely forgot, but &#8230; CakePHP has an event handling system, complete with events, listeners, priorities and event data support. \u00a0Awesomeness!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","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":"","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":[3069,1537,38],"keyring_services":[],"class_list":["post-21994","post","type-post","status-publish","format-link","hentry","category-general","category-programming","category-technology","category-web-work","tag-best-practices","tag-cakephp","tag-php","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":22392,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/08\/15\/compatibility-breaks-in-cakephp-3-0\/","url_meta":{"origin":21994,"position":0},"title":"Compatibility Breaks in CakePHP 3.0","author":"Leonid Mamchenkov","date":"August 15, 2014","format":"link","excerpt":"Mark Story goes over a few reasons of why CakePHP 3.0 breaks compatibility in this blog post. \u00a0 If you are working with CakePHP or involved in any large system that lives forever, you should read those in detail. \u00a0Otherwise, here is an overview: PHP has changed Ideas that didn't\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":27851,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/08\/15\/cakephp-events-system\/","url_meta":{"origin":21994,"position":1},"title":"CakePHP Events System","author":"Leonid Mamchenkov","date":"August 15, 2017","format":false,"excerpt":"Events are a great way to separate the business logic of your application and make things simpler and, often, faster. \u00a0CakePHP framework introduced an events system in version 2.1, and since then it got much better. \u00a0The official documentation covers current implementation pretty well. \u00a0But in this post I wanted\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":24952,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/11\/10\/cakephp-3-cheatsheet\/","url_meta":{"origin":21994,"position":2},"title":"CakePHP 3 Cheatsheet","author":"Leonid Mamchenkov","date":"November 10, 2015","format":false,"excerpt":"CakePHP 3 Cheatsheet - a handy collection of code snippets for anyone new to CakePHP 3 framework and all the changes that went into this version.","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":42852,"url":"https:\/\/mamchenkov.net\/wordpress\/2019\/07\/19\/enjoying-some-cakephp\/","url_meta":{"origin":21994,"position":3},"title":"Enjoying some CakePHP","author":"Leonid Mamchenkov","date":"July 19, 2019","format":"image","excerpt":"Enjoying some CakePHP","rel":"","context":"In &quot;Instagram&quot;","block_context":{"text":"Instagram","link":"https:\/\/mamchenkov.net\/wordpress\/category\/photography\/instagram\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/enjoying-some-cakephp.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/enjoying-some-cakephp.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/enjoying-some-cakephp.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/enjoying-some-cakephp.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2019\/07\/enjoying-some-cakephp.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":27717,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/06\/22\/phinx-joins-cakephp\/","url_meta":{"origin":21994,"position":4},"title":"Phinx joins CakePHP!","author":"Leonid Mamchenkov","date":"June 22, 2017","format":false,"excerpt":"These are some really good news - Phinx joins CakePHP family! \u00a0If you are from a different technology stack and not familiar with these, Phinx is an excellent database migrations tool, which has been used by CakePHP framework for a while now. \u00a0The two worked great together. \u00a0Now that they\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":22485,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/04\/20\/cakefest-2014-a-look-back\/","url_meta":{"origin":21994,"position":5},"title":"CakeFest 2014 : a look back","author":"Leonid Mamchenkov","date":"April 20, 2015","format":false,"excerpt":"Disclaimer: \u00a0I've written this post a few days after I came back from CakeFest 2014. \u00a0Unfortunately, it is unfinished, and by now I have completely lost hope of ever finishing it. \u00a0My main excuse is that the first day after CakeFest was my first working day at my new job,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"CakeFest2014","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/09\/CakeFest2014-500x500.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21994","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=21994"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/21994\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=21994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=21994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=21994"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=21994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}