# |
Sep 30th 2016, 22:32 |
prepender |
cakephp 3* |
# |
Sep 30th 2016, 22:32 |
prepender |
In cakephp what is faster unions or subqueries? |
# |
Sep 30th 2016, 22:08 |
harry1 |
can anyone help with this: http://stackoverflow.com/questions/39780485/cakephp-crud-api-filtering-fields |
# |
Sep 30th 2016, 21:49 |
ndm |
http://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#filtering-by-associated-data |
# |
Sep 30th 2016, 21:48 |
ndm |
@ra7bi What the best way might be always depends... `notMatching('Addresses')` however is most probably the easiest |
# |
Sep 30th 2016, 21:46 |
ra7bi |
:upside_down_face: |
# |
Sep 30th 2016, 21:45 |
savant |
ah shit, dat copy paste :P |
# |
Sep 30th 2016, 21:44 |
Unfaiir |
Ty |
# |
Sep 30th 2016, 21:43 |
savant |
its deployed via docker and dokku: Note: We've since updated the nginx-vhosts support in 0.5.0 to be more rigorously tested and flexible in it's handling of various use cases. |
# |
Sep 30th 2016, 21:43 |
savant |
Unfaiir: we use sphinx |
# |
Sep 30th 2016, 21:38 |
ra7bi |
what it the best way to find all records do not have associated records for example , if i have users and address i want to get all users that do not have address , |
# |
Sep 30th 2016, 21:38 |
Unfaiir |
What does cakephp.org use for its documentation? |
# |
Sep 30th 2016, 21:33 |
ra7bi |
hello |
# |
Sep 30th 2016, 21:06 |
dereuromark |
hehe, well |
# |
Sep 30th 2016, 21:05 |
NickBusey |
if step 1 of the docs and tutorials were 'install cakebox' I'm sure it'd be used much more |
# |
Sep 30th 2016, 21:05 |
NickBusey |
I'm pretty sure I've been through all the docs and don't remember seeing it mentioned anywhere |
# |
Sep 30th 2016, 20:54 |
dereuromark |
If it was used more actively, I bet there would be so much knowledge around it and you can program with it on windows, mac and ubuntu exactly the same |
# |
Sep 30th 2016, 20:53 |
dereuromark |
I wondered today why not soo many people use cakebox, it looks like a really awesome idea |
# |
Sep 30th 2016, 20:53 |
NickBusey |
huh, hadn't seen cakebox before, looks pretty cool. I've been using puphpet |
# |
Sep 30th 2016, 20:42 |
dereuromark |
but even so, they are just not properly used, cakebox is not finding them |
# |
Sep 30th 2016, 20:42 |
dereuromark |
well, I wouldnt version control them :slightly_smiling_face: use bower |
# |
Sep 30th 2016, 20:22 |
NickBusey |
which makes me realize I probably shouldn't even have them in git, but include them through composer. which I just did, now to figure out the config to expose the font files to webroot.. |
# |
Sep 30th 2016, 20:15 |
NickBusey |
I have plenty of issues with fontawesome, not 404, but git corrupting the font files |
# |
Sep 30th 2016, 20:13 |
dereuromark |
Does anyone have issues with fonts/assets (fontawesome) and cakebox? 404 even though they are there? |
# |
Sep 30th 2016, 19:44 |
watermark |
what does ResultSet->first() return if the set is empty? null? Docs don't say and reading the code is confusing af |
# |
Sep 30th 2016, 18:54 |
NickBusey |
after that it's just ORM updates, but if your app is really that big, I'd suggest starting with one chunk at a time |
# |
Sep 30th 2016, 18:54 |
NickBusey |
the upgrade tool will get you 70% of the way there |
# |
Sep 30th 2016, 18:51 |
Unfaiir |
I was just wondering if there is a guide somewhere to make this process less tedious, maybe from someone whos done it |
# |
Sep 30th 2016, 18:50 |
Unfaiir |
Migrating seems intimidating though, my app has 78 controllers and 107 models, 30 components, 2 Behaviors and heavily depends on Containable |
# |
Sep 30th 2016, 18:45 |
Unfaiir |
I have composer on lock, love it! |
# |
Sep 30th 2016, 18:43 |
NickBusey |
yea I've had pretty much 0 issues migrating |
# |
Sep 30th 2016, 18:42 |
savant |
and the routing layer enhancements |
# |
Sep 30th 2016, 18:42 |
savant |
integrating with composer (and learning to love composer/non-cakephp specific libs) |
# |
Sep 30th 2016, 18:41 |
savant |
your biggest changes will be the orm |
# |
Sep 30th 2016, 18:41 |
savant |
Unfaiir: its pretty similar |
# |
Sep 30th 2016, 18:41 |
Unfaiir |
Anyone have any recommendations on learning CakePHP 3.x, coming from a CakePHP 2.x background? |
# |
Sep 30th 2016, 18:34 |
NickBusey |
indeed :) |
# |
Sep 30th 2016, 18:34 |
savant |
P |
# |
Sep 30th 2016, 18:34 |
savant |
we've got quite a few codebases to maintain |
# |
Sep 30th 2016, 18:33 |
savant |
yeah |
# |
Sep 30th 2016, 18:33 |
NickBusey |
It does look like HavokInspiration was editing the cake docs just yesterday though, so he(?) is around at least |