foggy
KPCKevin Powell - Community
•Created by foggy on 1/5/2024 in #back-end
App statistic recording strategies
Interesting. Thanks guys!
23 replies
KPCKevin Powell - Community
•Created by foggy on 1/5/2024 in #back-end
App statistic recording strategies
I think a similar situation might be faced by banks. How do they provide you with your balance on demand? Do they calculate all transactions on your account since forever, or do they maintain a running total somewhere?
My needs are nothing like those of a bank (in terms of scale!) but I do want to be as efficient as possible. Good point about frameworks. I'm slowly learning and feeling my way around this thing (loving it so far!)
23 replies
KPCKevin Powell - Community
•Created by foggy on 1/5/2024 in #back-end
App statistic recording strategies
thanks - needs are just to store stats like I say so I can produce a graph. I'll look into the Redis thing. Ideally, I'd like to keep it all within the Laravel/mysql realm though. Don't want to introduce extra components if I can avoid it.
23 replies
KPCKevin Powell - Community
•Created by foggy on 6/1/2023 in #back-end
POST contents of a listbox
Yes absolutely - and it's a great feeling when the bits you've cobbled together finally work! Sometimes it's good just to get a nudge in the right direction though. I'm not always sure what I'm doing is the 'right' way of doing something!
3 replies
KPCKevin Powell - Community
•Created by foggy on 6/1/2023 in #back-end
POST contents of a listbox
thanks - i worked it out in the end. Yes, it would work if I selected the things on the right before sending, but thats not what I want. I used some JS to scan the lists then post the contents to a hidden <input> the value of which was submitted on the POST. All works now and my MySQL db is being populated with the contents of the column on the right, which is what I wanted :).
3 replies
KPCKevin Powell - Community
•Created by foggy on 5/17/2023 in #back-end
PHP - What's going on here?
thanks both... !
8 replies
KPCKevin Powell - Community
•Created by foggy on 5/17/2023 in #back-end
PHP - What's going on here?
yep makes total sense
8 replies
KPCKevin Powell - Community
•Created by foggy on 5/17/2023 in #back-end
PHP - What's going on here?
Got it!! Thanks a lot!
Makes sense... (condition) ? true : false ;
8 replies