Moving a website or application to production has its own challenges, but when it gets the right friction it’s a great achievement. Don’t you think it always motivates us to see the visitor’s number going up on our website? Except, a case where the traffic number is so high that
There are numerous ways to structure the code and project for your web application, and you can put as much or as little thought as you like into architecting. But it is usually a good idea to follow common patterns because it will make your code easier to manage
In PHP version 5.3 a new feature known as namespacing was added to the language. Many modern languages already had this feature for some time, but PHP was a little late to the scene. None the less, every new feature has a purpose, let’s find out why PHP namespaces can
Ever caught-up in a situation where your are required to automatically log-in your user to wordpress. To allow user to automatically login to wordpress; you could try and use the below code in your functions.php file:
Although Yii DAO can handle virtually any database-related task, chances are that we would spend 90% of our time in writing some SQL statements which perform the common CRUD (create, read, update and delete) operations. It is also difficult to maintain our code when they are mixed with SQL statements.