Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Questions to discover a php guru

 
   Database Help (Home) -> PHP RSS
Next:  Union question  
Author Message
Andrey

External


Since: Oct 08, 2008
Posts: 2



(Msg. 1) Posted: Wed Oct 08, 2008 12:49 pm
Post subject: Questions to discover a php guru
Archived from groups: comp>lang>php (more info?)

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

 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
Michael Vilain

External


Since: Mar 26, 2008
Posts: 32



(Msg. 2) Posted: Wed Oct 08, 2008 1:40 pm
Post subject: Re: Questions to discover a php guru [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
Jeff

External


Since: Jun 21, 2008
Posts: 128



(Msg. 3) Posted: Wed Oct 08, 2008 5:11 pm
Post subject: Re: Questions to discover a php guru [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
"C.

External


Since: Dec 30, 2007
Posts: 188



(Msg. 4) Posted: Thu Oct 09, 2008 5:00 am
Post subject: Re: Questions to discover a php guru [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 8 Oct, 20:49, Andrey <muzzzy.nos....DeleteThis@gmail.com> 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.
> 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.
 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
Captain Paralytic

External


Since: Jan 14, 2008
Posts: 200



(Msg. 5) Posted: Fri Oct 10, 2008 4:13 am
Post subject: Re: Questions to discover a php guru [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 8 Oct, 21:40, Michael Vilain <vil... RemoveThis @NOspamcop.net> wrote:
> In article
> <fd10bc8a-bacf-439c-b60d-d443d3fbd... RemoveThis @p10g2000prf.googlegroups.com>,
>
>
>
>
>
>  Andrey <muzzzy.nos... RemoveThis @gmail.com> 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.
> > 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.
 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
Willem Bogaerts

External


Since: Mar 14, 2008
Posts: 5



(Msg. 6) Posted: Fri Oct 10, 2008 4:25 am
Post subject: Re: Questions to discover a php guru [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> 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/
 >> Stay informed about: Questions to discover a php guru 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]