SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    Non-Member adstiger's Avatar
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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. ?

  2. #2
    Theoretical Physics Student bronze trophy Jake Arkinstall's Avatar
    Join Date
    May 2006
    Location
    Lancaster University, UK
    Posts
    7,062
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Most likely.

    .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

  3. #3
    Non-Member adstiger's Avatar
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by arkinstall View Post
    Most likely.

    .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.
    We will definately have improved security of code.

  4. #4
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    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.
    --------------------------------------------------------

    Quote Originally Posted by arkinstall View Post
    ...My guess is that .Net would fall apart in a dynamic language. It'd be interesting to see.
    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.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  5. #5
    Non-Member adstiger's Avatar
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Phalanger is just a compiler for .NET however I am talking about a complete development environment like C# have in visual studio.

  6. #6
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Then you are talking abut VS.PHP not PHP.NET...However that is just the IDE no support for any of the .NET stuff. Utilizing .NET you would need Phalanger.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  7. #7
    Non-Member adstiger's Avatar
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    Then you are talking abut VS.PHP not PHP.NET...However that is just the IDE no support for any of the .NET stuff. Utilizing .NET you would need Phalanger.
    Which version of .NET supports phlanger?

  8. #8
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    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
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  9. #9
    Non-Member adstiger's Avatar
    Join Date
    Nov 2008
    Location
    Canada
    Posts
    348
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    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
    So Phalanger is not a Microsoft product. It is a third party open source application. Have you tried it?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •