Jump to content

PHP Best Practices


Hobbyist_PHPer

Recommended Posts

Hi, I had a question regarding PHP best practices... I was somewhere the other day and I came across a PHP job posting, not that I am qualified or interested, but I decided to read the requirements anyway... The thing that caught my attention was that it mentioned that if you are a programmer that still puts queries in their code, then there was no need to apply... so my questions is this, is it bad practice to put queries in with the rest of the PHP code? If so, then what's the proper method?

Link to comment
Share on other sites

That's a rather unprofessional way to phrase things especially for a job posting, and I would be wary of any company that would use language like that in a job posting.

I'm with xyph, how do you run queries if they're not in the code? I'd love to see the job ad.

Link to comment
Share on other sites

That's a rather unprofessional way to phrase things especially for a job posting, and I would be wary of any company that would use language like that in a job posting.

 

This. Best case, you'll work for a pretentious asshole; worst case the 'job' will be for a 'startup' that will want to pay you in 'shares'.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.