To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8693
8692  |  8694
Subject: 
Re: Embedded language support in LPub
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 9 Apr 2003 12:51:42 GMT
Viewed: 
640 times
  
In lugnet.cad.dev, Wayne Gramlich writes:
By far the best extensiblity solution is language neutral.
With this strategy, you add some code to LPub to allow it
to be accessed via a TCP/IP connection.  For example, you
would add the "-s <port>" option ot LPub to cause it to
go into server mode listening on <port>.

Everybody else would access LPub via the bi-directional
bytes stream interface provided by a TCP/IP stream.  For
most scripting languages, opening a connection to a port
on the local machines is a few lines of code.  After that
each program would talk to the LPub server via a *simple*
protocol that you define.

Yeah, but don't define yet another new protocol.  Go with
a simple protocol that already exists like XML-RPC.

  http://www.xmlrpc.org/spec

They don't much simpler than that.  Plus if you look at the
implementations page you'll see that tcl, perl, java, and just
about everything else are already supported.

  http://www.xmlrpc.com/directory/1568/implementations

What could be better than that?

Don



Message has 1 Reply:
  Re: Embedded language support in LPub
 
(...) Don: No matter what stategy is taken, there needs to be a documentation effort to describe what features of LPub are going to be provided for extensibility. This is true irrespective of whether a particular scripting language is selected (e.g. (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)

Message is in Reply To:
  Re: Embedded language support in LPub
 
(...) Kevin: Before you choose between Tcl and Perl, you might want to broaden your focus a little. Neither Tcl nor Perl are particularly good extensibility languages, even though Tcl was ostensibly designed as an extensibility language. My first (...) (21 years ago, 9-Apr-03, to lugnet.cad.dev)

31 Messages in This Thread:









Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR