Skip to main content

All Questions

0 votes
0 answers
95 views

object configured by another class

Below I describe what I'm trying to do and how I think I will do it. What I'm hoping is that a design pattern exists for using one object to configure another. This would allow me to have a nice ...
dnagirl's user avatar
  • 111
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 ...
Jonathan's user avatar
  • 1,135
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 ...
dextervip's user avatar
  • 121