Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: PHP boilerplate to appear at the top of any program Date: Wed, 30 Dec 2015 18:57:47 +0100 Lines: 41 Message-ID: <56841B1B.4080104@arnowelzel.de> References: <2838299.zdqeYZrqYU@PointedEars.de> <1473248.ziGLShfuNh@PointedEars.de> <5131195.4d26jNU0Ms@PointedEars.de> <1535700.EMr0ZOzjxF@PointedEars.de> <6olgy.31399$b8.17906@fx29.iad> <5683B141.5080909@arnowelzel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: individual.net JntO9vhQAN74svlS4nPioAu5O3yrEN8HbIcaVEGkWI4ogdEEoi Cancel-Lock: sha1:tEbr0IMQuVRG3vmDgGv0Vjo2emM= In-Reply-To: Xref: csiph.com comp.lang.php:16012 Jerry Stuckle schrieb am 2015-12-30 um 18:33: > On 12/30/2015 5:26 AM, the well known troll Arno Welzel wrote: >> Jerry Stuckle schrieb am 2015-12-29 um 02:48: >> >>> On 12/28/2015 8:31 PM, Richard Damon wrote: >> [...] >>>> Have made extensive use of Joomla and Drupal, I can say that having code >>>> IN the database is the exception, not the rule. 99% of your code is in >>>> normal php files in the modules used to build the site. They allow, but >>>> discourage the ability to place snippets in the database to allow >>>> building more complicated conditions/'rules' for behavior, but this >>>> comes with major warnings that if you allow this to be done, you have >>>> opened a major security hole in your site. >>>> >>> >>> I also have had to pick up maintenance of Drupal, Joomla and WordPress >>> sites other programmers have screwed up. I am *quite* familiar with the >>> structure. >>> >>> Yes, most of the code is in modules and other files WRITTEN BY OTHER >>> PEOPLE. But the majority of code YOU WRITE goes in the database. Very >> >> No - it doesn't. Don't mix up crap written by third parties with the >> core or Drupal, Joomla or WordPress. >> > > The troll once again proves he knows nothing about which he speaks. Just to convince the readers here that *you* know what you talk about: show the code in WordPress where WordPress itself puts *code* into its database. And by "WordPress itself" I mean the core of WordPress: -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de http://fahrradzukunft.de