# |
Dec 29th 2018, 00:51 |
asdfgh |
what name should i use? |
# |
Dec 29th 2018, 00:51 |
asdfgh |
last question for this night...at the moment i have these tables: agents, jobs, agents_jobs now i have to create something like agents_jobs_assessments so basically i table that is pointing to the PK of the agents_jobs table |
# |
Dec 29th 2018, 00:30 |
asdfgh |
too late here ahah |
# |
Dec 29th 2018, 00:30 |
asdfgh |
nevermind :) |
# |
Dec 29th 2018, 00:30 |
asdfgh |
OPS OK |
# |
Dec 29th 2018, 00:24 |
dereuromark |
> the definition of cake ;) |
# |
Dec 29th 2018, 00:24 |
dereuromark |
if you google it you find "rapid app development" |
# |
Dec 29th 2018, 00:19 |
asdfgh |
dereuromark, pardon for the stupid question but, what do you mean with cake ""RAD"" ? |
# |
Dec 29th 2018, 00:15 |
dereuromark |
why would you need an extra plugin |
# |
Dec 29th 2018, 00:15 |
dereuromark |
isnt cake RAD enough to make any survey easily?^^ |
# |
Dec 29th 2018, 00:09 |
asdfgh |
is there a good survey plugin for cakephp 3.7 ? |
# |
Dec 29th 2018, 00:09 |
asdfgh |
hello |
# |
Dec 28th 2018, 22:55 |
dereuromark |
depending on if you also need prefixed ones etc. |
# |
Dec 28th 2018, 22:55 |
dereuromark |
you can otherwise also see what IdeHelper does to list all. |
# |
Dec 28th 2018, 21:49 |
challgren |
@joopm https://stackoverflow.com/questions/25892594/list-all-controllers-actions-in-cakephp-3 |
# |
Dec 28th 2018, 21:14 |
joopm |
i would like to get a list about the controllers |
# |
Dec 28th 2018, 21:14 |
joopm |
in 3 |
# |
Dec 28th 2018, 21:14 |
joopm |
but i havent read about if it was illuminated |
# |
Dec 28th 2018, 21:13 |
joopm |
App::objects('Controller');,this was supperted in 2 |
# |
Dec 28th 2018, 21:13 |
joopm |
i would like to use something from cakephp2 in cakephp3 |
# |
Dec 28th 2018, 21:12 |
joopm |
hello all |
# |
Dec 28th 2018, 19:45 |
tomas.saghy |
and I somehow cannot get the idea how to replace `notEmpty` with for instance `allowEmptyString` |
# |
Dec 28th 2018, 19:44 |
tomas.saghy |
about `allowEmpty*` functions… you sent me a link to example calling `notEmptyString` but there is no such method in the Validator class |
# |
Dec 28th 2018, 19:38 |
tomas.saghy |
thanks for your response. the problem is, that when something is deprecated, you can somehow change your code so you will be ready for newer version (4.x). but there is no replacement here and hasRendered is still used in render() call |
# |
Dec 28th 2018, 14:18 |
challgren |
Ok i sent you a private msg btw |
# |
Dec 28th 2018, 14:17 |
G00DSP33D |
Going to head in a meeting now to explain the approach. Meanwhile enjoy the upcoming weekend and all the best for 2019! |
# |
Dec 28th 2018, 14:16 |
G00DSP33D |
Again, thanks a lot for your research as well, I hope it also helps you along the 3.x route. Will definitely report back beginning of next week as soon as we can build a proof of concept! |
# |
Dec 28th 2018, 14:15 |
challgren |
Yep, but even if your tests just flex the code you can identify issues |
# |
Dec 28th 2018, 14:15 |
G00DSP33D |
We will however not make that mistake again, as we pulled out quite some hair along the way. |
# |
Dec 28th 2018, 14:15 |
G00DSP33D |
At first our focus was to develop something that could hit the market and ship as viable. And you know how it goes from there. Business starts growing, and focus is on selling more instead of improving and refactoring. |
# |
Dec 28th 2018, 14:14 |
challgren |
But now that I started my app in 3.6 I jumped to 3.7 pretty easy with the tests identifying the deprecated methods |
# |
Dec 28th 2018, 14:13 |
G00DSP33D |
We too ;-) |
# |
Dec 28th 2018, 14:13 |
G00DSP33D |
Alas it wasn't :p |
# |
Dec 28th 2018, 14:13 |
challgren |
Ive learned that the hard way |
# |
Dec 28th 2018, 14:13 |
challgren |
It only causes nightmares if your code isnt DRY |
# |
Dec 28th 2018, 14:13 |
G00DSP33D |
Yes, testing is something we never did in our current iteration of the CMS, and it has caused some nightmares along the way. |
# |
Dec 28th 2018, 14:12 |
G00DSP33D |
Right now we're in the research phase, trying to soak in as much as possible information about 3.x, ensuring that we can rebuild every feature in the best and most flexible way available. |
# |
Dec 28th 2018, 14:12 |
challgren |
Also I would highly recommend writing testcases |
# |
Dec 28th 2018, 14:11 |
G00DSP33D |
Aha, finally I can say for once that we know this one and are planning to use it during the migration :D ... |
# |
Dec 28th 2018, 14:10 |
challgren |
Along with https://github.com/dereuromark/upgrade |
# |
Dec 28th 2018, 14:09 |
challgren |
https://github.com/dereuromark/cakephp-shim may help a bit too |