E
E
Eugene 2222016-05-19 12:39:05
css
Eugene 222, 2016-05-19 12:39:05

How would you organize the code generation of the site?

The question is more theoretical. However, we are interested in a model in which a typical site is code-generated from some metamodel.
I will make a reservation, I am not interested in static generators, and in non-parameterized typical sites. First of all, the
metamodel is interesting, which will allow you to hide the implementation details at a sufficient level to speed up development at times (and preferably by orders of magnitude)
. For now, the ideas are as follows.
As a Clojure metamodel language. It maps onto the subject area in the following way
Serverside. Golang in functional style.
Functions without side effects. Thus, we are, as it were, calling pure clojure functions, which in fact are Golang functions and are collected in them. (While I am testing the validity of such a model on a simple html scraper)
Clientside. Just take the React model (namely, the snippet syntax tree) and adapt it to work with templates in general.
----
This is the grassroots level.
A level up, I'm thinking of taking Drupal's website building model (taxonomies, pages, lists) and expressing it in grassroots terms.
---
I'm interested in your opinion, which model for such a task can have the optimal prcision / recall (if you understand what it is about)
======
I apologize in advance if this question is not suitable for a toaster. I've been thinking about this for a long time, I'm interested in your opinion. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Shevelev, 2016-05-20
@mantyr

Take PHP already, what's there :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question