Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88939 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8920 invoked from network); 26 Oct 2015 11:23:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2015 11:23:57 -0000 Authentication-Results: pb1.pair.com header.from=martin.keckeis1@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=martin.keckeis1@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.53 as permitted sender) X-PHP-List-Original-Sender: martin.keckeis1@gmail.com X-Host-Fingerprint: 209.85.215.53 mail-lf0-f53.google.com Received: from [209.85.215.53] ([209.85.215.53:35449] helo=mail-lf0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/E0-02627-A4D0E265 for ; Mon, 26 Oct 2015 06:23:55 -0500 Received: by lfbn126 with SMTP id n126so109109554lfb.2 for ; Mon, 26 Oct 2015 04:23:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=p/lKz+D4SwKNlYQGhsGFdLaE5lOOLly/Zy7ToOVpYwg=; b=B2B8gZ/XfhyafRA3Nx5x05grsJ+9IkGAcYAaGqoBje5dDexqlFeBuai8zxpqOM6qTN zIWzaCouZtTG4CNDhPcFNXOE+Il4K6ALWCr48soOLTMW32nbvNVV2YXuhbffNa/CLfgJ Qd1yenJ0iOpfvq7gbZ9dN0Q6/qni+JcsV9Qv0zroK3zN6YPPYlkvgS31B3kAv1VG0eoS 2K06YoPHY/f30PILen9Mhqf6AC56AdFnBwzkAEFMl2iy69hzlmVaqEu9I2f8pVH94G5L yPXEspEOaZzcDIDlZGnbvzz5AcuHZYgMr8RIfdaFgjqTQR9Z9Z8WEyw0r73sRDtALlce V4cA== MIME-Version: 1.0 X-Received: by 10.25.79.14 with SMTP id d14mr11078390lfb.40.1445858631996; Mon, 26 Oct 2015 04:23:51 -0700 (PDT) Received: by 10.25.24.39 with HTTP; Mon, 26 Oct 2015 04:23:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Oct 2015 12:23:51 +0100 Message-ID: To: Frank Meier Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1141ef5a27e1a30523003206 Subject: Re: [PHP-DEV] Some words about the basic ideas of PHP From: martin.keckeis1@gmail.com (Martin Keckeis) --001a1141ef5a27e1a30523003206 Content-Type: text/plain; charset=UTF-8 Hello Frank, 2015-10-26 11:09 GMT+01:00 Frank Meier : > Hi to all of you, > > first I want to apologize for may bad English, > > .. . . > > > 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. > > 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(). > > 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. > > This should include already the ajax handling and all the other actions > that are needed to get or view or write the data. > > It should also be included table locking and record locking, if needed. > > And special commands for reading multiple records for paginations. > And also for a easy way to edit a record in this paginations set (page, > count) and write this back to the MySQL database or whatever database is > used. > > .. . . > > You are so focused to make PHP better and better that you just forgot to > upgrade the basic commands. > > A programmer in the year 2015 should not need to fetch records and do this > with program code line by line. This was in the year 1982 the case > .. . . > > It reminds me on hotels which always renovate the lobby but never the rooms > for the guests. > > .. . . > > I am sorry to be so critical, but this was cooking me since long time. > > I am database programmer for international police organizations. > > Please keep my name confident. > > > > > > Frank Liebl, GER > > KTTL - Royal Thai Police > > Federal Police, Headquarters > > Bangkok 10330, Phatumwan > > T H A I L A N D > > Phone: +66 90 243 7837 > > Email: frankybkk@gmail.com > > Line: scoobeedo > > Facebook: scoobeedo cool > > Web: www.scoobeedo.com > > > It seems that you did not really invested much time before writing this. PHP is the basic language, from which ONLY ONE PART is database handling... There are many frameworks/libraries around which do those jobs well. https://packagist.org/search/?q=database https://packagist.org/search/?q=orm Best regards Martin --001a1141ef5a27e1a30523003206--