I’m a software developer. I love to code, but I hate databases… Currently, I’m creating a website on which a user will be allowed to mark an entity as liked (like in FB), tag it and comment.
I have a requirement to build ‘versioning’ into an application and was wondering how best to approach it.
Anyone have idea about the common design problems we face in web components designs. I have started with Vuejs/ReactJS and Angular 2 but the most common problem I face is communication between components. I want to talk to other dynamic components and pass some data to it expecting data in return.
How would one create a Singleton class using PHP5 classes?
I access my MySQL database via PDO. I’m setting up access to the database, and my first attempt was to use the following:
What is the benefit of using singleton instead of global for database connections in PHP? I feel using singleton instead of global makes the code unnecessarily complex.
a service provider
Who needs singletons?