Log message #4208710

# At Username Text
# Oct 14th 2019, 14:53 neon1024 cents, pence, etc
# Oct 14th 2019, 14:53 nils @neon1024 not sure what you mean by “minor denominations”
# Oct 14th 2019, 14:53 ricksaccous these radio buttons given this class and these data properties would hide/show x field
# Oct 14th 2019, 14:52 ricksaccous and operate based on that
# Oct 14th 2019, 14:52 ricksaccous i search for inputs with certain classes and data- attributes attached
# Oct 14th 2019, 14:52 ricksaccous with jquery i generify that to some degree
# Oct 14th 2019, 14:52 alexdd55976 you could trigger stuff through changes.
# Oct 14th 2019, 14:51 ricksaccous changing rules based on selections/etc
# Oct 14th 2019, 14:51 ricksaccous another common thing is hiding/showing fields based on certain selections
# Oct 14th 2019, 14:50 alexdd55976 i will build some stuff with it and try to make it so generic that hopefully its helpfull for others too
# Oct 14th 2019, 14:49 ricksaccous there are a few gotchas when you work with ajax/manipulating data you get back
# Oct 14th 2019, 14:49 ricksaccous build*
# Oct 14th 2019, 14:48 ricksaccous i noticed that for select option lists it's often better to use a query that organizes things into an array because when you jsonify an array it's order doesn't get mangled by the json conversion
# Oct 14th 2019, 14:48 ricksaccous but it's good that if i built it once i can re-use it
# Oct 14th 2019, 14:47 ricksaccous it would be nice if it had some logic built in to do some of those common tasks automagically
# Oct 14th 2019, 14:47 ricksaccous oh
# Oct 14th 2019, 14:47 alexdd55976 its a workaround, but it makes such things possible
# Oct 14th 2019, 14:47 alexdd55976 just change the content of the object
# Oct 14th 2019, 14:46 alexdd55976 kind of easy ... yes
# Oct 14th 2019, 14:46 ricksaccous i really should take some time and get into it
# Oct 14th 2019, 14:46 ricksaccous does vue make stuff like that a breeze?
# Oct 14th 2019, 14:46 ricksaccous and stuff like changing select options based on other options
# Oct 14th 2019, 14:46 ricksaccous what i'm most interested in is displaying errors on ajax via a js framework like vue
# Oct 14th 2019, 14:45 alexdd55976 thorugh the nature of php its no "real databinding" but its very easy to use it as this
# Oct 14th 2019, 14:45 alexdd55976 @ricksaccous you can "bind and observe" a json object and can react on those changes in both ways
# Oct 14th 2019, 14:44 ricksaccous ohhhhh
# Oct 14th 2019, 14:44 neothermic i.e. ignoring comments/whitespace
# Oct 14th 2019, 14:44 ricksaccous oh
# Oct 14th 2019, 14:44 neothermic Source Lines of Code
# Oct 14th 2019, 14:44 ricksaccous what does the S mean again in SLoC
# Oct 14th 2019, 14:44 neothermic also not forgetting that the whole platform is about 500k SLoC :P
# Oct 14th 2019, 14:44 ricksaccous that's tough mang
# Oct 14th 2019, 14:44 ricksaccous lol
# Oct 14th 2019, 14:44 neothermic and we only have two devs :)
# Oct 14th 2019, 14:44 ricksaccous lol i figured for some reason it was something like that since you mentioned watermarking
# Oct 14th 2019, 14:43 neothermic we have a couple thousands of lines that we'd have to rewrite
# Oct 14th 2019, 14:43 neothermic and before you say move to something else
# Oct 14th 2019, 14:43 neothermic @admad it's pdflib :slightly_smiling_face:
# Oct 14th 2019, 14:43 ricksaccous @alexdd55976 what do you mean by two way databinding?
# Oct 14th 2019, 14:42 alexdd55976 i discovered that it makes two way databinding very easy. we will add it to the new project
# Oct 14th 2019, 14:40 admad plus they provide features like unlimited history for open source community, unlike Slack