Support basic operations in xml
Closed this issue · 4 comments
RaySuhyunLee commented
Support number operators and string concatenation operator(+
)
RaySuhyunLee commented
This should be expanded to support every view-related operations inside xml. Refer to #4.
RaySuhyunLee commented
Possible solution: using script interpreter
ex) Python
https://wiki.python.org/jython/JythonMonthly/Articles/September2006/1
RaySuhyunLee commented
Better implement a custom parser by myself. The reasons are:
- Introducing another specific language may lead to more complicated framework.
- Using interpreter would increase overhead a lot.
RaySuhyunLee commented
I decided not to implement this feature for the moment. Few reasons are:
- View should concern at least about processing the data. It should only concern about what to show.
- Allowing to use operators inside template means leaving possibility that the view can process the data.