# |
Mar 13th 2019, 10:23 |
neon1024 |
How do I load my plugin in my plugins test bootstrap php using the new ->addPlugin() method? |
# |
Mar 13th 2019, 10:22 |
dereuromark |
I always do the same thing for my apps on login :slightly_smiling_face: |
# |
Mar 13th 2019, 10:16 |
challgren |
Anyone find this useful? https://github.com/CakeDC/users/pull/777 |
# |
Mar 13th 2019, 10:09 |
kaliel |
hello everyone, i use in my boostrap.php an extra config file (app_dev.php) which ovveride the default datasource when environement is DEV. But when i use CLI (bin/cake migrations migrate), it still use the production database, any idea ? |
# |
Mar 13th 2019, 10:01 |
neon1024 |
Ah, must have scrolled past the scope bit |
# |
Mar 13th 2019, 10:00 |
neon1024 |
Can I use the Log class to simply log something to a text file, without writing to all the loggers? |
# |
Mar 13th 2019, 09:53 |
rrd564 |
I want to set a virtual filed based on the logged in user's data. Can I access that somehow? |
# |
Mar 13th 2019, 09:51 |
neon1024 |
Pre-optimisation to the max! ;) |
# |
Mar 13th 2019, 09:50 |
neon1024 |
Not to sound silly, but I do agree with @dereuromark worrying about this kinda thing is a little fruitless |
# |
Mar 13th 2019, 09:50 |
acosonic |
Hm, yeah I guess storing them somewhere for "just in case" if required, I'm still researching this, preparing for some new projects... |
# |
Mar 13th 2019, 09:49 |
neon1024 |
Usually preferred to contribute back to the repo though I’d say |
# |
Mar 13th 2019, 09:48 |
neon1024 |
If you think something is flaky I suppose you could fork it and deploy your own fork |
# |
Mar 13th 2019, 09:46 |
acosonic |
Yeah I guess |
# |
Mar 13th 2019, 09:46 |
neon1024 |
Although it does raise the issue of CakePHP LTS releases |
# |
Mar 13th 2019, 09:46 |
dereuromark |
Guideline: Do not care about vendor dependencies. Care only about your stuff and direct used dependencies. The rest will sort itself out somewhere along the line. |
# |
Mar 13th 2019, 09:46 |
neon1024 |
..and on the flip side, you can see from Composer some of the Symfony components coming down too |
# |
Mar 13th 2019, 09:45 |
neon1024 |
So at least from a support standpoint, you know the core team will support their own implementations of the tooling provided in the framework for the future :slightly_smiling_face: |
# |
Mar 13th 2019, 09:44 |
neon1024 |
Usually roll your own in Cake, as the core team maintain their own Http stack, rather than using Foundation, and maintain their own HttpClient rather than Guzzle, and took over Migrations to maintain that, and have put their own layer on DateTime |
# |
Mar 13th 2019, 09:43 |
neon1024 |
As for lots of packages, well that’s always a balance choice for the core team. Maintain stuff themselves or rely on other people |
# |
Mar 13th 2019, 09:43 |
neon1024 |
Perhaps investigate Symfony Flex? That gives you a flexible componentised approach install |
# |
Mar 13th 2019, 09:42 |
dereuromark |
@acosonic You are funny. Did you try laravel boilerplate lately? It will install literally the whole universe :slightly_smiling_face: They dont seem to mind. |
# |
Mar 13th 2019, 09:42 |
neon1024 |
Perhaps Jordi will get bored and go do something else |
# |
Mar 13th 2019, 09:41 |
neon1024 |
Who even knows if we’ll still be using Composer in a decade from now |
# |
Mar 13th 2019, 09:41 |
neon1024 |
New standards will be released, fashions will change, new packages will emerge |
# |
Mar 13th 2019, 09:41 |
neon1024 |
;) |
# |
Mar 13th 2019, 09:41 |
neon1024 |
That’s why I have a job |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I don’t think software will stay in the same state for more than ayear |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I don’t think software will stay in the same state for 10 years |
# |
Mar 13th 2019, 09:40 |
acosonic |
Hm... |
# |
Mar 13th 2019, 09:40 |
neon1024 |
I’d think people will upgrade to Cake 4, and some plugins will not be updated |
# |
Mar 13th 2019, 09:40 |
neon1024 |
My gut says, no, of course they won’t be available |
# |
Mar 13th 2019, 09:39 |
neon1024 |
Nobody knows the answer to that question. |
# |
Mar 13th 2019, 09:23 |
acosonic |
My fear is situation 10y from now and I still need to use it, will those libs be available, or? |
# |
Mar 13th 2019, 09:23 |
acosonic |
https://youtu.be/dbgZ15hoL4Y |
# |
Mar 13th 2019, 09:23 |
acosonic |
Hi, so I am testing some cakephp 3 "boilerplate" with composer... Is it supposed to install so many libraries? |
# |
Mar 13th 2019, 09:06 |
roel |
@dereuromark Thank you for your response, I'll look into that :slightly_smiling_face: |
# |
Mar 13th 2019, 09:03 |
dereuromark |
@roel you could check if https://github.com/dereuromark/cakephp-translate could be adjusted to your needs. You could also have a separate (non-admin) frontend for those tables for your users, adjusted what they are allowed to do, and you then could merge/approve based on the input you get from them. |
# |
Mar 13th 2019, 08:52 |
neon1024 |
Morning all |
# |
Mar 13th 2019, 08:52 |
roel |
Hi everyone, Currently I am creating user added translations. Does anyone have experience with this, how I can solve this the "right" way? Create one big table that has all the translations and let it point to other tables and rows? Thanks in advance. |
# |
Mar 13th 2019, 08:50 |
josbeir |
probably not db related :slightly_smiling_face: |
# |
Mar 13th 2019, 08:49 |
josbeir |
check your php-fpm / apache error log |