Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    .Net Ripe for PHP Picking

    Written by

    Darryl K. Taft
    Published January 30, 2008
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      REDMOND, Wash.-First it was Python, then Ruby, and now PHP is being groomed to run on Microsoft’s .Net platform.

      At the Lang.Net conference Microsoft is hosting at its campus here to discuss the future of programming languages, experts in the PHP language talked of their hope to see the popular Web development technology work better with Microsoft’s offerings.

      Microsoft already has IronPython and IronRuby, implementations of both the Python and Ruby dynamic languages running on .Net.

      In a session Jan. 29, Wez Furlong, director of engineering at Message Systems, in Columbia, Md., and a core developer of PHP, said PHP is a widely used Web server glue language. “Wouldn’t it be great if Web developers could transfer their language knowledge to the client side-like Silverlight,” Furlong said. He was referring to Microsoft’s cross-browser, cross-platform plug-in for creating rich interactive applications, which supports both IronPython and IronRuby through the company’s DLR (Dynamic Language Runtime).

      Furlong said that although he contributes code to the PHP project, he has no experience developing on the Microsoft CLR (Common Language Runtime) or the DLR. “But I’m looking at how I’d do PHP on the DLR,” he said.

      However, Furlong pointed to Phalanger, an implementation of PHP that targets the Microsoft CLR, as evidence that it can be done. Phalanger is a PHP implementation that introduces the PHP language into the family of compiled .Net languages.

      Phalanger was developed independently of the core PHP community, Furlong said, and he noted that he has worked mostly on the streaming and database layers of the PHP language. “But we’re finally cooperating and looking at taking advantage of the DLR,” Furlong said of the core PHP community and the Phalanger project. Phalanger is hosted on Microsoft’s CodePlex community development site.

      “Despite PHP and Phalanger being on two different paths, we’re talking to each other and we’re interested in getting PHP to run in Silverlight,” Furlong said.

      PHP Fun and Games

      Meanwhile, also at the Lang.Net event, Tomas Petricek, a Phalanger contributor and Microsoft MVP (Most Valuable Professional) for C#, demonstrated a Phalanger Helicopter Game, a game written purely in PHP that runs in a browser as a Silverlight control.

      Petricek said Phalanger is an abbreviation of “PHP Language Compiler.” It was originally targeted at the .Net Framework 1.1, but now supports .Net 2.0, the open-source Mono platform and Silverlight, he said.

      “We’re planning to use parts of the DLR in the future,” Petricek said.

      Phalanger has progressed over the year, he said. Developers can now compile various open-source PHP applications for .Net, use .Net classes from PHP programs or write PHP applications in Silverlight, Petricek said.

      “The goal was to make it as similar [on .Net] to other dynamic languages as possible-like Iron Python and IronRuby,” he said.

      Meanwhile, Petricek said PHP is a good language for Silverlight because it provides dynamic access to XAML (Extensible Application Markup Language) elements, it is good for working with attached properties, and developers can use functions from the PHP library, among other reasons.

      Moreover, with Phalanger, PHP becomes a first-class language for developing ASP.Net component-based Web applications and Web services, as well as console and WinForms applications, Microsoft officials said.

      Phalanger is distributed via the Microsoft Shared Source Permissive License.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×