As I use Bootstrap Studio to fast prototyping frontend missing for me is easy way to add my code inside design. For example
<div>
<p> It is time {{ date }} </p>
</div>
By programming placeholder I mean: 1. passing variables with some schema. Fx.
echo $date;
Now it can be cumbersom and complicated. I export desing and after change I have to manually replace text and change code each time. Idea is not add PHP /
-
add custom not HTML code in design fx. from Jinja template language like style:
<title>{% block title %}{% endblock %}</title>
-
{% for user in users %}
- {{ user.username }} {% endfor %}
How it can work?
Special items or not bootstrap for programmers: 1. to place text replacement. It will be awasome if I can visually select text and after generating get instead code which I pass: in Windows I have two options: a) view text: [ User ] b) programming value: [ echo $userName; ]
This tiny functionality will boost performance when coding and use it inside any framework. So when I design I have normal workflow. When I check inside box or add special items I have text replace by any code which I choose. It can be for example pass item like it is today by drag and drop and right mouse click on selected text to "Add programming replacement". In field it automaticly load selected text value and in second add code replace when export. Using PHP or Python frameworks like Django is huge deal. It is new territory for coders.
- It is harder, but I think possible too - code replacement. I select design, get pregenerated code for selection. I can edit to add fx. loop in my favorite language. When I save it will replace default generated code by my choose. Fx. I use editor to add two rows in bootstrap Table and then select specified code and create loop with one row. When I change visual row I get info about update my code.