SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    England
    Posts
    698
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Job Application Effort

    Hi guys,

    I've just recently (on Thursday) had a very long and what I thought very positive interview for a PHP developers job. They asked me to provide some example code to complete the application, at which point panic set in. I haven't written any code for myself in God-knows-how-long, and all of the rest of my work is the I.P. of the people I wrote it for (ie my current employer), so, what do I send them?

    In the end I decided to write a simple RBAC based CMS. It doesn't have a template system built in, but otherwise it supports the setting of permissions, assigning them to roles, assigning users to roles and of course setting certain parts of the site to be visible depending on your permissions. I utilised FK constraints in MySQL's InnoDB engine in order to ensure that if a role is deleted that all traces of it are deleted from other tables, as an example.

    Now, bearing in mind that I've had about 8 hours to write this, and I've tried to include examples of all sorts of different things, like classes (including abstract and extended classes), various loops, complicated MySQL queries as well as a fundamental understanding of both MySQL and PHP, and the basis behind RBAC and CMS, does anyone think that I could've done any more? Personally I feel like I've outdone myself. If I'd added templates and hierarchical roles and permissions then I think I'd have the basis for a pretty solid platform, so to do this in spare time over a weekend feels like one hell of an achievement. The code may not be the neatest you'll ever see, and I started to omit comments towards the end, but it sounds like it should be good enough doesn't it?

  2. #2
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    What's the PHP job that you applied for?

    It sounds like for most developer positions you've gone above and beyond the call of duty. What you completed in 8 hours would take a team of outsourced developers 2 months to complete.

    Great job!
    TAKE A WALK OUTSIDE YOUR MIND.

  3. #3
    SitePoint Enthusiast vessio's Avatar
    Join Date
    Jan 2009
    Location
    Houston, Texas
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree with Jeff, excellent work. Best of luck.

  4. #4
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    England
    Posts
    698
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. It's just a PHP developer position. My previous job was technically not a PHP job, I just did it for the company anyway, so this is the first time I've actually applied for a job like this so I didn't know how far to go. Don't get me wrong, what I sent is far from 'Joomla' or the like, but I thought I'd done well in a weekend. I'm glad to see that you agree. Fingers crossed for the desired result then.

    Cheers

  5. #5
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tell them like it is - You didn't have any code at hand, because everything you wrote recently isn't your intellectual property. So you wrote a sample application from scratch, to show of what you can do. That way, they can judge your skills on the base that you only actually used relatively short time on the task. It also shows them that you're dedicated enough to actually spending a considerable amount of time to prepare your application (Which this essentially is).

  6. #6
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    England
    Posts
    698
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys. Had an email to say I've got the job, so it was worth it in the end.

  7. #7
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Antnee View Post
    Thanks guys. Had an email to say I've got the job, so it was worth it in the end.
    Woohoo! Great job!
    TAKE A WALK OUTSIDE YOUR MIND.

  8. #8
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    England
    Posts
    698
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Let's hope it is a "great job" Thanks

  9. #9
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Congratulations then.

  10. #10
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    England
    Posts
    698
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •