Results 1 to 9 of 9
Thread: Microsoft Php dot NET
Feb 28, 2009, 10:29 #1
Microsoft Php dot NET
I am wondering what would be there in php.NET included in Microsoft Visual Studio. Would it have the features of .NET like namespace, datagrid etc. ?
Feb 28, 2009, 10:43 #2
- Join Date
- May 2006
- Lancaster University, UK
- 2 Post(s)
- 0 Thread(s)
.Net is simply a framework, so it'd be getting everything you'd be used to in C# and putting it in PHP.
My guess is that .Net would fall apart in a dynamic language. It'd be interesting to see.Jake Arkinstall
"Sometimes you don't need to reinvent the wheel;
Sometimes its enough to make that wheel more rounded"-Molona
Feb 28, 2009, 10:45 #3
Feb 28, 2009, 10:54 #4
When you say PHP.NET do you really mean Phalanger?
...It compiles source code written in the PHP scripting language into CIL byte-code. It handles the beginning of a compiling process which is completed by the JIT (Just-In-Time compiler) which is a part of the .NET Framework. It does not address native code generation nor optimization. Its purpose is to compile PHP scripts into .NET assemblies, logical units containing CIL code and meta-data.
Python and Ruby work well with .NET and they are dynamic languages. Of course .NET has support for dynamic languages thanks to DLR, Dynamic Language Runtime.
Feb 28, 2009, 11:02 #5
Phalanger is just a compiler for .NET however I am talking about a complete development environment like C# have in visual studio.
Feb 28, 2009, 11:04 #6
Feb 28, 2009, 11:12 #7
Feb 28, 2009, 11:17 #8
No version of .NET supports Phalanger. Phalanger does all the work of converting PHP to something .NET does understand. http://www.php-compiler.net/doku.php...aphp-in-vs2008
Feb 28, 2009, 11:20 #9