• « [ANN] Kernow 1.1, An OSS GUI Front End For Saxon Developed By Andrew Welch
    • |
    • Main
    • |
    • What Ever Happened To Journalistic Integrity? »
            • March 02, 2006

              Phalanger, a PHP-to-CIL Compiler Version 1.0 Final Now Available

            • Phalanger - the PHP Language Compiler for .NET Framework

              20 February 2006: Phalanger version 1.0 (final) has been released and is available for download. Several new native extensions are now supported by Phalanger (Calendar, ODBC, WinBinder). MySQL extension is fully managed and works with the latest versions of MySQL server. The final version also fixes many bugs and adds functions and features of PHP 5.1.2. See change log for details.

              Whether you love or hate PHP, a lot of web applications have been built upon it's hack-of-a-hacked-hack foundation.

              And they work.

              Now they work on .NET.

              Any questions?

              Note: Thinking out-loud here, but given MS's big gigantic "we're not open source... but if you promise not to tell, here's a tool that you can use to view the .NET foundation class libraries source code, and even output it into any language which has a language driver... but you didn't hear that from us!" secret (okay, so its not so big of a secret :) -- coupled with some of the excellent C# code refactoring tools that exist, its seems to me its only a matter of time before someone puts two-and-two together and builds a PHP driver for Reflector that would then allow for a somewhat backa$$ward approach to creating a PHP code refactoring tool that will take spaghetti PHP and turn it into something more Lasagna-ish, or some other pasta dish that appears to have been built using a much more systematic layering approach.

              But again, just thinking out-loud here. ;)

              [UPDATE: You know that PHP stands for "Personal" and not "Professional" "Home Page" right?

            • Posted by m.david : March 2, 2006 02:37 AM GMT

            Trackback Pings

            TrackBack URL for this entry:
            http://www.xsltblog.com/xslt-blog-mt/mt-tb.cgi/1401

            Listed below are links to weblogs that reference Phalanger, a PHP-to-CIL Compiler Version 1.0 Final Now Available:

            » Real Estate Investing from Real Estate Investing
            Real Estate Investing [Read More]

            Tracked on March 28, 2006 10:03 PM

            » Caribbean Vacation from Caribbean Vacation
            Caribbean Vacation [Read More]

            Tracked on March 29, 2006 09:19 PM

            » Retirement Planning from Retirement Planning
            Retirement Planning [Read More]

            Tracked on March 31, 2006 02:35 PM

            Comments

              • You know that PHP hasn’t stood for that in years, and that the correct expansion of PHP is ‘PHP: Hypertext Preprocessor’ right?

              • Posted by: Joseph Scott at March 2, 2006 03:18 AM
              • Hey Joseph,

                No, I didn’t know that. Actually, my point for bringing this up probably sounded like a slam of the language, but in reality it was meant to showcase the roots of the project, and to try and showcase the fact that the original purpose of PHP was to act as a toolset for Personal Home Pages, and because of this it attracted a HUGE base of power users in the early days. This of course drove the project to become better, faster, bigger, etc… as this generation of hackers (a group I pre-date by only a couple of years) have now become a primary force in the workplace. The result, of course, is a HUGE base of PHP code developed by folks who prefer PHP because they understand it best.

                What this all boils down to is that the folks who are bitchin’ and moanin’ about how bad PHP is in terms of modularity, etc… are wasting their bitchin’ and moanin’. PHP ISN’T going anywhere, nor should it. It seems to me the next generation of PHP will probably see a fairly heavy push from the agile development world looking to cash in on a base of PHP code that, I would guess anyway, expands far beyond both .NET and Java — quite possibly combined (although thats probably pushing the stats a little too hard).

                I think Phalanger is GREAT in this respect. It provides a FANTASTIC way to get this same base of PHP into CIL and from CIL this can be brought into whatever language they might want to then really extend this MASSIVE code base into something thats modular, extensible, agile, and FAST AS HELL!

                All good things :)

                Thanks for the info!

              • Posted by: M. David Peterson at March 2, 2006 08:17 AM

            Post a comment




            Remember Me?

            (you may use HTML tags for style)

          • © 2005 :: <XSLT:Blog/> (xsltblog.com) is a product of M. David Peterson and FunctionalX Consulting. See Licensing Info Below.
          • Except where otherwise noted, this sites content and source code is licensed under the Attribution License from Creative Commons.