Write .NET Applications in PHP

June 16th, 2008 by nick

PHP in VS 2008That’s right, you heard me! It’s all thanks to a fantastic project called Phalanger, which adds a super-fast execution environment for a very large portion of the PHP scripting language. Certainly this was only a matter of time, combining one of the most popular open-source languages of the web with one of the most powerful enterprise-grade frameworks.

One of the coolest things about Phalanger is the way it allows you to decide how to implement PHP syntax. There is almost no barrier to entry, as it is designed to implement PHP the same way it is handled natively, but also allows you to use PHP syntax in an ASP.NET application just as though PHP was simply another option among VB.NET and C#.

I’ll admit I have yet to take a crack at it, but having worked with both .NET and LAMP technologies I can’t help but imagine the possiblities. SiteCrafting in particular could benefit from this tremendously, allowing our PHP devs to easily port PHP-based solutions into some of our existing .NET projects. It also means essentially all of our developers could make contributions to a .NET project if the need arose.

I should warn Phalanger is still in it’s beta phase, and has not yet fully implemented the entire PHP language and common libraries. Though it may not be enterprise-ready yet, I see good things ahead.

Link: Phalanger
Link: Tutorials

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.