Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112039 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 29438 invoked from network); 12 Oct 2020 15:15:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Oct 2020 15:15:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8B7541801FD for ; Mon, 12 Oct 2020 07:30:31 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 12 Oct 2020 07:30:30 -0700 (PDT) Received: by mail-il1-f176.google.com with SMTP id b2so16150847ilr.1 for ; Mon, 12 Oct 2020 07:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HyPigFyTb/I7RRGsFVHvvO3fWmWY6a7PtW+pVjMRq90=; b=vbGGV5Sz78zro1RFGtltFKrQ3ljsdZUxdSHEHfV1NXojRmDoxUc8hFX2brzqRJtiHA C89UZk7Zi/wXKaqACxnxzb2ADbzROimZ4/pTd3Jjipeyy0Y2oCKsS0Gu6rUS6QbywGBo fo2Em4jkGheMAieD/YBgxeJqmicYdopr9Awqi2JLWt9QC7Ihkwznge3MFhtPLkZG3leQ Sdkf5F9EvSWbupyNgIxLlJK8q1OkFn/VgWLhRh51Jfu2PS0xzaGhB/TcktU1IYWUVwFe LAHnq5LFbZ3cmnqxNn6itHMoh0+m0CMN20X9U7y25oDnbCqj8BDzi441Z0jRzoOr+8HU r4vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HyPigFyTb/I7RRGsFVHvvO3fWmWY6a7PtW+pVjMRq90=; b=UQNQoUOEGutI8cj+zYsX6nLObogukZgE2tqWo4n0x/2infDIYp9jmXmY+5EnYw+Ggs IjPNKKf/+ULuX6gqfAArIjO8WFIfndAVCRppZbSy/sN/ljIZQD4zxW4A0HYyuwlMe4GW COjIFOfToVS/YQD3HcPpI9KjOc2jJMbl5vLI9JTIS7dUOrzGeVujQxhpE8/puIvMYLZU 4uzDlexM8kMUmcK1bcPwFyonum83e3CQLLAAtb5MY7ATTEk1oM53va7ntVBkuB1LjbgK erR3ZgRn8RO7cNrc2BFHyF2jyiDCff5bAYFt0D9I6Bzacvqwj7dgX6DVVWve2AULw1ru XE3g== X-Gm-Message-State: AOAM531mEtby3DetlM+WIt70GvJOQhRQi35957NLfhqTeybm0BfRcWgH +d0EfKiaSNiL1CBwWFq/4JkSSN5XEWhBodovUEFgZv+D X-Google-Smtp-Source: ABdhPJwbM8+sRFqVWxjByqv7XTOcNLtLX39RoBQq7icDTHLldLIpdisxnO8uTK5R0NmVpWwUI1uzBunpGE9PceQoNbs= X-Received: by 2002:a92:dd0f:: with SMTP id n15mr20088356ilm.227.1602513029273; Mon, 12 Oct 2020 07:30:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 12 Oct 2020 15:30:17 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000db9c2c05b17a2364" Subject: Re: [PHP-DEV] Re: want an Object-oriented interface for HashContext From: rowan.collins@gmail.com (Rowan Tommins) --000000000000db9c2c05b17a2364 Content-Type: text/plain; charset="UTF-8" On Mon, 12 Oct 2020 at 15:20, G. P. B. wrote: > Therefore I am not sure what composer and a userland package can bring... > As an example of this general approach, the MongoDB extension provides a minimal set of low-level "driver" functionality, and the official userland package builds on top of these to create a richer set of APIs. That means the majority of development takes place in the userland library, making it easier to maintain, easier for users to keep up to date, and so on. That's not always the appropriate approach, though - some built-in functionality is useful precisely because it's "batteries included", like the password_* functions. I'm not that familiar with the hash functions, so can't really comment whether I would expect them to be usable "out of the box" or just as primitives for a higher-level wrapper. Regards, -- Rowan Tommins [IMSoP] --000000000000db9c2c05b17a2364--