# |
Feb 11th 2020, 09:40 |
damiano |
guys pardon for the stupid question, is CakePHP too big to handle a project that only provide few APIs?...I am building an application with Vue.js and i will only call endopoints, without rendering any template, the calls will always be in json |
# |
Feb 11th 2020, 09:37 |
damiano |
hi |
# |
Feb 11th 2020, 09:26 |
challgren |
Paging on Associated data any docs on that? |
# |
Feb 11th 2020, 08:43 |
kaliel |
good morning all :croissant::coffee::baguette_bread: |
# |
Feb 11th 2020, 07:46 |
challgren |
Evening! |
# |
Feb 11th 2020, 07:21 |
conehead |
good morning! |
# |
Feb 11th 2020, 06:26 |
javier.villanueva |
morning all o/ |
# |
Feb 11th 2020, 01:54 |
lpj145 |
the advantage of ExpressRequest by the way, is a less dependency of cake php. |
# |
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: |