Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88945 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27303 invoked from network); 26 Oct 2015 14:34:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2015 14:34:30 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.180 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.214.180 mail-ob0-f180.google.com Received: from [209.85.214.180] ([209.85.214.180:35500] helo=mail-ob0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/93-02627-5F43E265 for ; Mon, 26 Oct 2015 09:13:10 -0500 Received: by obctp1 with SMTP id tp1so116072745obc.2 for ; Mon, 26 Oct 2015 07:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SXowFc4pVnDmke/E+Z27ev5sN/WYkKuxLSCqSi4qoCc=; b=M/iRleroNVZWupuBR2mT/xxYdUUa0BhIuprkSiAFhZmZ0RvQGpSIiGgmmIJL5ug60V bnmDtMru+4Ohwq2G1+ineWuhWVNwxV4/V9xMjyOWaxh+35MrIPDmhybYOQbAvcrL5xaM L1PRJkPawC9wHkB5/9MOKt9DaKqG+WJMk0RR7pY7CwNRBzphhnXBXDucJONuVQwDxS0K 7m3cRC5FUVdX0mJc7uqRNbn7VuYsJ2AptLcmnHAFVTPaixTy968ZDeShlrhNgemVtEHt eXPLTujV9vO48DFH1i635PON/1fm6ceouvbGnmojU0U4vO30uK2p0+UQ0VfanvV46toC FDNg== X-Received: by 10.182.153.226 with SMTP id vj2mr2683205obb.61.1445868787053; Mon, 26 Oct 2015 07:13:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.206.3 with HTTP; Mon, 26 Oct 2015 07:12:47 -0700 (PDT) In-Reply-To: References: <562E11CB.4000806@phpgangsta.de> Date: Mon, 26 Oct 2015 10:12:47 -0400 Message-ID: To: Joe Watkins Cc: Michael Kliewe , PHP internals Content-Type: multipart/alternative; boundary=089e013d0dc071ba180523028f14 Subject: Re: [PHP-DEV] Some words about the basic ideas of PHP From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --089e013d0dc071ba180523028f14 Content-Type: text/plain; charset=UTF-8 Finally someone understood precisely what PHP needs to evolve as a language for the next 35 years! #not On Mon, Oct 26, 2015 at 8:26 AM, Joe Watkins wrote: > 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 > > > -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --089e013d0dc071ba180523028f14--