473,462 Members | 1,243 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Questions to discover a php guru

Hi,

I will be hiring a php guru to help us architect a highly scalable web
site/web application; the problem is I am coming from Microsoft .NET
world and not too much familiar with the platform.
What kinds of questions would you advice to ask the person on the
interview to see if he/she is:
1. Proficient with php
2. Proficient with MySQL (development, maybe some administration)
3. Has web app architecture skills and knows how to build scalable
codebase

Your ideas are highly appreciated!

Thank you,
Andrey
Oct 8 '08 #1
4 1601
Andrey wrote:
Hi,

I will be hiring a php guru to help us architect a highly scalable web
site/web application; the problem is I am coming from Microsoft .NET
world and not too much familiar with the platform.
How do you handle .NET hires? I would think this would be similar.

Ask him/her to send you any utility that they have written that uses
PHP and MySQL and is OO.

I'm sure there are tons of php developers that have never gotten
beyond procedural code, throw them out. Look for someone that has a good
grasp on OO and uses it. Look to see how the code is documented. What
you are looking for is code that can be altered without breaking aps
that already use that. I'm sure the same applies to .NET. Programming
languages and administration skills can be picked up quickly,
programming style comes with experience.

Then you can tell him about your project and ask how he would go about
it. After a while a good programmer has done something similar and knows
the questions to ask and the routes to take. The questions he asks are
as important as the ones you ask. And remember, you are going to be
working with them, so you'll need to see how you interact.

Of course, if you have no real programming experience yourself, you
are pretty much up the creek. I don't think you are going to get a good
programmer with a quiz.

Just my 2 cents...

Jeff
What kinds of questions would you advice to ask the person on the
interview to see if he/she is:
1. Proficient with php
2. Proficient with MySQL (development, maybe some administration)
3. Has web app architecture skills and knows how to build scalable
codebase

Your ideas are highly appreciated!

Thank you,
Andrey
Oct 8 '08 #2
On 8 Oct, 20:49, Andrey <muzzzy.nos...@gmail.comwrote:
Hi,

I will be hiring a php guru to help us architect a highly scalable web
site/web application; the problem is I am coming from Microsoft .NET
world and not too much familiar with the platform.
What kinds of questions would you advice to ask the person on the
interview to see if he/she is:
1. Proficient with php
2. Proficient with MySQL (development, maybe some administration)
3. Has web app architecture skills and knows how to build scalable
codebase

Your ideas are highly appreciated!
World + dog can claim to be a PHP programmer. PHP is easy - the hard
bit is knowing how to apply it effectively. Really you should you be
trying to recruit a **programmer** who happens to know a bit about PHP
rather than a PHP programmer.

I would be very wary of any suggestions you get here - otherwise it
will turn into a tick-the-box interview where you're not in a position
to understand what the person is telling you but just listening out
for some magic words in the response. Think about getting a PHP
consultant in to help with the capability part of the interviewing
process.

With that in mind....

I'd ask them what experience they have working as part of a team of
developers (and expecting an answer that includes mention of some sort
of versioning system).

How they would go about isolating a performance problem on a website
(expecting mention of webserver and database logs)

How they would ensure a script which performs well in test will scale
well in live (mention of parallelization / mutexes / locking, using
EXPLAIN in SQL).

A good understanding of how to use content caching: e.g. how to go
about implementing good caching with user selectable themes (answer
should mention pushing theme data into CSS, and/or using VARIES
headers, reverse proxying).

Then you can start answering the PHP specific questions.

But I do take issue with some of Michael's questions - safe mode and
register_globals? No.

Perhaps ask them about porting an application from PHP4 to PHP5 (where
the answer should mention register_globals - since its probably old
code, also the change from pass by val to pass by ref for objects).

What problems would they foresee with having a mysql database
replicated across multiple machines using auto-generated insert_ids
(ans: you can't consolidate to the same schema unless you seed the
insert ids to avoid collisions).

C.
Oct 9 '08 #3
I will be hiring a php guru to help us architect a highly scalable web
site/web application; the problem is I am coming from Microsoft .NET
world and not too much familiar with the platform.
The difference is not really that big in approach. If you really know a
..NET language, you know that the language itself is easy. The main
skills are in good Object Oriented knowledge and in knowledge of the
(huge) library.
There is one main difference though: .NET tends to hide specific
knowledge from the programmer, whereas PHP expects you to know what you
are doing. There is no sales argument that PHP is "easy to click an
application together".

