Home | Photography | Flickr | LiveJournal | Get Firefox

Archive for December 21st, 2002

how to write better code

Writing good, clean PHP code isn't hard. One just needs a few simple guidelines.
Start every project by building a "Model".

Before you even consider what it will look like, or even think of one snippet of HTML, think of what your program will actually do. Then, begin to write small snippets of code that do those [...]

Read the rest of this entry »

cafelog: a look at bad code

If you program in PHP (or any language, really), and are developing something that you intend to release to the public, please, please, please spend the little bit of extra time it takes to develop your application properly. This means using function or classes to help break down and simplify the logic in your application, [...]

Read the rest of this entry »