Req #54123 [Com]: Built-in LINQ-style query support for objects
| From: | tomas dot madajevas at gmail dot com | Date: | Sun, 04 Aug 2013 07:51:09 +0000 |
| Subject: | Req #54123 [Com]: Built-in LINQ-style query support for objects | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180708@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
Comment by: tomas dot madajevas 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:
+1
Previous Comments:
------------------------------------------------------------------------
[2012-12-02 16:00:53] dave dot mulford at gmail dot com
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
------------------------------------------------------------------------
[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