So, for instance, ask what the difference in approach is between a PC
application and a web application in the object model.

Specifically, ask him about web safety. Let him name a few injection
attacks and what to do about them. Alas, the web has lost its innocence...
What kinds of questions would you advice to ask the person on the
interview to see if he/she is:
1. Proficient with php
2. Proficient with MySQL (development, maybe some administration)
Both are hard. I have worked as an ASP .NET programmer before I ran back
screaming to PHP, so I can compare SQL server and MySQL, and ASP .NET
and PHP. But for someone who never had anything to do with .NET, this
may be hard.
But I think it is good to ask him about PHP6. If he is a real guru, he
must have looked into it.
3. Has web app architecture skills and knows how to build scalable
codebase
This is one that you should be able to answer yourself. Just ask him
about web safety, modular programming, source code control, unit tests,
test driven design, agile programming methods, etc.

Good luck,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/
Oct 10 '08 #4
On 8 Oct, 21:40, Michael Vilain <vil...@NOspamcop.netwrote:
In article
<fd10bc8a-bacf-439c-b60d-d443d3fbd...@p10g2000prf.googlegroups.com>,

*Andrey <muzzzy.nos...@gmail.comwrote:
Hi,
I will be hiring a php guru to help us architect a highly scalable web
site/web application; the problem is I am coming from Microsoft .NET
world and not too much familiar with the platform.
What kinds of questions would you advice to ask the person on the
interview to see if he/she is:
1. Proficient with php
2. Proficient with MySQL (development, maybe some administration)
3. Has web app architecture skills and knows how to build scalable
codebase
Your ideas are highly appreciated!
Thank you,
Andrey

I'm by no means a php "developer", but I have built a site "from
scratch" rather than use any existing package. *OK, OK, OK. *It was
stupid but back in 2002, there wasn't much for CMS packages or they
didn't work on my shared hosting platform.

Anyway, I come from a programming and system administration background,
am _not_ an artist so sites aren't "pretty", but I think those are two
different people (or one expensive person). *The web architect should
have skills similar to mine--how to build large, scalable systems with
analysis and design skills to make something can be supported in the
long term as needs evolve.

Some php questions:

What is "safe" mode? *

What does "register globals = on" do?

What's the major difference between call by reference and call by value
as applied to php?

And some architect-type questions:

What's a major difference between a Java and php run-time environment?

Accounting is complaining that their queries are running slow. *How
would you fix this problem?

Some MySQL questions (I'm not a mysql admin, but have used databases for
some years, so feel free to ridicule these questions):

What's the difference between an inner and outer join?

Describe a database injection attack and how to prevent it.

How do you backup mysql databases?
Why would you want a developer to wory about backing up MySQL
databases? Surely that is the DBA's job.

Oct 10 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Method Man | last post by:
Hi all, I was wondering if any of you could post some links to sites with good C++ interview questions. An answer key is preferred but not necessary. The Q's can range from entry level to senior...
3
by: my-wings | last post by:
I've been reading about how evil Lookup fields in tables are, but I've got to be missing something really basic. I know this subject has been covered before, because I've just spent an hour or two...
162
by: techievasant | last post by:
hello everyone, Iam vasant from India.. I have a test+interview on C /C++ in the coming month so plz help me by giving some resources of FAQS, interview questions, tracky questions, multiple...
35
by: Alex Martelli | last post by:
Having fixed a memory leak (not the leak of a Python reference, some other stuff I wasn't properly freeing in certain cases) in a C-coded extension I maintain, I need a way to test that the leak is...
16
by: marc_r_bertrand | last post by:
To all asp/db pros: The quiz code below works. But there is a problem when too many questions are answered (radio buttons clicked). I am not an asp pro. So, is there a pro out there or an...
16
by: Singulus | last post by:
Hello all, I've searched for similar threads, I've found some bit of useful info here and there, but nevertheless I want to post my questions...So, how can I (we, in fact the forum can benefit...
27
by: kvnsmnsn | last post by:
I've written a piece of code that interfaces with Postgres. It needs to write a Postgres table to disk, which it does with the <COPYcom- mand. That command requires the absolute file name of the...
22
by: Guru Jois | last post by:
Hai all, I have some question. Please answer. 1. What is walking pointer? 2. What is difference between procedure and subroutine? 3. What is template of main in C? 4. What is padding of...
22
by: gustum | last post by:
Im graduating in the coming december. Anyone pls guide me where i can get c++ interview questions. I shall be very thankful to you if you provide me good link so any stuff if you have regarding...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.