Working with models

0

Since there is so much to talk about it here, I will cut right to the chase. We all know about "Fat Models, Slim Controllers". So basically, as much as possible of the code should be in the model. For…

Web Development Snippets

3

A couple of useful snippets for web developing. The list will grow over the years. Jumping to anchors with JS If we want to jump to an anchor dynamically (using javascript): /* dont use this!!! */ //location.href = location.href +…

PHP

Useful PHP coding tips

3

I hope the following tips help some of the newer php coders and prevent errors I either had to face or did myself. Don’t use private attributes/methods without a good reason There are some libs or classes that use private…

PHP

Coding Standards in PHP

1

I feel about this very strongly. At least about some particular topics. It is very important for every group project (even for a one man project – you never know when sobody might join you) to have some common guidelines…