"value":"\n <p>Today I started to write a new class and was trying to decide what to name it and what pattern I wanted to follow.<\/p>\n\n<p>Option 1:<\/p>\n\n<pre><code class=\"php\">class StoreInformationDownloader {\n\n public function download() {\n \/\/ ...\n }\n}\n<\/code><\/pre>\n\n<p>Option 2:<\/p>\n\n<pre><code class=\"php\">class DownloadStoreInformation {\n\n public function execute() {\n \/\/ ...\n }\n}\n<\/code><\/pre>\n\n<p>Option 1 is a typical Service class.<\/p>\n\n<p>Option 2 follows the Command or Action pattern.<\/p>\n\n<p>Which would you choose?<\/p>\n\n ",
"format":"full_html",
"processed":"\n <p>Today I started to write a new class and was trying to decide what to name it and what pattern I wanted to follow.<\/p>\n\n<p>Option 1:<\/p>\n\n<pre><code class=\"php\">class StoreInformationDownloader {\n\n public function download() {\n \/\/ ...\n }\n}\n<\/code><\/pre>\n\n<p>Option 2:<\/p>\n\n<pre><code class=\"php\">class DownloadStoreInformation {\n\n public function execute() {\n \/\/ ...\n }\n}\n<\/code><\/pre>\n\n<p>Option 1 is a typical Service class.<\/p>\n\n<p>Option 2 follows the Command or Action pattern.<\/p>\n\n<p>Which would you choose?<\/p>\n\n ",