# |
Feb 11th 2020, 01:51 |
lpj145 |
try to use ;) |
# |
Feb 11th 2020, 01:51 |
lpj145 |
further ahead i show complete plugin. |
# |
Feb 11th 2020, 01:49 |
lpj145 |
@ndm yes, similiar, but, for me, is better because of expressiveness. |
# |
Feb 10th 2020, 23:51 |
ndm |
@lpj145 Ohhhh, now I see where you're going. I kinda misunderstood what you were doing, I thought you'd build something like an abstracted quasi frontend query language (I can't think of the right term right now). Now I feel a little bad, because on a first glance that looks somewhat similar to friendsofcake/search :slightly_frowning_face: |
# |
Feb 10th 2020, 23:50 |
ricksaccous |
and wrong groupings |
# |
Feb 10th 2020, 23:49 |
ricksaccous |
was permissions |
# |
Feb 10th 2020, 23:49 |
ricksaccous |
the command wasn't executable by www-data |
# |
Feb 10th 2020, 23:49 |
ricksaccous |
i figured it out |
# |
Feb 10th 2020, 23:19 |
lpj145 |
if you accept, try add logs on command, to see initial, middle, end steps of execution. |
# |
Feb 10th 2020, 23:18 |
lpj145 |
what you command try execute ? crud operations ? |
# |
Feb 10th 2020, 23:16 |
ricksaccous |
i'm having a spot of trouble, oh well |
# |
Feb 10th 2020, 23:16 |
ricksaccous |
they update when i run the command manually |
# |
Feb 10th 2020, 23:16 |
ricksaccous |
what's strange is the cron job, when i look at the sys log says it's running but my jobs aren't updating |
# |
Feb 10th 2020, 23:15 |
ricksaccous |
yeah, www-data is the one that has permissions to write files and i want to test the command as www-data |
# |
Feb 10th 2020, 23:13 |
lpj145 |
you www-data is owner of cake project folder ? |
# |
Feb 10th 2020, 23:12 |
ricksaccous |
not as my current user |
# |
Feb 10th 2020, 23:12 |
ricksaccous |
it's not an error i want to be able to run bin/cake queue runworker -q as www-data |
# |
Feb 10th 2020, 23:12 |
lpj145 |
tell exact error you see. |
# |
Feb 10th 2020, 23:11 |
ricksaccous |
i'm having trouble figuring out a way to test this cron job |
# |
Feb 10th 2020, 23:11 |
ricksaccous |
i want to try running one as www-data to see if it works |
# |
Feb 10th 2020, 23:11 |
ricksaccous |
has anyone ever run a bin/cake task as another user? |
# |
Feb 10th 2020, 23:10 |
lpj145 |
keys is extreme configurable. |
# |
Feb 10th 2020, 23:09 |
slackebot |
<lpj145> |
# |
Feb 10th 2020, 23:09 |
lpj145 |
@ndm this is my expression params plugin, i created this to improve search, page on clear configurable way to cake action controllers. |
# |
Feb 10th 2020, 22:40 |
btx |
@challgren exactly what I was looking for, thanks! and thanks @neon1024 nice work :) |
# |
Feb 10th 2020, 21:58 |
ricksaccous |
for if you do this then you will be rewarded by the powers of the open source congregation, you shall be welcomed |
# |
Feb 10th 2020, 21:58 |
ricksaccous |
you shall submit pull requests for the upgrade yourself @generitter i believe in you |
# |
Feb 10th 2020, 21:57 |
generitter |
Does anyone know if an CakePHP 4 upgrade for crud-json-api is in the works anytime soon? |
# |
Feb 10th 2020, 21:10 |
challgren |
@btx https://drive.google.com/file/d/1Duny6gzIDqjzYknjsrddfZ6cbuAPwZEc/view is @neon1024 talk from cakefest |
# |
Feb 10th 2020, 21:10 |
ndm |
There's some staunch Vue users here that might have some actually useful info, I just don't remember who exactly they were. I think maybe @neon1024 or @spriz or... |
# |
Feb 10th 2020, 21:04 |
btx |
well I’m a dum dum so having CakePHP code samples means my brain hurts less |
# |
Feb 10th 2020, 21:02 |
ndm |
I mean the concept should be relatively easy to grasp in general unless things are written in Brainfuck. |
# |
Feb 10th 2020, 21:00 |
ndm |
Well, of course ideally PHP backend :upside_down_face: |
# |
Feb 10th 2020, 21:00 |
btx |
If it’s Vue + Cake I already know Cake pretty well so that’d help |
# |
Feb 10th 2020, 20:59 |
btx |
Yeah but I’d prefer to not have 2+ unknowns. I’ve only dabbled in Vue so if it was Vue + .NET or something I’d have to first learn what I’m looking at with the new lang and _then_ learn how to integrate them |
# |
Feb 10th 2020, 20:58 |
ndm |
classic |
# |
Feb 10th 2020, 20:58 |
ndm |
Lol, the first tutorial I stumble upon on Google uses Comic Sans and teaches me how to do SQL injection vulnerabilities : ```$name = $_POST["name"]; // ... $sql = "insert into contacts (name, email, city, country, job) values ('$name', '$email', '$city', '$country', '$job')";``` |
# |
Feb 10th 2020, 20:56 |
ndm |
I don't know any, but shouldn't theoretically any Vue + backend tutorial work with regards to how optimizations would generally work? |
# |
Feb 10th 2020, 20:51 |
btx |
or really any JS front-end with two-way data binding capabilities for dynamic UIs |
# |
Feb 10th 2020, 20:46 |
btx |
anyone know any good tutorials/posts on VueJS front-end with CakePHP API backend? Seems like I’m always duplicating logic for the front-end. I’m sure there’s a more stable way to approach this. |
# |
Feb 10th 2020, 15:48 |
FunkadelicRelic |
@ndm - Good spot - thanks. I think the @beta installs that old version then. Specifying :3.0.0-beta seemed to do the trick - just need to install NPM for the install to work. I'm going to give that a go now. Thank you! |