Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88943 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17105 invoked from network); 26 Oct 2015 12:26:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2015 12:26:41 -0000 Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.160.174 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.160.174 mail-yk0-f174.google.com Received: from [209.85.160.174] ([209.85.160.174:33195] helo=mail-yk0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/62-02627-FFB1E265 for ; Mon, 26 Oct 2015 07:26:39 -0500 Received: by yknn9 with SMTP id n9so181056423ykn.0 for ; Mon, 26 Oct 2015 05:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads_org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FM6bmwj3C3Q16en5KFHtezDFAV7r9SKoHAl+HkcOZCw=; b=qlgAW6ypaDvDmO6Br24z81NefJkPmTti16JQ0GA9J/Qi15VgAOMqFSLBQ1iRm0OK/z ElbQixk2Ye3okCeonXr7RrnZ+XOCMoUS2Lnhmeeiv4h6E9BtMh4C2KjhZeL9WUJ1c4DI qJ77OzaTRUNp6LcFSiJ0N+cpdrpfsjW+aYAQsrveRKEtMVgkIxT97iJ8Vt1ly0W+xZl7 i5fsyTOdKdiA7yrG3VQHh72jClt4AwIUTLNuRCrJLxLjrEucn74fPvL5o35/n2YDlVYO tRmwtA6V0fDJVRxCLfTsBbGBnKQ+10UiL7pLGdsqNUh2aNSnjrkj136h9KfMmM74b006 tkuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=FM6bmwj3C3Q16en5KFHtezDFAV7r9SKoHAl+HkcOZCw=; b=PmRB+BZOPzhaw9Y8LutoDakvip9x2L4+cY8ZDCCUW+oN89LfYWp8dKHY9HSqk+DE5J ty+kukTnR4osJ+lV7LliXc+/gVDpxC9t14NNWj+y4GQXSwAGLYt7bmnyOpvZSVdx2brN m58c9fPbQRwWsKQuOfpiQyE9yd3JTOeH3dw8XNJgRGCuInoXRQl/Vx36ZFISjdGalnSh opgoLbg0gx7ucTgP5ndR0Tu2XpC69LKOlXjmU7Jt1MTgDmu44oXDoetPCBSfIbXarVq9 aaClaiPRQZKAuEo68ZV8Xq0b1YzY9tw79bZCTXQaJOFMEBZQEP8ylCaWjE4Y6zPNukBD Tdng== X-Gm-Message-State: ALoCoQlUOEH7dfVW0Lhlv0fkswZjEBmV5iBd14SJIf7dQxcJbIC6oLDATOmUaePq4NSXUswSkEZZ MIME-Version: 1.0 X-Received: by 10.129.2.2 with SMTP id 2mr18868141ywc.4.1445862395993; Mon, 26 Oct 2015 05:26:35 -0700 (PDT) Received: by 10.13.226.85 with HTTP; Mon, 26 Oct 2015 05:26:35 -0700 (PDT) X-Originating-IP: [109.151.241.173] In-Reply-To: <562E11CB.4000806@phpgangsta.de> References: <562E11CB.4000806@phpgangsta.de> Date: Mon, 26 Oct 2015 12:26:35 +0000 Message-ID: To: Michael Kliewe Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1140cd7e82178a052301121e Subject: Re: [PHP-DEV] Some words about the basic ideas of PHP From: pthreads@pthreads.org (Joe Watkins) --001a1140cd7e82178a052301121e Content-Type: text/plain; charset=UTF-8 This brightened up my Monday morning. Cheers Joe On Mon, Oct 26, 2015 at 11:43 AM, Michael Kliewe wrote: > Hi Frank, > > On 26.10.2015 11:09, Frank Meier wrote: > > Hi to all of you, > > > > first I want to apologize for may bad English, > > > No problem, it's good enough to understand you. > > I write because I feel that that the way how you see your own product PHP > > is totally wrong. I do not mean with it that the construction of the > > language is wrong. > > > > Your basic aproach is wrong. > > > > PHP is a server side programming language. That means that the most work > > what PHP have to do is to be the boss of the data servers and handle the > > data. > > > > Create database or tables or records, edit, delete and read and write > > them. > Which database do you mean? MySQL, MSSQL, CouchDB, Redis.... > > And where is your fantastic programming language so incredible lousy that > > me, I am since 35 years a database programmer, just shake my head??? > > > > Exact in this operations!!! > > > > I know that it is for free and I can not tell you how much I value your > > work on it, but all of you, WAKE UP!!!! > > > > You sent the handling of records from modern handling via recordsets back > > to computer stone age. It is a torture to use PHP without tools (and > they > > are lousy too) for database operations. > > > > > > I can give you a example: > > > > It is in PHP a lot of work to just read the next record in a table. > > > > With ADO is it just nextrecord(). > With PDO it's > $result = $sth->fetch(); > > http://php.net/manual/de/pdostatement.fetch.php > > I don't see that much of a difference... And PDO is built-in. > > The PHP way is a insult to the modern world of programming. > > > > Maybe you should consider to write internal functions for the record > > handling which do take all the sql waste of time away from the > programmer > > and create just short command words that the developer can use them. > > > > This would be a "small step for you but a huge leap for mankind!". > > > > And you would finally win the race in the language battle. > > > > I am sorry that I write it so harsh, but PHP is for me the definition of > > server data handling and exact there you fail in a big way. > > > > All the programmers around the world reinvent every time the wheel new? > > > > Have this really to be? > > > > In my opinion should exist commands like: > > recordnew(table) > > recordread(id, table) > > recordwrite(id, table) > > recorddelete(id, table) > > recordprev(currentrecord, table) > > recordnext(currentrecord, table) > > > > This is the minimum what I expect from a program language in the year > 2015. > Maybe you should have a look at PDO: > http://php.net/manual/de/book.pdo.php > > Or other database abstraction layers out there, there are plenty. Search > at packagist.org for example. > Just to name a few that I heard of, but don't use myself: Doctrine, > Propel, RedBeanPHP > > I am database programmer for international police organizations. > > > > Please keep my name confident. > > > You are writing to a public mailing list, what do you expect? > > Michael > --001a1140cd7e82178a052301121e--