Archive for the ‘PHP’ Category

10 signs to identify crap PHP project

Useful article on 10 useful signs to identify crappy PHP project. A summary list,

The software tries to reinvent the object model, or “fix” language features.
The code includes user defined global variables
Scattered HTML and SQL
Classes do too much
Lots of properties are public or lots of properties are static
Multiple levels of inheritance
The authors try to use [...]

Read the rest of this entry »

Speed up your Web Application with JS/CSS compression

Programmer all want their application to be faster and more responsive. This is specially important in Web environment. As we demand more functional and feature from our application, Javascript and CSS files will grow in size, this will impact the performance of the application.
I have discover a wonderful script that will compress JS and CSS [...]

Read the rest of this entry »

Comparison between storing images/files in mySQL and on filesystem.

There was a discussion in regard to “store images in MySQL” in one of WebHostingTalk forum. Many believe that storing images/large set of data in mySQL will hurt performance, specially when you want to do query. Unfortunately I could not find any resource in regard to this or support this. So I set off to [...]

Read the rest of this entry »