Top 6 reasons why IE7 is complaining about your javascript

 
1. Source: Script tag is the first element of the page:  The html page returned by the server contains ”script” tag as the first element of the webpage. This problem occurs mostly in pages returned as a result of ajax call.
Solution: Introduce a fake div tag as the first element of the webpage. You can set the height [...]

Using CRUD for organizing controller code

CakePHP is a great framework as it forces MVC design pattern on your web application, keeping your model, view, and controller code separated. However, as your application grows bigger, your controller class will get bigger and messier. There is no good suggested way for organizing functions within a controller class.

What I have realized this week [...]