# |
Jul 25th 2017, 13:19 |
flxfoo |
hi all, |
# |
Jul 25th 2017, 13:18 |
joris_ |
@admad will do |
# |
Jul 25th 2017, 13:18 |
admad |
@joris_ ping me back after you have used it for a while and if all seems fine i'll make a release |
# |
Jul 25th 2017, 13:17 |
admad |
@joris_ there's hasn't been much feedback for it and i personally don't use it. So it was just "out of sight out of mind" :slightly_smiling_face: |
# |
Jul 25th 2017, 13:09 |
joris_ |
@admad any reason why there aren't releases? |
# |
Jul 25th 2017, 13:08 |
admad |
@joris_ just curious :slightly_smiling_face: |
# |
Jul 25th 2017, 13:03 |
joris_ |
@admad just started using it |
# |
Jul 25th 2017, 12:43 |
admad |
@joris_ how long have you been using the obfuscate plugin? |
# |
Jul 25th 2017, 12:41 |
obinoob |
Hi, whats best practice to validate a set of check boxes? Rule: at least one checkbox must be checked (true) |
# |
Jul 25th 2017, 12:11 |
cleptric |
Why should he? CakePHP is obviously the best choice #notbiased |
# |
Jul 25th 2017, 12:08 |
dereuromark |
4+ likes and it is the first answer :slightly_smiling_face: He cant do anything else than trying cake then :P |
# |
Jul 25th 2017, 12:04 |
dereuromark |
In case you wanna upvote: https://www.reddit.com/r/PHP/comments/6ovgwj/should_i_learn_a_framework_if_i_want_to_build_a/dkowphr/ A small recommendation on his "how can I develop an app very fast" question : ) |
# |
Jul 25th 2017, 11:58 |
inoas |
but sure this list can be kept small. if it is a declared small list it is good to communicate why no prefixes exist |
# |
Jul 25th 2017, 11:55 |
inoas |
association builder |
# |
Jul 25th 2017, 11:52 |
inoas |
UrlObject, viewBuilder |
# |
Jul 25th 2017, 11:51 |
robertpustulka |
@inoas, which builders do you have in mind, apart from a query builder? |
# |
Jul 25th 2017, 11:49 |
inoas |
cause of PSR7 for the most important part (response/request) we cannot drop things anyway :E |
# |
Jul 25th 2017, 11:47 |
inoas |
robertpustulka the mimium I am hoping for is: that builder objects do not use set prefix in future. We should make a decision. either in the mid/long run we convert the query builder to set syntax or we convert everything we can that is BUILDERs to not require set prefixes. |
# |
Jul 25th 2017, 11:33 |
neon1024 |
Blimey, many years ago now! |
# |
Jul 25th 2017, 11:33 |
neon1024 |
My boss at the time was an old Java developer if I recall, so he wanted me to use that so he could hack my work |
# |
Jul 25th 2017, 11:22 |
inoas |
doesn't do setWhere either *I am confused* ;-) |
# |
Jul 25th 2017, 11:21 |
inoas |
don't know how alive Groovy on Grails is nowadays ^_^ |
# |
Jul 25th 2017, 11:20 |
neon1024 |
Long time ago |
# |
Jul 25th 2017, 11:20 |
neon1024 |
I’ve built an app in Groovy on Grails :slightly_smiling_face: |
# |
Jul 25th 2017, 11:19 |
inoas |
neon1024 ;) https://grails.org/ |
# |
Jul 25th 2017, 11:18 |
neon1024 |
:slightly_smiling_face: |
# |
Jul 25th 2017, 11:18 |
inoas |
anyway I gotta work... I really don't hope cakephp becomes cakejava ;p |
# |
Jul 25th 2017, 11:18 |
inoas |
then you DRY |
# |
Jul 25th 2017, 11:18 |
inoas |
the class should have it anyway, it should even has a language keyword like "frozen" or "immutable" but php doesn't do that (yet) |
# |
Jul 25th 2017, 11:17 |
neon1024 |
So you’ve moved the keyword from the method to the class. |
# |
Jul 25th 2017, 11:16 |
inoas |
and with request because of PSR7 there will be getters anyway |
# |
Jul 25th 2017, 11:16 |
inoas |
The only thing this requires is understanding the context of objects you work with. Are they vanilla or builders or immutable/writers |
# |
Jul 25th 2017, 11:15 |
inoas |
(new ImmutableRequest)->data('author') obviously gets data as it is immutable and thus requires with* to create clones |
# |
Jul 25th 2017, 11:14 |
neon1024 |
I’m having to install C++ :O |
# |
Jul 25th 2017, 11:13 |
robertpustulka |
@inoas does `$this->request->data('Author')` set a `data` property to `Author` value, or get the `Author` key from a `data` array? :) |
# |
Jul 25th 2017, 11:13 |
inoas |
feels for neon1024 |
# |
Jul 25th 2017, 11:13 |
neon1024 |
I’ll look into it once I’ve got PHP working in Windows 10 ;) |
# |
Jul 25th 2017, 11:12 |
inoas |
(on average, java pays more, all I am saying!) |
# |
Jul 25th 2017, 11:12 |
inoas |
at least your income will go up :p |
# |
Jul 25th 2017, 11:11 |
inoas |
;-) |
# |
Jul 25th 2017, 11:11 |
inoas |
haha |