Jump to content

lpowerl

New Members
  • Posts

    1
  • Joined

  • Last visited

lpowerl's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi is it really a good practice to have a pdo class with singleton patterns? i read about this issue a lot and understand is not a proper way to make a database class because it makes unit test hard ! the second question is about static form to write php codes. is it necessary to use static methods in our project cause it makes hard for me to write? when we should use static methods in our projects ? thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.