Can I use CSLA.NET Objects in PHP

Can I use CSLA.NET Objects in PHP

Old forum URL: forums.lhotka.net/forums/t/5603.aspx


HamidYaqoob posted on Thursday, October 16, 2008

I am developing a web protal for my final year project and for that I want to use my Objects developed in C# using CSLA Framework.
I want to know that can I use my objects with PHP and can PHP support that.


ajj3085 replied on Thursday, October 16, 2008

Well, PHP can use .Net assemblies:
http://www.devarticles.com/c/a/PHP/Using-the-.NET-Assembly-in-PHP/

Not sure any has done so though.. but let us know how it goes.

My only concern would be the Csla code that looks at System.Web.HttpContext.Current... I'm not sure how that would react.

dlambert replied on Thursday, October 16, 2008

Depending on which environment you want to be "native", there's also a .Net project called Phalanger that'll run PHP code in .Net.  I played with it a bit, and it does work, but it's not a super-active project, so you might not get a ton of community support.

Copyright (c) Marimer LLC