# |
Jun 27th 2017, 12:16 |
louis |
Hi there, i’m trying to do something like this : ` $company = $this->Companies->get($id, [ ‘contain’ => [ ‘CompanyImages’, ‘Subscriptions.Plans’ => function ($q) { return $q->find(‘notFinish’); } ] ]); ` Obviously the ORM try to find custom finder in PlansTable but it’s implemented in SubscriptionsTable, how could i |
# |
Jun 27th 2017, 12:16 |
pidlo |
howto replace inputdefaULTS? |
# |
Jun 27th 2017, 12:15 |
pidlo |
The inputDefaults option has been removed from create.. |
# |
Jun 27th 2017, 11:46 |
pidlo |
is this reason ? https://stackoverflow.com/questions/29578825/which-approach-is-best-to-get-instance-of-a-table-in-cakephp-3-0 |
# |
Jun 27th 2017, 11:45 |
pidlo |
how can i replace table registrz inside model in cakephp 2 something like registrz init... |
# |
Jun 27th 2017, 11:44 |
pidlo |
https://gist.github.com/anonymous/357f25034aa4d6307d3d77dd7bb30b7d |
# |
Jun 27th 2017, 11:44 |
pidlo |
hello cakephp3 vs 2 :( |
# |
Jun 27th 2017, 11:04 |
elboletaire |
yeah yarn seems to be better in a majority of cases (I've found cases where it does not work as expected, specially installing global packages) |
# |
Jun 27th 2017, 10:59 |
dakota |
In our small reactjs based application yarn is around 4 times faster than npm to install |
# |
Jun 27th 2017, 10:59 |
neon1024 |
Seems interesting @dakota https://yarnpkg.com/lang/en/ |
# |
Jun 27th 2017, 10:44 |
cleptric |
I just need it during compling to css |
# |
Jun 27th 2017, 10:43 |
neon1024 |
Ah right, okay |
# |
Jun 27th 2017, 10:43 |
neon1024 |
Yes, seems it does. http://sass-lang.com/documentation/file.SASS_REFERENCE.html#import |
# |
Jun 27th 2017, 10:43 |
cleptric |
Which sucks :) |
# |
Jun 27th 2017, 10:43 |
cleptric |
Yes, I found import, but that copies the whole content to my app sass file |
# |
Jun 27th 2017, 10:43 |
neon1024 |
@cleptric No idea actually. You can certainly import partials and mixins easily. I’m just not sure if you can specify a path. |
# |
Jun 27th 2017, 10:42 |
cleptric |
@neon1024 regarding saas: `@import (reference) "../../vendors/bower_components/bootstrap/less/mixins.less";` Can you do sth like this? We’ll switch to saas when Bootstratp 4 comes out, so i just looked into less so far |
# |
Jun 27th 2017, 10:41 |
cleptric |
just for this small tasks |
# |
Jun 27th 2017, 10:41 |
cleptric |
Now, my node_modules folder is 100 MB |
# |
Jun 27th 2017, 10:39 |
cleptric |
I use it to install grunt and a js code sniffer |
# |
Jun 27th 2017, 10:39 |
cleptric |
I have mixed feelings about npm anyways |
# |
Jun 27th 2017, 10:39 |
dakota |
but yarn is |
# |
Jun 27th 2017, 10:38 |
cleptric |
But npm isn’t faster than bower |
# |
Jun 27th 2017, 10:38 |
dakota |
exactly :) |
# |
Jun 27th 2017, 10:38 |
cleptric |
Because it’s faster |
# |
Jun 27th 2017, 10:38 |
neon1024 |
@cleptric A horse and cart works, so why drive a car? ;) |
# |
Jun 27th 2017, 10:38 |
dakota |
yarn is the way of the future :) |
# |
Jun 27th 2017, 10:37 |
cleptric |
It works, so why should I chnage it? |
# |
Jun 27th 2017, 10:37 |
dereuromark |
me too |
# |
Jun 27th 2017, 10:37 |
cleptric |
I used bower |
# |
Jun 27th 2017, 10:37 |
neon1024 |
It did always seems a bit odd to use a package manager to install a package manager. |
# |
Jun 27th 2017, 10:34 |
spriz |
NPM all the things |
# |
Jun 27th 2017, 10:34 |
spriz |
To me Bower is dead :P |
# |
Jun 27th 2017, 10:34 |
spriz |
I do not see any reason to use bower anymore :thinking_face: anyone can fill me in? |
# |
Jun 27th 2017, 10:25 |
maymeow |
im still using bootstrap 3 (for now) |
# |
Jun 27th 2017, 10:25 |
birdy247 |
bootstrap 4 is sass |
# |
Jun 27th 2017, 10:23 |
maymeow |
yes |
# |
Jun 27th 2017, 10:23 |
neon1024 |
I think Twitter Bootstrap is built using Less though |
# |
Jun 27th 2017, 10:23 |
neon1024 |
I found Less first, as I read about Compass, which was the front-end framework built on Less |
# |
Jun 27th 2017, 10:22 |
neon1024 |
#badanalogies |
# |
Jun 27th 2017, 10:22 |
neon1024 |
They’re like flavours of ice cream. They’re all a bit different, but they’re all ice cream at the end of the day :P |