Category: PHP

Migrate Prestashop to another server

If you need to migrate a PrestaShop website from a local to a remote installation or just change the domain name, you need to follow these steps: 0. For security reasons, make a backup of all files and database 1.

Tagged with: , ,

HTTP cache control on a dynamic PHP page

In the general case the website caching happens on the server side where the PHP output or database objects are cached in static files or in the server RAM. That could work pretty good but we could improve that and

Tagged with: , , ,

PHP Type Checking

Here’s a quick and dirty utility method for type checking an object or an array of objects. [cc escaped=”true” lang=”php”]/** * Ensure the object (or the first item in the * array of objects) is of the specified type *

Tagged with: , , ,

PHP Type Hinting – Good practices

Let me introduce you “Type hinting” Lets face it, PHP was thought and developed as a weakly typed programming language. But with more and more Object Oriented Approaches and structures introduced into PHP it needs to comply to certain rules.

Tagged with: , ,

CakePHP – User authentication and registration

Hello guys! This is my firs post so I’ll keep it short for now. I could say I am newbie with CakePHP framework. I’ve been working with it just for a couple of weeks so far but I think it’s

Tagged with: , , , ,
Top