Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72548 invoked from network); 30 Aug 2013 17:41:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 17:41:09 -0000 Authentication-Results: pb1.pair.com header.from=sommertm@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=sommertm@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.42 as permitted sender) X-PHP-List-Original-Sender: sommertm@gmail.com X-Host-Fingerprint: 209.85.160.42 mail-pb0-f42.google.com Received: from [209.85.160.42] ([209.85.160.42:55588] helo=mail-pb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1A/98-32511-439D0225 for ; Fri, 30 Aug 2013 13:41:08 -0400 Received: by mail-pb0-f42.google.com with SMTP id un15so2173762pbc.1 for ; Fri, 30 Aug 2013 10:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=92HND2onlxOwvaFrPWngWdyCYU/tqpXYbW3oIVzslt0=; b=lGVF2Ewd4eDSBdue55uaYb2r/nSZy+CHxwx03/VNtNw2ydQbePrvTDOe6zVHMPm3O2 4qhr4ooOvlAyBYi0x6+BBIkCkHnsQVXmdHGIsdL2O2OdhtAdxxrL/tT3V9w+y+SBA/tb nOHAm2Z4wPHbeh863yTrRWva3nZB35/s/Br0JFIyVayLM1fRpc/1wDxqBapBrHNzl7WH w4PhF3KY0OJJhood4CWwpwqnLRfhqJy7uUJ7BbW7b8Cwn0QaUVOd8j9fyzUXwAagSjsP JKSUiJJiX6AkRxrCZbgXcmHz4a023410QLvuIesiTZvajzySaRT0dgfd41YfoGkkVAHv Oo2w== X-Received: by 10.66.255.10 with SMTP id am10mr12076059pad.165.1377884465689; Fri, 30 Aug 2013 10:41:05 -0700 (PDT) Received: from [192.168.1.102] (ip72-197-25-191.sd.sd.cox.net. [72.197.25.191]) by mx.google.com with ESMTPSA id wp8sm45708564pbc.26.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 Aug 2013 10:41:04 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_5BFB0720-8359-4C17-B5FA-4B2CDAF44BD6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) In-Reply-To: <5220D56E.40205@sugarcrm.com> Date: Fri, 30 Aug 2013 10:41:02 -0700 Cc: Anthony Ferrara , "internals@lists.php.net" Message-ID: <4D1B4906-8976-488F-85E5-0FFFCA329BDC@gmail.com> References: <5220262A.6040702@sugarcrm.com> <5220D56E.40205@sugarcrm.com> To: Stas Malyshev X-Mailer: Apple Mail (2.1508) Subject: Re: [PHP-DEV] [DRAFT] [RFC] Function autoloading From: sommertm@gmail.com (Tyler Sommer) --Apple-Mail=_5BFB0720-8359-4C17-B5FA-4B2CDAF44BD6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Aug 30, 2013, at 10:25 AM, Stas Malyshev = wrote: >=20 >> Furthermore, I think that's up to the community to decide how to do. >> They mostly settled on a 1-class-to-1-file rule (which was not the = case >> prior to __autoload/spl_autoload). I am fully confident that they = will >> find a way that makes sense, if given the ability. >=20 > This sounds like a solution in search of a problem. I don't think we > should create solutions for problems that do not exist and then tell > people "now go find some problem that may fit this neat code that I've > added to the engine". We should first identify the need and only then > mess with the engine, not the other way around. >=20 The problem exists: us users need a way to better organize our = procedural codebases than manually managing a million require = statements. You guys have now given us importing of functions, which is = a great step forward. But we still need a way to intelligently load = them. --Apple-Mail=_5BFB0720-8359-4C17-B5FA-4B2CDAF44BD6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJSINkuAAoJEG8VSaMp1Q7OCPQH/RP6rkabR+/GFZP9CN4LkphT RUXQY4IQG6Wv+nmfwvqJJLInsKYFZmF29f9/XnGjmaFcx55R/A90BQiJ+hPVkvSm K6NDdKbjcWe/b7Vt7JwtvdIOQWJLJfljqEW9yoCZL2aB9lXTJtGLmCz4FACm7Mz6 ArVRd4oV/OLqLAs4SkL+YAzV3EzcC8i2RLRXhmF2xeSr1W+Tyhc/k29ZdbW0V5gf 5OC2HVSI1LfiPJUhZOyDhw2evO4tO7L99waVv1mUvz5s7LNjZOXEqEYYtwblZFfy T0scmxpLQKxYNphLwIUzAvJMtjPDTswcEklUNOuH4slswbNJkZmjkJk6Tuu+Ryw= =yiUo -----END PGP SIGNATURE----- --Apple-Mail=_5BFB0720-8359-4C17-B5FA-4B2CDAF44BD6--