What’s New in PeachPie 0.9.18 – Attributes and Generics

Posted on November 26, 2018, in category Announcement, Information, News, tags: , , , , , ,

We just released PeachPie 0.9.18, which targets some syntax extensions, so that PeachPie can provide more and much needed CLR interoperability features. Extending the syntax does not affect any existing PHP code and only provides developers with more options. PeachPie 0.9.18 The latest minor version update of PeachPie, the PHP compiler and runtime on top […]

... continue reading

PeachPie extension for Visual Studio

Posted on November 19, 2018, in category Announcement, Information, News, tags: , , , , , , , , , , ,

We’ve had an extension for the lightweight VS Code IDE for quite some time, but now was as good a time as ever to create one for the full Visual Studio.

... continue reading

PHPDoc, XMLDoc, and IntelliSense

Posted on August 22, 2018, in category Information, tags: , , , , , , , , ,

Well-documented code should be a given nowadays. In the world of PHP, the standard for documenting is the so-called PHPDoc, whereas .NET uses XMLDoc. In this article, we’ll take a look at how all this is connected with PeachPie.

... continue reading

PeachPie Gets a New Documentation

Posted on August 20, 2018, in category Announcement, Information, News, tags: , , , ,

PeachPie is now a mature project and so it was only about time for it to have a proper documentation as well. That is why we are happy to introduce docs.peachpie.io.

... continue reading

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

The Ultimate WordPress Cache

Posted on July 1, 2018, in category Information, News, tags: , , , , , ,

No reasonable WordPress site is complete without some kind of caching plugin. While PeachPie should inherently speed up the runtime of PHP apps, it also opens up the door to another fantastic possibility: the ASP.NET Core response cache. Intro The web cache is a general issue we will face regardless of language, web server or […]

... continue reading

How to Work With Plugins in WordPress on .NET

Posted on June 25, 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