Re: CORBA again

From: Date: Tue, 13 Jun 2000 20:46:41 +0000
Subject: Re: CORBA again
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-21253@lists.php.net to get a copy of this message
Hi David, Sorry it has taken me so long to get back with you. I was out of town for the weekend. I noticed your post on the ORBit list, so I thought I would send off an email. Right now I am working on the fallback method I mentioned for getting all of the DII information from a call from the idl files in a directory. I am using libIDL to parse the idl files. What kind of progress have you made? This is a pretty deep issue to get right, and I am just now getting to the point of understanding what they all are. For example, supporting the in/inout/out parameters, supporting the return of objects themselves and supporting exceptions all involve some pretty serious interfaces with the PHP object system, which I do not really have a good handle on just yet. Right now I am working on the idl repo code. Basically, on first loading, the code reads all the *.idl files in a directory, and creates a hash for each interface it encounters, pointing to the idl file its definition resides in. When an object is used for the first time, the repo code then does another parse of the file and loads in all of the operation and parameter definitions into a structure. I am using this approach since people may have large idl files with many definitions, and they may only want to use a handful of the objects. In which case, I only want to store the objects they are really using to save memory and load time. I am not even sure if this is necessary, since I don't know how people will use the idl file repository. Tim ----- Original Message ----- From: "David Eriksson" <david@2good.nu> To: "Tim Ritchey" <tim.ritchey@vacuumgenesis.com> Sent: Friday, June 09, 2000 8:17 AM Subject: Re: [PHP-DEV] CORBA again > On Tue, 6 Jun 2000, Tim Ritchey wrote: > > > I started working on an implementation using ORBit, but the real-world got > > in the way, and I haven't made much progress since, but I will tell you what > > I know: > > > > [snip] > > > > Anyway, I got some rough code worked up, but got stalled at (B) trying to > > decide what to do. (2) is ideal, but we probably also want a fallback. I was > > designing it so that you could set an IDL repository directory in php.ini, > > and was going to pull the parsing code from the ORBit-Perl, and use that to > > save some work. If anyone is interested in helping, or seeing what I did, > > let me know. It is pretty rough, doesn't work at all, and might just be the > > ravings of a lunatic. > > I have started to look deeper into this myself now, and your information > has been helpful. I believe it would be useful for me to see your apropach > to the implementation if you are willing to send it to me. > > Thanks in advance, > > -\- David Eriksson -/- > > "An expert in a particular computer language is really an expert > in the work-arounds necessary to use this language to perform > useful work." - Richard B. Johnson > >

« previous php.dev (#21253) next »