Thread: PHP as PL
Does anyone know of an individual/group/whatever working on a project to allow PHP to be used as a PL for Postgres? Thanks, Rod
Rod Kreisler wrote: > Does anyone know of an individual/group/whatever working on a project to > allow PHP to be used as a PL for Postgres? > > Thanks, > Rod I've discussed it with Christopher Kings-Lynne a little while back. I don't think it would be too terribly hard to do, using the new php-embed option, and PL/R as starting point -- but I probably won't have the time to get started until after the Postgres 7.4 beta freeze. Joe
Rod Kreisler wrote: > Does anyone know of an individual/group/whatever working on a project to > allow PHP to be used as a PL for Postgres? No, never heard of one, but I think MySQL may have one. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
> Bruce Momjian wrote: > > Rod Kreisler wrote: > > Does anyone know of an individual/group/whatever working on > a project > > to > > allow PHP to be used as a PL for Postgres? > > No, never heard of one, but I think MySQL may have one. MySQL a PL ?? I don't think so, last time I looked it wasn't possible and it wouldn't be untill the 5.x releases afaik. Regards, Arjen
On Sunday 06 April 2003 11:13, Arjen van der Meijden wrote: > > Bruce Momjian wrote: > > > > Rod Kreisler wrote: > > > Does anyone know of an individual/group/whatever working on > > > > a project > > > > > to > > > allow PHP to be used as a PL for Postgres? > > > > No, never heard of one, but I think MySQL may have one. > > MySQL a PL ?? > I don't think so, last time I looked it wasn't possible and it wouldn't > be untill the 5.x releases afaik. Don't know about PHP but Perl as PL for MySQL pops up from time to time: http://www.mysql.com/portal/sites/item-68.html http://slashdot.org/article.pl?sid=01/08/24/1253228&mode=thread Doesn't seem to have made the big time yet though ;-). Ian Barwick barwick@gmx.net
Bruce Momjian wrote: > > Rod Kreisler wrote: > > Does anyone know of an individual/group/whatever working on a project to > > allow PHP to be used as a PL for Postgres? > > No, never heard of one, but I think MySQL may have one. What? I heard their plan was to use perl for user defined functions a while back. At that time of course without server side data access inside the same transaction, but things might have changed. Anyhow, I think PHP as a procedural language inside PostgreSQL would make a lot of sense. It seems natural to use the same programming language when trying to split up the business logic between the middle tear layer (Apache/PHP) and the database. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #
At 01:15 PM 4/6/2003 -0400, Jan Wieck wrote: >Bruce Momjian wrote: > > > > Rod Kreisler wrote: > > > Does anyone know of an individual/group/whatever working on a project to > > > allow PHP to be used as a PL for Postgres? > > > > No, never heard of one, but I think MySQL may have one. > >What? I heard their plan was to use perl for user defined functions a >while back. At that time of course without server side data access >inside the same transaction, but things might have changed. > >Anyhow, I think PHP as a procedural language inside PostgreSQL would >make a lot of sense. It seems natural to use the same programming >language when trying to split up the business logic between the middle >tear layer (Apache/PHP) and the database. > > >Jan When the first Zend Engine was released, Zeev (or Andi) mentioned that they were is discussion with MySQL AB to have PHP as a PL for MySQL. Since then, not a word. MySQL only mentions that they plan to have PL support in v5 but no mention of what language that will use....
Rod Kreisler wrote: > At 01:15 PM 4/6/2003 -0400, Jan Wieck wrote: > >Bruce Momjian wrote: > > > > > > Rod Kreisler wrote: > > > > Does anyone know of an individual/group/whatever working on a project to > > > > allow PHP to be used as a PL for Postgres? > > > > > > No, never heard of one, but I think MySQL may have one. > > > >What? I heard their plan was to use perl for user defined functions a > >while back. At that time of course without server side data access > >inside the same transaction, but things might have changed. > > > >Anyhow, I think PHP as a procedural language inside PostgreSQL would > >make a lot of sense. It seems natural to use the same programming > >language when trying to split up the business logic between the middle > >tear layer (Apache/PHP) and the database. > > > > > >Jan > > When the first Zend Engine was released, Zeev (or Andi) mentioned that they > were is discussion with MySQL AB to have PHP as a PL for MySQL. Since > then, not a word. MySQL only mentions that they plan to have PL support in > v5 but no mention of what language that will use.... Yes, that is what I remember. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073