# |
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 |
# |
Oct 14th 2019, 14:39 |
admad |
> Why it’s on Discord, I have no idea One good reason is Discord doesn't block users from countries which US has sanctions against, unlike Slack |
# |
Oct 14th 2019, 14:38 |
admad |
vue's popularity continues to grow |
# |
Oct 14th 2019, 14:36 |
neon1024 |
So fast, there are two support channels |
# |
Oct 14th 2019, 14:36 |
ricksaccous |
you're with all the zoomers |
# |
Oct 14th 2019, 14:36 |
neon1024 |
No, pretty fast. |
# |
Oct 14th 2019, 14:36 |
ricksaccous |
lol |
# |
Oct 14th 2019, 14:36 |
neon1024 |
Why it’s on Discord, I have no idea |
# |
Oct 14th 2019, 14:36 |
ricksaccous |
is it slow moving? |
# |
Oct 14th 2019, 14:36 |
neon1024 |
Nope, I’ve only asked a few questions and I’ve been ignored most times |