All Questions
2 questions
1
vote
1
answer
129
views
Possible to refactor these methods that contain the same logical flow?
I have many methods in many repositories that have the same logical flow:
Retrieve value from Cache
Check value
If no value, fetch from Database
Update Cache
Return value
Is there a way to refactor ...
0
votes
2
answers
2k
views
How to implement multi-theme PHP application
I am developing an application which will handle many virtual stores and I would like to have many themes that the user could choose anytime. I would to know what's the main ideia to implement it. I ...