# |
Feb 11th 2020, 09:48 |
challgren |
theres plugins that do just json calls |
# |
Feb 11th 2020, 09:48 |
damiano |
i only need api, so 100% json calls |
# |
Feb 11th 2020, 09:47 |
challgren |
cake renders the html template and handles the json |
# |
Feb 11th 2020, 09:47 |
damiano |
i mean...in my projects i will never render anything from server |
# |
Feb 11th 2020, 09:47 |
damiano |
but in this case are you using cake for json responses or not? |
# |
Feb 11th 2020, 09:46 |
challgren |
Simple 1 page with a contact form |
# |
Feb 11th 2020, 09:46 |
challgren |
Nope |
# |
Feb 11th 2020, 09:46 |
damiano |
are you using vue ? |
# |
Feb 11th 2020, 09:45 |
challgren |
I have a single page site that uses cake in the backend |
# |
Feb 11th 2020, 09:45 |
challgren |
I wouldnt think its too big/much |
# |
Feb 11th 2020, 09:43 |
damiano |
does it have any sense to use a well structured framework for very simple project? the app calls endpoints often so i wonder if using cakephp will be "too much" for such simple projects (but with *heavy load*) |
# |
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. |