# |
Jun 28th 2019, 05:39 |
admad |
@mehov only getters won't be deprecated. `association()` was deprecated cause it was split into `getAssocation()` and `hasAssociation()`. `getAssociation()` will throw exception for non existent name while `association()` didnt |
# |
Jun 28th 2019, 05:37 |
mehov |
Just found `association()` which in fact did get deprecated and replaced with `getAccociation()`: https://github.com/cakephp/cakephp/commit/2784f16bec47a41084d9e4f82926e4816651ae8a#diff-d36d5650ddbf69668bdd04f31f4a7a42R877 Seems strange why `associations()` wouldn't be, but anyway thanks for confirming! |
# |
Jun 28th 2019, 05:30 |
admad |
@mehov if it hasnt been already in 3.8.0 it won't be :slightly_smiling_face: |
# |
Jun 28th 2019, 05:28 |
mehov |
Hey guys, I was looking at https://api.cakephp.org/3.7/class-Cake.ORM.Table.html#_associations and wondering if `associations()` will get deprecated and replaced with something like `getAssociations()` anytime soon? That'd seem in line with these https://github.com/cakephp/cakephp/commit/9adee92813dd15bc7da296e781e80b75e60076c0#diff-78d8ad0057861d185ebe8463fcc1b49f for example |
# |
Jun 28th 2019, 04:35 |
glenn.e |
guess i got an afternoon of reading now |
# |
Jun 28th 2019, 04:35 |
savant |
it goes through creating a quick CMS and shows off a bunch of functionality that will hopefully give you a good frame of reference |
# |
Jun 28th 2019, 04:35 |
glenn.e |
i just need to read where things go |
# |
Jun 28th 2019, 04:34 |
savant |
https://book.cakephp.org/3.0/en/tutorials-and-examples/cms/installation.html |
# |
Jun 28th 2019, 04:34 |
savant |
you might want to walk through the cakephp tutorials |
# |
Jun 28th 2019, 04:33 |
glenn.e |
i just needed to throw together a quick CRM |
# |
Jun 28th 2019, 04:33 |
savant |
If you decide to stick with us, feel free to ask any questions, we’ll be happy to help |
# |
Jun 28th 2019, 04:32 |
savant |
I’m not going to comment on whether I think usercake/userspice is good or not, I already like CakePHP and it provides a lot of functionality to create very complex apps in a structured way |
# |
Jun 28th 2019, 04:31 |
savant |
looking at “usercake”, seems like its now “userspice” |
# |
Jun 28th 2019, 04:31 |
savant |
lol |
# |
Jun 28th 2019, 04:31 |
glenn.e |
:P |
# |
Jun 28th 2019, 04:31 |
glenn.e |
it may of been usercake |
# |
Jun 28th 2019, 04:31 |
glenn.e |
i may owe you and the team an apology |
# |
Jun 28th 2019, 04:30 |
glenn.e |
hhmm |
# |
Jun 28th 2019, 04:29 |
savant |
What was the last cakephp version you used before 3.x? |
# |
Jun 28th 2019, 04:28 |
glenn.e |
i know i know |
# |
Jun 28th 2019, 04:28 |
savant |
I’m not trying to be an asshole here, really trying to understand what is the blocker |
# |
Jun 28th 2019, 04:28 |
glenn.e |
reading the documentation now |
# |
Jun 28th 2019, 04:28 |
savant |
What isn’t as “RAW”, and what hoops are there? |
# |
Jun 28th 2019, 04:28 |
glenn.e |
because it is not RAW as it used to be, need to work out the hoops to jump through |
# |
Jun 28th 2019, 04:25 |
savant |
Why can you not do that now? |
# |
Jun 28th 2019, 04:25 |
slackebot |
been kept. |
# |
Jun 28th 2019, 04:25 |
glenn.e |
it was more intuitive, i could just open up the index and start writing functions then add items to the side menu and duplicate the header and footers and continue on to the next. There was just direction with older builds that didn't need documentation to teach you how to use it. It just worked and i have been talking about it for years and now i need it again i just have no idea what happened. The RAW barebones version is how it should of |
# |
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 |