Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Maximising Language integration: Holy Grail or Dystopia?

by Anonymous Monk
on Jul 14, 2015 at 09:40 UTC ( [id://1134664]=note: print w/replies, xml ) Need Help??


in reply to Maximising Language integration: Holy Grail or Dystopia?

using Perl to integrate the sources of different languages that pertain to one conceptual class

I'm having a hard time imagining that. Care to share some short example code?

Replies are listed 'Best First'.
Re^2: Maximising Language integration: Holy Grail or Dystopia?
by anonymized user 468275 (Curate) on Jul 14, 2015 at 18:47 UTC
    I have a bit of a chicken and egg problem here. If I could write such examples, I'd have answered my own question and could just go ahead and build the classes to support the examples. My hindrance is that I am still struggling with some fundamental decisions. The most promising is to code a web page in Perl as a list of nested objects to match XML structure, each of which may have hooks into database tables, CSS and javascript routines. The support for transferring the inline code into separate sources for each language could be achieved by multiple inheritance. One of the challenges is where to draw the line between declarative and procedural code. One of the concerns is ... would I be re-inventing Template Toolkit?

    One world, one people

      The point was a little more basic than that: You're talking in quite broad strokes with abstract terms, and I don't completely understand the question. You're not going to find a silver bullet anyway, so if you want more pragmatic suggestions, we'll need to know more about the problem space (how big is the software project you are looking at, what technologies does it involve, etc.). The request for sample code was not asking for an example of the solution, it meant show us the problem you are trying to solve.

        The question put more succinctly is: I am considering creating a Perl class (with some parents it needs) to service conceptual objects that get implemented as objects in different languages in different sources. The intention is to support multiple frameworks and even multiple meta-frameworks such as bootstrap. Or is this pointless and I should just accept the multi-language style and not try to integrate.

        One world, one people

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1134664]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-03-28 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found