# |
Jun 28th 2019, 04:22 |
savant |
Maybe the biggest bit I can think of is needing to add Namespaces for any classes you are using, but thats a PHP thing, not specific to CakePHP. I don’t know of any modern framework that does not use namespaces. |
# |
Jun 28th 2019, 04:21 |
savant |
> there was no frameworks or anything stupid by definition, CakePHP is a framework, but is there something specific that you find more difficult now? |
# |
Jun 28th 2019, 04:21 |
glenn.e |
happy to relearn but this just feels backwards to how it used to be |
# |
Jun 28th 2019, 04:20 |
savant |
You will need to pass the system requirements (php version, one or two extensions) but its the same workflow |
# |
Jun 28th 2019, 04:20 |
savant |
If you download and extract that, you’re done. |
# |
Jun 28th 2019, 04:19 |
savant |
For 3.8.0, the release link https://github.com/cakephp/cakephp/releases/tag/3.8.0 has a zip attached (its not the source code zip) |
# |
Jun 28th 2019, 04:19 |
glenn.e |
i got one installed through cpanel |
# |
Jun 28th 2019, 04:18 |
savant |
You can definitely still download a tarball of CakePHP and start using it as is |
# |
Jun 28th 2019, 04:18 |
glenn.e |
the projects that i wrote before using cake, it was just extract and there was the structure and you could start writing. there was no frameworks or anything stupid it was just raw code that worked well that you could build on. |
# |
Jun 28th 2019, 04:16 |
savant |
Is there specific feedback you have for the project? |
# |
Jun 28th 2019, 04:16 |
savant |
The biggest changes have been adoption of composer (which I think is a great boon, compared to what was available in the past) and modern PHP (which allowed us to remove a _ton_ of cruft and make the internals quite a bit more flexible/powerful) |
# |
Jun 28th 2019, 04:15 |
savant |
@glenn.e it is the same people working on cakephp now as it was 5 years ago |
# |
Jun 28th 2019, 04:13 |
glenn.e |
what the hell happened, who let millennials near this |
# |
Jun 28th 2019, 04:12 |
glenn.e |
for quick build up |
# |
Jun 28th 2019, 04:12 |
glenn.e |
5 years ago it was a perfect design |
# |
Jun 28th 2019, 04:12 |
glenn.e |
what happened to cakephp |
# |
Jun 28th 2019, 02:28 |
challgren |
@nuzulfikrie check out cakedc/users plugin |
# |
Jun 28th 2019, 02:16 |
nuzulfikrie |
hi support , i am n00b with Cakephp using cakephp/authentication from https://github.com/cakephp/authentication. How do you configure the controllers ?. |
# |
Jun 27th 2019, 21:27 |
stephenzgalbraith |
Does a 'through' association require an auto incremented id column in the join table? I am trying to use a through association and the data becomes available in the '_joinData |
# |
Jun 27th 2019, 21:14 |
neothermic |
and I can't get it to actually invoke it successfuly |
# |
Jun 27th 2019, 21:14 |
neothermic |
meh, trying to invoke cake's console via systemd's timers |
# |
Jun 27th 2019, 18:24 |
ricksaccous |
i see |
# |
Jun 27th 2019, 18:24 |
vossen.steven |
yea i use it as top level only atm as well, since other stuff are always on a per client basis |
# |
Jun 27th 2019, 18:20 |
ricksaccous |
i'm just worried about dealing with this when i have those special permissions, but i suppose that might be a different set of permissions, and whatever i have now is sufficient for top level access |
# |
Jun 27th 2019, 18:20 |
ricksaccous |
@vossen.steven thanks for the suggestion though, that's helpful |
# |
Jun 27th 2019, 18:13 |
ricksaccous |
I'm guessing I'll have to use multiple policies when i get to those points |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
I will also have special case permissions that affect other aspects, ie do not show x in view or modify this query in the controller |
# |
Jun 27th 2019, 18:12 |
vossen.steven |
yup |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
or if you go levels down, it goes down to levels of that permission? |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
for example |
# |
Jun 27th 2019, 18:12 |
ricksaccous |
ah so if it's just plugin you only go to plugin level? |
# |
Jun 27th 2019, 18:11 |
vossen.steven |
i do the same ish but I use a combination of plugin/controller/action |
# |
Jun 27th 2019, 18:11 |
ricksaccous |
what's a better solution? |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
might get unwieldy if i need special cases/etc for each url |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
i check what they have in the policy and allow them based on url |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
basically these will plop out a list and users can select these permissions |
# |
Jun 27th 2019, 18:10 |
ricksaccous |
so these are kind of how i organized my permissions, i'm using the authorize plugin and one request policy, is this a horrible way to do it? |
# |
Jun 27th 2019, 18:09 |
ricksaccous |
Permissions |
# |
Jun 27th 2019, 16:34 |
jeremyharris |
that is the same error :slightly_smiling_face: just without header errors. I think the code you posted above is fine |
# |
Jun 27th 2019, 16:32 |
nudl3ss |
the code that i speak is in the beginnig of the action upload and verify where is defined new $client |
# |
Jun 27th 2019, 16:32 |
nudl3ss |
And now I dont know, i think i didnt change anything is giving me this err |