Posted by Chung Leong on 07/06/06 20:48
For the past few months I've been working on a fork of PHP from the
version 4 source code. I call the new dialect "Polar." It's different
from PHP 5 in that it's a procedural-centric language. One of the key
additions is function overloading, which lets you do polymorphism
procedurally:
function db_query($sql, $db:MySQLDB) {
/* MySQL-specific code here */
}
function db_query($sql, $db:PostgresDB) {
/* Postgres-specific code here */
}
Aside from that there are many other enhancements like a float-based
datetime type and a Unicode string type. It's pretty neat. You can find
more information at http://www.polarwiki.net/. The site is hosted on
the Polar itself, though it's running mostly PHP apps. I have built a
standalone Windows program that demonstrate the new features. You can
download it at the the web site.
Right now I'm just an army of one. I'm definitely looking for more
help. Drop a note in the message forum if you interested. Any comments
are welcomed too.
[Back to original message]
|