Render a Razor Partial View on a PHP page

Posted on August 7, 2018, in category Information, Tutorial, tags: , , , , , , , , , ,

We discussed rendering a PHP file in a Razor View last week, but this week we’ll push the boundaries of interoperability between PHP and ASP.NET even further. What if we enriched a PHP website with Razor Partial Views coded in a C# project (those with the .cshtml extension)?

... continue reading

Rendering PHP files in Razor Views

Posted on July 31, 2018, in category Information, News, Tutorial, tags: , , , , , , , ,

Much has been said about the interoperability options PeachPie opens up between PHP and .NET code. One of the most practical use cases is combining Razor and PHP Partial Views, which is what today’s article will be about.

... continue reading

How to Work With Plugins in WordPress on .NET

Posted on June 26, 2018, in category Information, Tutorial, tags: , , , , , , ,

One of the most frequently asked questions we get regarding WordPress on .NET is how to work with plugins. This tutorial will explain how to install plugins with the current state of PeachPie and how to get past some of the basic problems you might encounter.

... continue reading

Performance Progress Report

Posted on June 4, 2018, in category Benchmark, Information, tags: , , , ,

Although performance improvements of PHP applications are one of the objectives of PeachPie, we always emphasize that it doesn’t necessarily have to be the main one and that we have yet to work on code optimizations to really get the most out of PeachPie. However, recent configuration tweaks have definitely led to surprisingly good results. […]

... continue reading

Packing PHP into DLLs, EXEs or NuGets

Posted on April 29, 2018, in category Information, News, Samples, Tutorial, tags: , , , , , , , ,

Seeing PeachPie enables us to compile PHP code into .NET assemblies, wouldn’t it also be great to manage it as a package or a set of packages depending on each other? In this article, we outline some of the common practices and possibilities of building deployable packages with PeachPie using a .NET Core SDK or […]

... continue reading

Setting up MediaWiki on .NET with Peachpie

Posted on February 26, 2018, in category Announcement, News, Tutorial, tags: , , , , , , , , , , ,

The Peachpie compiler platform has already proven to be able to run massive real world applications without modifications. We have already tested WordPress, an older version of CodeIgniter and PHPUnit, but now it’s time for another massive PHP project: MediaWiki. What is Peachpie? Peachpie is a complete re-implementation of the PHP language to be executed […]

... continue reading

Introducing: try.peachpie.io

Posted on January 27, 2018, in category Announcement, News, Snippets, tags: , , , , , , ,

We have recently come across a phenomenal tool that illustrates the power of Roslyn. And we immediately knew we had to make it work with Peachpie.

... continue reading

First WordPress benchmark

It’s been a while since we produced any benchmarks, so it’s time to put Peachpie to the performance test again. And it’s not going to be a small one – this time, we will benchmark an entire real world application in WordPress.

... continue reading

Maintaining backward compatible Peachpie and PHP code simultaneously

Posted on January 18, 2018, in category Information, tags: , , , , , , , ,

When you consider transforming your PHP code to .NET using Peachpie, you’ll probably worry about backward compatibility and the development process itself, or whether you can maintain both platforms within a single code base. Here is why you don’t have to.

... continue reading

Introducing Peachpie 0.9

Posted on January 16, 2018, in category Announcement, News, tags: , , , , , , , ,

Lots of changes have been made to the Peachpie project this year already. So much so that we reached the next milestone in our roadmap and thus upped the version to 0.9. This article will explain what’s new and what’s still to come.

... continue reading