Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Maarten Balliauw's Blog:
PHPLinq 0.4.0 released on CodePlex!
Jan 29, 2009 @ 17:04:29

According to this new post from Maarten Balliauw, the latest version of the PHPLinq tool has been released - version 0.4.0.

PHPLinq is a class library for PHP, based on the idea of Microsoft’s LINQ technology. LINQ is short for language integrated query, a component in the .NET framework which enables you to perform queries on a variety of data sources like arrays, XML, SQL server, ... These queries are defined using a syntax which is very similar to SQL.

Some illustrations are included - querying an array, performing a database query and finding data in an XML file. You can find out more about the tool and download this latest version from the project homepage.

tagged: codeplex phplinq query data source xml database array codeplex

Link:

Mike Borozdin's Blog:
Is PHPLinq As Cool As Real LINQ?
Jul 08, 2008 @ 16:14:28

In a recent blog entry Mike Borozdin takes a look at a version of a data query language implemented in PHP, LINQ, as PHPLinq.

I read about the PHP Implementation of LINQ called PHPLinq. Frankly, I was skeptical about it. Finally, I gave it a try. I still remain skeptical...Let me explain why

He includes an example of a query on an array and how it's "less correct" than a more true to form LINQ implementation. Despite reservations though, he still feels that this implementation of LINQ for PHP has some "cool features" in its own right and it worth checking out.

tagged: linq phplinq test language integrated query

Link:

Maarten Balliauw's Blog:
LINQ for PHP (Language Integrated Query for PHP)
Jan 24, 2008 @ 14:45:00

Maarten Balliauw has posted about an interesting new development he's made and is sharing with the PHP community - PHPLinq (Language Integrated Query).

Perhaps you have already heard of C# 3.5's "LINQ" component. LINQ, or Language Integrated Query, is a component inside the .NET framework which enables you to perform queries on a variety of data sources like arrays, XML, SQL server, ... These queries are defined using a syntax which is very similar to SQL. [...] I thought of creating a similar concept for PHP. So here's the result of a few days coding.

The library is available for download and some examples are included to show it in action (both in a simple example and in a more complex search on a series of objects).

tagged: linq array object search query language phplinq library

Link:


Trending Topics: