[Typo3-dev] XML idea - nothing to do with it
Michael Zedeler
michael at zedeler.dk
Mon Dec 15 01:23:00 CET 2003
Hi Dan,
I spent a little time looking around for alternatives to OMG-IDL and
didn't find anything great, but I did find this project:
Open Babel - a project that uses both IDL-style and some new XML format
for interface specifications. Open Source and currently funded by a
handful of universities.
http://www.llnl.gov/CASC/components/openbabel.html
and an article that mentions a handfull of more or less useful languages:
http://www.fernuni-hagen.de/DVT/Publikationen/tools2000.pdf
Regards,
Michael.
dan frost wrote:
> Actually, it came out of my work on ObTS. I wanted a way to pick scripts
> for different platforms (e.g. bash, windows/dos etc) with as little as
> possible code.
>
> I've looked around at some existing language-abstractions and will
> report back when I find a good use for it....
>
> dan
>
> Michael Zedeler wrote:
>
>> dan frost wrote:
>>
>>> I have an idea and am not sure if it's useful. I've written some
>>> proof of concept code already and it works.
>>>
>>> Here's a library of functions in different langauages.
>>>
>>> -
>>> <library>
>>> <name>Standard Library</name>
>>> <function lang="php">
>>> #echo "Hello world";
>>> #phpinfo();
>>> </function>
>>> <function lang="bash">
>>> ls /httpdocs
>>> </function>
>>> </library>
>>>
>>> The php i've written goes through an executes a chosen function with
>>> the write language/interpreter..
>>>
>>> So, any ideas?
>>
>>
>>
>> Hmmmm.... what is the purpose - is it making it possible to write
>> typo3 modules in many different languages or just executing som small
>> utility functions when needed such as the look-for-dead-links function
>> mentioned in another recent thread?
>>
>> The second thing is fairly straight forward and could easilly be done
>> using the structure that you outline above, although I'd suggest using
>> an exisitng standard. There must be one somewhere out there. OMG IDL
>> doesn't seem to be useful since it doesn't have any PHP binding
>> descriptions.
>>
>> If it is the first thing, then there is a lot of things to consider
>> with regard to sharing variables and functions between the different
>> languages. Microsoft did some work with that in ASP. Another way to go
>> is UNO (from SUN), though I haven't tried it - a web application
>> framework under the Mozilla organization using UNO exists. I am not
>> aware of any PHP-UNO bridge.
>>
>> Regards,
>>
>> Michael.
>>
>> _______________________________________________
>> Typo3-dev mailing list
>> Typo3-dev at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>>
>>
>
>
More information about the TYPO3-dev
mailing list