# |
May 28th 2017, 14:03 |
jeremyharris |
Events are nice but yes it can be tricky to debug. I use them |
# |
May 28th 2017, 14:03 |
inoas |
30° C here |
# |
May 28th 2017, 14:03 |
inoas |
:/ |
# |
May 28th 2017, 14:03 |
inoas |
But this time I think I have no choice but to use events and cells for mini-applications embedded in content first cms |
# |
May 28th 2017, 14:02 |
inoas |
"I just like to know exactly what's happening" ;-) |
# |
May 28th 2017, 14:02 |
inoas |
Personally I love when I can easily trace where a software runs... |
# |
May 28th 2017, 14:02 |
inoas |
What's your stance on event driven software then? |
# |
May 28th 2017, 14:01 |
jeremyharris |
That's a good plan. I should probably check it out again, it's been a while |
# |
May 28th 2017, 14:01 |
inoas |
it felt like too much obligations... when things are done I may see if I can gain much from using CRUD |
# |
May 28th 2017, 14:01 |
inoas |
I am currently moving away/skipping crud for one thing that I could have crudified... |
# |
May 28th 2017, 14:00 |
jeremyharris |
No crud either haha, good guess |
# |
May 28th 2017, 14:00 |
jeremyharris |
Maybe. I just like to know exactly what's happening |
# |
May 28th 2017, 14:00 |
inoas |
no CRUD for your either? |
# |
May 28th 2017, 14:00 |
jeremyharris |
Yep |
# |
May 28th 2017, 14:00 |
inoas |
maybe something meditative about it (no pun!) |
# |
May 28th 2017, 13:59 |
inoas |
really? |
# |
May 28th 2017, 13:59 |
jeremyharris |
I write them all out hehe |
# |
May 28th 2017, 13:59 |
inoas |
;-) |
# |
May 28th 2017, 13:59 |
jeremyharris |
Not for me :slightly_smiling_face: |
# |
May 28th 2017, 13:59 |
inoas |
Form->inputs() is <3 for instance :) |
# |
May 28th 2017, 13:58 |
inoas |
I agree that verbosity can help (even without using IDEs) but I also like DRY ;) |
# |
May 28th 2017, 13:58 |
inoas |
well once the feature for the routes settles I will try to stab that... |
# |
May 28th 2017, 13:57 |
jeremyharris |
@inoas yes I imagine so. It'll internally create the array route I'm guessing |
# |
May 28th 2017, 13:52 |
inoas |
then there is no conflict with HtmlHelper::link |
# |
May 28th 2017, 13:52 |
inoas |
aka $this->Html->a('All Articles', 'Blog.Articles::index') |
# |
May 28th 2017, 13:51 |
inoas |
right? |
# |
May 28th 2017, 13:51 |
inoas |
@jeremyharris now that there seems to be an agreement on this https://github.com/cakephp/cakephp/issues/10689#issuecomment-304440165 ... it should be rather easy (even in user-land-code) to add HtmlHelper::a('label', 'shortcode', $options) which would use the Router::url() to parse things like $routes->connect('/articles/:id', 'Blog.Articles::view') |
# |
May 28th 2017, 12:58 |
chris-andre |
Ah, okay. Understand. I think I can figure it out. Not very familiar with cache and sessions |
# |
May 28th 2017, 12:36 |
admad |
No, when admin makes changes update the related session record. |
# |
May 28th 2017, 12:16 |
chris-andre |
@admad So that means I have run a query upon every request? |
# |
May 28th 2017, 12:13 |
igreat |
Any idea on how to resolve this? |
# |
May 28th 2017, 12:13 |
igreat |
Good day guy, On my app, I used cakedc users plugin, and created new template file to override the plugin templates which are working fine on my local host (offline). But after putting it online, it wont use the templates I created, instead it keeps using the template that came with the plugin |
# |
May 28th 2017, 12:10 |
admad |
Use db / cache for sessions and update that record |
# |
May 28th 2017, 11:47 |
chris-andre |
On my app, administrator can change a users data. Now, lets say it is changed while that user is logged in, you probably want that update to affect immediately. Does anyone have a suggestion how to do that? Keep checking for updated userdata seems a bit overkill. Any suggestions? |
# |
May 28th 2017, 09:31 |
iqu |
? |
# |
May 28th 2017, 09:31 |
iqu |
will work on fulltext search with my cake3 app. Any easy alternatives to mysql fulltext |
# |
May 28th 2017, 09:10 |
adithya |
@joshuaso91 you should be able to get that functionality by default when you bake, if you've used the conventions properly |
# |
May 28th 2017, 04:24 |
joshuaso91 |
Hello guys, is there away for me to allow the select input show all the values that belongs to a particular id. For example, if I choose a supplier, i want it to list all the products that's belongs to the supplier in the select option field. |
# |
May 28th 2017, 04:15 |
hiromi2424 |
plus guess a lot of classes google provides will confuse you … like me :P |
# |
May 28th 2017, 04:13 |
hiromi2424 |
See instructions on that github page. It works even If in CakePHP3 app |
# |
May 28th 2017, 04:12 |
hiromi2424 |
is the stuff you should `composer require` |