Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.php Subject: Re: PHP boilerplate to appear at the top of any program Date: Mon, 21 Dec 2015 23:24:23 +0100 Organization: PointedEars Software (PES) Lines: 40 Message-ID: <4625100.rdbKtHyMP0@PointedEars.de> References: <2838299.zdqeYZrqYU@PointedEars.de> <1473248.ziGLShfuNh@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1450736665 21380 eJwFwYEBwCAIA7CXQNoyz0HQ/09YwpCrE6LAx5eIjsrhCp0c8AI1l5b70zEsL9ttNbFcSf0NOhA4 (21 Dec 2015 22:24:25 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 21 Dec 2015 22:24:25 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwQkBACAIBLBKInBIHN7+EdyUQSgTKERXF+nP/SrdOhPvLtvB9KsUa/a5dJQMGYzGThaGESFMRG3jHz/fFTg= Cancel-Lock: sha1:uBP312gWPwj++mgPhrc1jQG2T+I= X-NNTP-Posting-Host: eJwNycERACAIA7CV8KBF1qHK/iPoMxc4F5VBMDAYj9qTXuXpcahuaXfYHZ6SVXcuwP58jukBGAMRdQ== Xref: csiph.com comp.lang.php:15939 Jerry Stuckle wrote: > On 12/21/2015 9:30 AM, Thomas 'PointedEars' Lahn wrote: >> Jerry Stuckle wrote: > > [ad-hominem fallacy] > >>>>> Use of ob_start before the code generates 'normal' output so that the >>>>> program can present custom error information if something goes wrong. >>>> Again, that is something better enabled for the whole site (in >>>> index.php, which should trigger almost everything else) or something >>>> enabled for a specific part of the code for a specific purpose. >>> >>> Only someone who uses a CMS triggers everything from index.php. >>> Programmers developing a site from scratch know there are better ways of >>> doing things. >> >> You have no clue what you are talking about. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> In order to disprove your hastily generalized statement I need only one >> counter-example: >> >> > > Which is a cms. I rest my case. Q.E.D. First and foremost, Magento is an *e-commerce platform*; one uses it to build *Web shops*. It includes by default a CMS *extension* for easily editing certain parts of the Web shop (such as “About”), but using that feature is in no wise a requirement nor has it anything to do with the controller-based routing that the Magento Framework does in *any* case (even when no “CMS pages” are involved). > [ad-hominem fallacy] -- PointedEars Zend Certified PHP Engineer Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.