Req #54123 [Opn]: Built-in LINQ-style query support for objects
| From: | dave dot mulford at gmail dot com | Date: | Sun, 02 Dec 2012 16:00:53 +0000 |
| Subject: | Req #54123 [Opn]: Built-in LINQ-style query support for objects | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-175072@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54123&edit=1
ID: 54123
User updated by: dave dot mulford at gmail dot com
Reported by: dave dot mulford at gmail dot com
Summary: Built-in LINQ-style query support for objects
Status: Open
Type: Feature/Change Request
Package: *Database Functions
Operating System: Linux / Windows
PHP Version: 5.3.6RC1
Block user comment: N
Private report: N
New Comment:
I had forgotten all about this request. If you're interested in trying it out, I
have started a php LINQ project, called php-iq. Here is the github link for it:
https://github.com/mw007/php-iq
Previous Comments:
------------------------------------------------------------------------
[2012-12-02 14:25:28] id2639730 at gmail dot com
+1 for this feature. I would like to have the support custom LINQ provider like c# LinqToSql,
LinqToXML, etc...
------------------------------------------------------------------------
[2011-02-28 21:23:54] dave dot mulford at gmail dot com
Description:
------------
Having a php native LINQ-style of querying objects in PHP would make code more maintainable and
readable. As of now, developers must loop through an array of objects and perform manual filtering,
grouping, etc.
Here is a link to Microsoft's examples of using LINQ: http://msdn.microsoft.com/en-us/vcsharp/aa336746
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54123&edit=1