<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you for the hint! As I see, it is possible to use some of the ajax<br>branch features to improve the code even more. What is unclear though is
<br>how to do it in practice:</blockquote><div><br>_ajax will be _dev and _dev will be _stable. the current ajax branch is only temporary, not a fork. there were some backwards incompatible changes with some refactorings that were much easier to manage in a different branch.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">- On one hand, if my changes are used in original ucw branch that seems<br>to be good. But I do not know how to put them there.
<br>- And maybe it is possible to put them into ajax branch too.<br>- But if I try to modify my changes to benefit from ajax branch<br>features, they will become incompatible with the original ucw branch,<br>won't they?</blockquote>
<div><br>almost all patches will reach the _stable branch sooner or later so it's wiser to do new development in the ajax branch. if Marco is happy with the code and there are no more pending large-scale changes then the branch renames will be done in the following weeks.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Well.. (ucw.forms.validators.number.between field-id 10 20) is a LISP<br>notation in the LISP code. It is eventually translated into JavaScript.
<br>And that JavaScript code seems to be rather large. I think it is<br>possible to create a small library of useful functions and call them if<br>it is necessary. That would reduce page size and improve readability.</blockquote>
<div><br>as a personal opinion, readability of the lisp code is far more important then the generated page size or the readability of the generated js. of course it does not mean that the latter two are not important at all...
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> fixed in ajax: <ucw:script generates non-toplevel js unless asked for<br>
> the opposite and it can also be asked to compile the parenscript at<br>> compile-time.<br><br>Does it mean, that these patches won't be put into original ucw branch<br>and will exist only in ajax branch?<br></blockquote>
</div><br>see above<br><br>-- <br>- attila<br><br>"- The truth is that I've been too considerate, and so became unintentionally cruel...<br> - I understand.<br> - No, you don't understand! We don't speak the same language!"
<br><br>Ingmar Bergman - Smultronstället (Wild Strawberries)