Click to See Complete Forum and Search --> : Sample Code for Job Interview
nakedsole
10-18-2007, 06:10 PM
I was wondering what employers wanted to see for sample PHP code. I have worked on a lot of site that are confidential and I cannot easily use the code without changing it drastically.
Also are there specific type of design that employers are looking for? I have about 3-4 years of PHP experience.
Thanks.
new_programmer
10-18-2007, 06:30 PM
Depends on what they're looking for
Object oriented code, simple code?
nakedsole
10-18-2007, 06:43 PM
OO code. I've used a lot of class and have written some myself.
Some positions ask for no more than 200 lines of code.
NogDog
10-18-2007, 07:03 PM
If I were hiring, I would want to see clear code that was efficient without sacrificing readability (and therefore maintainability). I would be additionally impressed if that code demonstrated an understanding of OO design, such as utilizing inheritance of an abstract class by concrete classes.
dougal85
10-18-2007, 08:39 PM
Good structure in the code. ie. not spaghetti code, nicely commented and indented etc. PHPDoc comments.
OO a big plus, php5 preferably
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.