Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88940 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10510 invoked from network); 26 Oct 2015 11:30:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Oct 2015 11:30:27 -0000 Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 209.85.212.173 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:33858] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/31-02627-2DE0E265 for ; Mon, 26 Oct 2015 06:30:27 -0500 Received: by wikq8 with SMTP id q8so159955732wik.1 for ; Mon, 26 Oct 2015 04:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei_de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=urzL2HcAaAUoP6ly9Le8Y5N2/nNQ0pyg49WRAHWS6iY=; b=nZWzQHFAx5+gQIkkIJv9tT4hXLKvVgQ1sXJ2OyD7yXMo1x2ZkrFQktUq0E8ufDixxn 8FgSbD1cEd2nmBLJtZ746vUo6lNoaScYTPDOv6LhLIpVoG5axi3fb8CeyarWGDQUh3KH 338WJWWdJXdL9L/RvXPUuoNtPzx2a9neoz3LVOkDrRH45pYoDh2S2Thl5sGevbnu1VFH IbTXYireIGWs/ROqpd6V3N9p3hZo/AuckF1boz5B2HGsTFxt+RoK5N0mMDtod++pGONW PfMRVy8TP34V81O99XN9cdjJjbJ01sjEd1GKRsXhTUcpdRIcKcKtReSzf7/I/wghBFqv RdsA== 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=urzL2HcAaAUoP6ly9Le8Y5N2/nNQ0pyg49WRAHWS6iY=; b=DhRbaSqVoHHeK87ZisgILD/gTKBmtTOmqUkXevCZeW4bHKmagcOI7kH/J3BjrWU5sx TlAWVCtcSiH/R/P9YG1itj9k16um0rCFAsVnBAvot8+tdF/iuGXGUuyFBT9fOOjwIsxz mYYmwPvxiS/KJAS0F6h3DP0nBCVnXZ91ysgTrVCATGfMFYtWT8ON4tapdj8AglZ3iyK/ kdMyDon5vrhrkHXyhB97/h80IEy+N76NBPj7qW8CgqGGxcfsIl5+SL0NrAaRHP+PvpD5 A9AbmK05bjGMzg06UjOIWfDKaZj0P+fauXAR9DAc1Y5imtDzCQL0Zreg3S8aNJo/DL69 NdOg== X-Gm-Message-State: ALoCoQnHJ6Gs6DlGexLSiR0e4tiAuAYqpqwm+K3zXAkbaH86SyjOYqUE+FBAfNXj0CykTS646aP6 MIME-Version: 1.0 X-Received: by 10.194.116.167 with SMTP id jx7mr7729860wjb.4.1445859023658; Mon, 26 Oct 2015 04:30:23 -0700 (PDT) Received: by 10.194.120.72 with HTTP; Mon, 26 Oct 2015 04:30:23 -0700 (PDT) X-Originating-IP: [93.129.150.212] In-Reply-To: References: Date: Mon, 26 Oct 2015 12:30:23 +0100 Message-ID: To: Frank Meier Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a1130d100803822052300496c Subject: Re: [PHP-DEV] Some words about the basic ideas of PHP From: kontakt@beberlei.de (Benjamin Eberlei) --001a1130d100803822052300496c Content-Type: text/plain; charset=UTF-8 On Mon, Oct 26, 2015 at 11:09 AM, Frank Meier wrote: > 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 post is 0% constructive, but i have to reply nevertheless. PHP is a programming language, ADO.NET is a framework on top of C#/VB. If you would use a *library* with PHP, such as Doctrine DBAL (which i have helped build), then you have most of these functions. Please go over to https://packagist.org and look at all the libraries you can use before complaining about missing functionality in PHP. > > 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. > Again, use a framework instead of raw PHP. > > .. . . > > 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. > FYI, This is a public mailing list, this e-mail is now publicly available over the whole internet because of all the mirrors. > > > > > > 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 > > > --001a1130d100803822052300496c--