[Typo3-dev] XML idea - nothing to do with it

René Fritz r.fritz at colorcube.de
Mon Dec 15 15:07:02 CET 2003


Have a look for t3lib_exec in 3.6. 
It's not an implementation of your idea, but it should be a class that 
executes scripts on any platform (unix/win) without a need for knowing the 
paths.
It might be helpfull for you.

René

> 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
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

-- 
COLORCUBE
digital media lab

www.colorcube.de






More information about the TYPO3-dev mailing list