Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4557570
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:31:38+00:00 2026-05-21T17:31:38+00:00

I have a requirement to build a bulk service creation daemon that can be

  • 0

I have a requirement to build a bulk service creation daemon that can be fed a table of data and then go off and create a set of pre-canned services. However the type of services are potentially many and varied and potentially later steps will require the output of previous steps.

It seems what I need to implement in some sort of domain specific language that allow me to define a template recipe. This can then be passed through a template engine with substitutions made from the table of data before finally being run.

It would make sense to re-use an existing language infrastructure to allow the more complex recipes to use flow control and to define a restricted set of base operations. However I’d like the simple recipes to not require knowledge of the language to alter as the end users will not likely have software experience.

I would envision a simple template recipe looking something like:

# Create a service from NodeA to NodeC via NodeB
# Parameters are:
#   node a id, node a port, node b id, node c id, node c port, comment
node_a = node_a_type($1)
conn_a = node_a.create_connection($2, $7)
node_b = node_b_type($3)
conn_b = node_b.create_connection(conn_a.output_port, $7)
node_c = node_c_type($4)
conn_c = node_c.terminate_connection(conn_b.output_port, $5, $7)

I suggest python as a base language as I’m familiar with it. However the Python wiki suggests a lot of different options (http://wiki.python.org/moin/Templating) with most being aimed HTML/XML template solutions. Insight into the pros and cons of different systems would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T17:31:39+00:00Added an answer on May 21, 2026 at 5:31 pm

    I think Mako or Jinja2 both can fit the bill.

    • Both are not html/xml templates but are text based.
    • Both are popular and well documented.
    • Mako has more pythonic syntax where as BIG advantage with Jinja is, it supports sandboxing which might be useful for you.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a requirement to sort the values of a data table column. That
I have a requirement to build an application that a company can use to
i have a requirement to build some sort of services that can easily be
I have a requirement to build branded e-commerce sites that have their own urls
I have a requirement to build an MS Word 2007 plugin that provides a
My Application can perform 5 business functions. I now have a requirement to build
I have a requirement to build a custom multiselect box with jquery that will
I have a requirement to build features that perform certain background tasks on a
I have a requirement to create a report that is killing the processor and
I have a requirement to create a 3-Dimensional ArrayList. ArrayList<ArrayList< ArrayList<Object>>> data_Header_Mapper; How can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.