[Typo3-dev] XML idea - nothing to do with it
dan frost
dan at danfrost.co.uk
Mon Dec 15 00:48:05 CET 2003
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