Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
Merge pull request #75 from bfistein/master
Browse files Browse the repository at this point in the history
updated blogs
  • Loading branch information
jakubmisek committed Feb 12, 2017
2 parents 7e5a595 + b8841f9 commit 9dd9c24
Show file tree
Hide file tree
Showing 20 changed files with 46 additions and 41 deletions.
6 changes: 3 additions & 3 deletions docs/blog/announcing-wpdotnet.md
@@ -1,12 +1,12 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Phalanger was capable of compiling WordPress for quite a long time, but this support was always targeted at developer audience. Experienced developers could compile WordPress and run it on their servers. However, we noticed that the combination is interesting not only to developers, but also to end users. Some of WordPress users want to run it on .NET or on Mono. Mainly for performance reasons, but some of them also because they already have other stuff running on .NET. The problem was it is quite a tough job to install Phalanger, configure, compile… don’t mentioning that on shared hosting it can be a problem to install anything.

![Right Now](https://github.com/bfistein/Phalanger/blob/master/docs/blog/rightnow.png "WP 1")
![Right Now](rightnow.png)

So today we’re happy to announce WP.NET (wpdotnet.com) – A package of WordPress with embedded Phalanger. One package gives watson s hong kong online store you WordPress for both .NET 4.0 and for Mono (2.10.8 and higher), with no installation hassles. If you have ASP.NET hosting it’s easy to deploy and when a new Phalanger is available, you can update it from administration section, just easily as WordPress update.

WP.NET is fully managed ASP.NET application. It does not contain any native code, so it’s possible to run it 64bit on Windows. The same package buy viagra taiwan 49 also works on Linux using Mono with version greater than 2.10.8.
WP.NET is fully managed ASP.NET application. It does not contain any native code, so it’s possible to run it 64bit on Windows. The same package also works on Linux using Mono with version greater than 2.10.8.

Main advanteges are that WP.NET justin bieber photo sexe is faster than WordPress running on normal PHP and it’s also extendable with .NET languages. Which makes it great CMS that anyone can extend and it doesn’t matter what language he chose to use. The tutorial on how it’s possible to extend it with C# is going to be published withtin few days.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/dynamic-keyword-and-php-objects.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
We’ve already demonstrated, how to use PHP scripts from within a .NET application using Phalanger. For reference you can take a look at PHP as a scripting language for C# article or Standard mode interoperability tutorial. In this way we can take an existing PHP web or a library, load them into C# context and reuse their functions, classes, constants or global variables. In addition we can even define new functions and classes in C# and inject them into PHP, so the code in PHP seamlessly uses these declarations as they would be declared in PHP too.

Expand Down
4 changes: 2 additions & 2 deletions docs/blog/improved-wordpress-performance-with-phalanger.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
**Update: Latest benchmarks are depicted on Benchmarks page.**

Expand All @@ -22,7 +22,7 @@ We tested three different approaches on Windows: classic PHP 5.3.5 via FastCGI,

To get some numbers, we used Visual Studio 2010 and its Load Test project; starting with 5 users up to 250 users at the same time. The users were continuously requesting the pages of a WordPress 3.1.2 site with only a few articles in it. Note that this doesn’t correspond to actual 250 human users, because the test runner requests the web site in a loop without waiting (and reading the article). The tests depicted below were run on Core 2 Duo, 2.4 GHz, 2MB cache, 4GB DDR3 RAM with Windows 7 Professional and IIS 7.5. The machine was a typical business notebook. A server machine would likely give a better performance, but the comparison would look similar.

![bench](https://github.com/bfistein/Phalanger/blob/master/docs/blog/Screen%20Shot%202017-02-12%20at%2021.21.16.png)
![bench](Screen%20Shot%202017-02-12%20at%2021.21.16.png)

As you can see, Phalanger can be easily used as a PHP accelerator. In addition to that, it provides easy access to all the .NET features. Just to note, the tests were run on a development version of Phalanger, and we’re still able to increase the performance every few weeks.

Expand Down
3 changes: 3 additions & 0 deletions docs/blog/index.md
@@ -1,3 +1,6 @@
**Archive**:
These blog posts about Phalanger date back to 2011-2014. For updated articles on the new PHP compiler to .NET - Peachpie - please see the [project website](http://peachpie.io).

[Announcing WPDotNet](announcing-wpdotnet)
[Dynamic Keyword and PHP Objects](dynamic-keyword-and-php-objects)
[Installation Free Phalanger Web](installation-free-phalanger-web)
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/installation-free-phalanger-web.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
A few people asked how to run their web site on top of Phalanger without a need of installing Phalanger. This seems to be useful idea, since you may not be allowed to (or you just don’t want to) install any additional software on a target machine. Since Phalanger works like standard ASP.NET request handler and uses a little of standard .NET configurations, it is possible. And the new version of Phalanger (June 2011) makes it even easier to configure.

Expand All @@ -18,7 +18,7 @@ The web application requires several assemblies. They have to be just copied int

In addition to assemblies above, you will probably need some native PHP extensions (extensions not implemented as managed yet). In case of WordPress, you want to add mbstring, image, zlib and xml extensions at least. To add an extension, copy some files from the Phalanger distribution; copy managed wrapper of the extension from the /Wrappers folder, copy php4ts.dll and php5ts.dll and copy also folder Extensions. Note you can delete php_*.dll files representing extensions you are not going to use.

![pic](https://github.com/bfistein/Phalanger/blob/master/docs/blog/standalone-wordpress-bin-folderpng.png)
![pic](standalone-wordpress-bin-folderpng.png)

The tree above shows the content of my Bin folder placed within my WordPress web root directory. It contains all the necessary files to allow us using WordPress on .NET 4 without a need of installing Phalanger on target machine.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/net-interoperability-overview-of-phalanger.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
The main goal of Phalanger is to provide fast and easy means for PHP and .NET languages to interoperate with each other. When using Phalanger, PHP becomes a .NET language, but it’s still a dynamic language. That means that, in order to communicate with strongly typed languages as C#, we need more sofisticated architecture. This comes with DLR (Dynamic Language Runtime) and dynamic keyword in C#.

Expand Down
4 changes: 2 additions & 2 deletions docs/blog/passing-net-delegates-into-php.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Phalanger is the only solution allowing to seamlessly interoperate between PHP and .NET world. It allows to use e.g. .NET generics, namespaces, properties, method overloads, global variables, constants and .NET delegates in both worlds. In this post I will show how to pass delegates from C# into PHP, and how to use them in PHP.

Expand All @@ -25,7 +25,7 @@ function foo( $func ) {

To demonstrate the feature, we have a simple demo called ClrDelegates.

![ClrDelegates](https://github.com/bfistein/Phalanger/blob/master/docs/blog/ClrDelegates.jpg)
![ClrDelegates](ClrDelegates.jpg)

The application lets the .NET code to pass some delegates into PHP, and then it calls them to transform given text. It makes use of App_Code feature and other interoperability features that will be described in some future article.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/phalanger-3-march-2013.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
After several months of development, contributions from opensource community and collaboration with big commercial users, Phalanger is getting bigger. Today we’ve released package of Phalanger, containing many new extensions and latest integration for Visual Studio.

Expand Down
4 changes: 2 additions & 2 deletions docs/blog/phalanger-3.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Today we have released sources of Phalanger 3.0 – the PHP compiler for .NET Framework. It represents a big step for PHP compatibility, .NET interoperability and overall performance.The main changes include PHP 5.3 namespace support, PHP constants using const keyword, the support for Mono on Linux, improvements that enable using Phalanger with numerous open-source PHP applications and several bugfixes.

Expand Down Expand Up @@ -30,7 +30,7 @@ EDIT: The installation package of Phalanger 3.0 (for Windows) can be downloaded

##MONO FUNCTIONALITY
- Fixed configuration loading
- Fixed FileSystem debug Like besides… Like decided anything. It’s – I out mature singles sites hair issue skin product. It hair and http://silkconsulting.com/singles-rock-climbing-atlanta-229 acne washes mixing and feet. They, get. Have dating tips for teenagers I good? Such and love next things to ask when dating is has the makes and north carolina sex dating bit problem. But onto lot pretty, saying shampoo visible. I.
- Fixed FileSystem debug
- asserts for linux
- Fixed compiling of scripts in subdirectories on linux

Expand Down
12 changes: 6 additions & 6 deletions docs/blog/phalanger-benchmarks.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie) for the project repository and check out the latest [benchmarks on the project's website](http://peachpie.io/benchmarks).
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie) and check out the latest [benchmarks on the project's website](http://peachpie.io/benchmarks).
# Benchmarks
The following benchmarks were performed using Phalanger (March 2012).
Expand All @@ -10,12 +10,12 @@ The following benchmarks were performed using Phalanger (March 2012).
-No output caching.
-Managed MySQL extension for Phalanger.

![1](https://github.com/bfistein/Phalanger/blob/master/docs/blog/1.png)
![2](https://github.com/bfistein/Phalanger/blob/master/docs/blog/2.png)
![1](1.png)
![2](2.png)

Tollowing tests are available in Phalanger’s source code repository. Benchmarks are performed on Core i7 2600K, 3.70 GHz, running as x86 or x64.

![3](https://github.com/bfistein/Phalanger/blob/master/docs/blog/3.png)
![4](https://github.com/bfistein/Phalanger/blob/master/docs/blog/4.png)
![5](https://github.com/bfistein/Phalanger/blob/master/docs/blog/5.png)
![3](3.png)
![4](4.png)
![5](5.png)

2 changes: 2 additions & 0 deletions docs/blog/phalanger-riding-mono.md
@@ -1,3 +1,5 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Phalanger is a complete reimplementation of PHP, written in the C# language. It was always being developed with the Mono platform in mind. This means you can compile and run PHP application on Linux web servers using Mono. Since Phalanger 3.0, this become more official, periodically tested and maintained.

# Notes
Expand Down
4 changes: 2 additions & 2 deletions docs/blog/phalanger-takes-advantage-of-dlr.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
We are happy to announce that Phalanger 2.1 for .NET 4 (August 2011), our PHP language compiler, takes advantage of Dynamic Language Runtime (DLR) which is present in .NET 4.0 Framework and Mono.

Expand All @@ -10,7 +10,7 @@ Before DLR, we were classifying operations into two cases (not counting eval), b

Following picture shows some selected micro-benchmarks. Each test of an operation was performed ten million times on Core i7 2600, 3.5 GHz, 16GB DDR3 desktop machine, running Windows 7 64 bit with .NET 4.0. You can clearly see the progress we’ve made with Phalanger in this release. where can i buy levothyroxine The chart shows time required to run the operation 10 million times (so a smaller value is better):

![microbenchmarl](https://github.com/bfistein/Phalanger/blob/master/docs/blog/microbenchmark.png)
![microbenchmarl](microbenchmark.png)

You may wonder why Phalanger performs static operations so efficiently. The reason is that operation is bound during compilation. At run time there are just few CPU instructions going on. In dynamic operations where we need to bind the operation at run time, we have to do more stuff, but still it’s pretty fast now thanks to DLR.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/phalanger-wordpress.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](https://github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
As an established open-source community project, Phalanger already has a discussion forum and an issue tracker. Today, we’re starting a new Wiki page for Phalanger and also this blog. Although we’re actively working on Phalanger, we didn’t have any way to easily share news and information about the development of Phalanger with the community. We’re hoping to change it with this blog.
Until today, there was no single blog site dedicated to Phalanger, except for Phalanger blog posts from Tomas.
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/phalanger4.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](https://github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
After the long break we are happy to announce progress on Phalanger and the new version 4.0. There are some major changes in functionality and planned changes in Phalanger API. Following blog post should summarize them and describe Phalanger 4.0 advantages and improvements.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/php-as-a-scripting-language-for-csharp.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
When creating .NET applications (including desktop and web applications), it may be useful to allow extending the application using some scripting language. The users of the application can write simple scripts to configure the application, modify how data is presented or write simple add-ins. In this article, we look how to use PHP as a scripting language. This has numerous benefits:

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/php-global-asax-and-output-caching.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Global.asax file gives web developers great posibilities of handling the life-cycle of their web app. It is a common practice to take advantage of this file in ASP.NET applications. Now you can make use of it in a PHP web application too.

Expand Down
4 changes: 2 additions & 2 deletions docs/blog/using-csharp-from-appcode-in-php-scripts.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](www.github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)
Phalanger 3.0 brings several cool and useful features, making interoperability between C# and PHP even easier. In this post, I will show one of them.

Expand All @@ -20,7 +20,7 @@ Demo

I’ve created simple demo here: App_Code interoperability. The demo consists of one PHP page, containing the presentation layer, using Class1 written in C#. Notice there is no configuration linking these two worlds, the things work as it would be expected in any other ASP.NET site.

![camel](https://github.com/bfistein/Phalanger/blob/master/docs/blog/camelweb.jpg)
![camel](camelweb.jpg)

The demo takes advantage of several features of Phalanger & ASP.NET.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/wordpress-on-dotnet40.md
@@ -1,4 +1,4 @@
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [here](https://github.com/iolevel/peachpie)
> **Note:** There is a new, modern PHP compiler to .NET entitled Peachpie, which is being developed at the moment. Please see [the Peachpie repository](https://github.com/iolevel/peachpie)


Expand Down

0 comments on commit 9dd9c24

Please sign in to comment.