[Mono-list] Phalanger on Mono

Ligesh myself at ligesh.com
Wed Aug 2 07:44:45 EDT 2006


On Wed, Aug 02, 2006 at 07:06:10AM -0400, Adam Tauno Williams wrote:
> >  PHalanger is not just another '[insert your app name]' application.
> > It is a framework which, if it works properly can actually help get
> > more people into Mono. Php is the most used language, especially in
> > the internet, and having an ability to code in DotNet using php should
> 
> <rant>Yada, Yada, PHP/LAMP is the saviour of humanity and a pinnacle of
> western civilization....</rant>

 You can't ignore the fact that LAMP has been the primary reason for Linux's popularity in the web services field. Without LAMP, we might have as been the minority player with MS as the dominant one. And since the focus of dotnet is also webservices, Phalanger seemed like a good fit to me.

> 
> There is a project for running PHP in/on Mono -
> http://php4mono.sourceforge.net/
> 

PHalanger seems a more complete and mature platform to me. At least that's the impression I get form a cursory read through the page.

> 
> >  be an attractive feature. Python has severe drawbacks when it comes
> > to web programming--the space indentation, lack of '$', and the
> > inability to embed variables into strings to name a few-
> 
> You can serialize values to strings in Python just fine.

 Nope. I was talking of embedding variables/functions into strings. Something like "this string is {$string->value()}". Ruby has this feature, and it is much cooler than php actually. You can do "this string #{ string.reverse } has been reversed". I think even Boo has it in the form of "this string is ${string}". In python you have to do it the most horrible way. "this string is " + string, or slightly better but though not really helpful in avoiding clutter: 'string is %s" % string.

--
:: Ligesh :: http://ligesh.com 






More information about the Mono-list mailing list