# |
Mar 15th 2019, 10:34 |
dakota |
because buying random scripts always works so well :,) |
# |
Mar 15th 2019, 10:25 |
acosonic |
They say it's same thing for them switching from cake 2 -> Cake 3, or cake 2 -> Laravel, I have 2 seniors and 1 medior, medior does not care, but seniors want to give Laravel a try, since they were "testing" cake 3 yesterday and decided to migrate cake 2 code, now they want to just buy laravel scripts and try to merge them into 1 system... |
# |
Mar 15th 2019, 10:23 |
half2me |
@acosonic is that the only reason why they want to switch to Laravel? |
# |
Mar 15th 2019, 10:21 |
narendravaghela |
@acosonic Same happened with me, my past agency started to adopt Laravel and I left the agency :) |
# |
Mar 15th 2019, 10:18 |
acosonic |
I say it's just good marketing, we will regret it when it comes to some advanced debugging... https://codecanyon.net/item/classic-invoicer/6193251 and https://codecanyon.net/item/acelle-email-marketing-web-application/17796082 also https://codecanyon.net/item/vanguard-advanced-php-login-and-user-management/14521866 perhaps there are cake 3 clones of that? |
# |
Mar 15th 2019, 10:16 |
acosonic |
I know, but they are now purchasing some 3 stuff from codecanyon to test it, they say they will pay from their own pocket... I can share what exactly are they purchasing, if you care... |
# |
Mar 15th 2019, 10:10 |
dakota |
But Cake is so much better :slightly_smiling_face: |
# |
Mar 15th 2019, 10:03 |
acosonic |
Now my team wants to ditch cake 3 and go to Laravel :( they say they don't think that learning curve is too much different, and they insist on Laravel |
# |
Mar 15th 2019, 09:53 |
half2me |
that explains a lot, thanks @berarma |
# |
Mar 15th 2019, 09:52 |
berarma |
Have you read https://book.cakephp.org/3.0/en/orm/associations.html#default-association-conditions ? |
# |
Mar 15th 2019, 09:52 |
half2me |
but I think it might be the same for hasMany as well |
# |
Mar 15th 2019, 09:52 |
half2me |
hasOne |
# |
Mar 15th 2019, 09:52 |
berarma |
@half2me, which association type? |
# |
Mar 15th 2019, 09:52 |
dereuromark |
ping @lorenzo |
# |
Mar 15th 2019, 09:52 |
half2me |
or anyone :slightly_smiling_face: |
# |
Mar 15th 2019, 09:51 |
dereuromark |
I am not the god of ORM :slightly_smiling_face: dunno |
# |
Mar 15th 2019, 09:51 |
half2me |
@dereuromark? |
# |
Mar 15th 2019, 09:51 |
half2me |
Is this intended behavior, or a bug? |
# |
Mar 15th 2019, 09:51 |
dereuromark |
Mint at least looks close to windows, so I guess that will help you :) |
# |
Mar 15th 2019, 09:51 |
half2me |
then it works |
# |
Mar 15th 2019, 09:51 |
half2me |
I have to change the `strategy` option from join to select |
# |
Mar 15th 2019, 09:50 |
half2me |
If I use `orderDesc()` or `limit()` in the finder, it doesn't show up in the generated query |
# |
Mar 15th 2019, 09:50 |
dereuromark |
Mint |
# |
Mar 15th 2019, 09:49 |
half2me |
When defining an association, there is the option to specify a `finder` |
# |
Mar 15th 2019, 09:49 |
berarma |
No |
# |
Mar 15th 2019, 09:49 |
kgb.acct.personal |
Not the Ubuntu one? |
# |
Mar 15th 2019, 09:49 |
berarma |
Debian |
# |
Mar 15th 2019, 09:48 |
kgb.acct.personal |
What distro are you using? |
# |
Mar 15th 2019, 09:47 |
berarma |
It's a pain having to writing one-shot shells for such small tasks. |
# |
Mar 15th 2019, 09:46 |
berarma |
From Windows? It's totally worth it if you like it. I couldn't work on Windows. |
# |
Mar 15th 2019, 09:45 |
kgb.acct.personal |
Is it worth switching to linux for development? |
# |
Mar 15th 2019, 09:45 |
dereuromark |
I have shell commands for all these things, once run I can remove them |
# |
Mar 15th 2019, 09:44 |
dereuromark |
every use case is different |
# |
Mar 15th 2019, 09:44 |
berarma |
Thanks @dereuromark, I had that solution in mind. Just wondering if I'm skipping some already built solution for this. |
# |
Mar 15th 2019, 09:42 |
dereuromark |
build a shell and run it over night^^ |
# |
Mar 15th 2019, 09:42 |
berarma |
Adding columns is no problem. Populating those columns is the problem since it involves joins with big tables. |
# |
Mar 15th 2019, 09:40 |
acosonic |
Migrate data as in add/remove columns, or as in move data...? |
# |
Mar 15th 2019, 09:39 |
berarma |
Hi. How do you migrate data in big tables? I need to update some new fields in a table with thousands of records with data taken from multiple big tables with millions of records. Is there some toolkit to help with this? |
# |
Mar 15th 2019, 09:06 |
neon1024 |
Morning all |
# |
Mar 15th 2019, 09:05 |
acosonic |
@challgren what's this, desktop show-off? :) btw, check my Linkedin article if you want to properly run windows with linux simultaneously... https://www.linkedin.com/pulse/use-your-windows-10-instantly-inside-ubuntu-linux-from-pavic/ |
# |
Mar 15th 2019, 02:51 |
challgren |
Ty @markstory |