[Phpug] Interview questions
Kae Verens
kae at webworks.ie
Wed May 14 12:02:50 IST 2008
Cormac Parle wrote:
> We're looking for a php/ajax expert for a contract here, doing
> interviews on Friday. I know php well, but my ajax experience is limited
> - any suggestions for questions I could ask to find out if the
> candidates know more than me (which is what we need)?
Ajax-related:
what's the difference between Comet and normal Ajax requests?
Comet opens up a "continuous feed" connection to the client, allowing
very fast responses to requests, whereas each normal Ajax request starts
a new HTTP connection
what major problems is there with ActiveX and Ajax in older IE versions
(IE6) and is there a workaround?
if ActiveX is disabled, e.g. for security reasons, then Ajax will not
work in IE6. one workaround is to use IFrames as a replacement in that case
what is a closure, and why is it useful for Ajax?
a Closure is an artificial environment generated in Javascript which
allows variables to remain in memory for use in asynchronous calls, even
after the function that generated the variables has finished and scoped
variables have been destroyed.
This is useful for Ajax because Ajax is usually asynchronous, and by
the time the response has returned, normal-scoped variables will no
longer exist so the call's context will have been forgotten.
can't think of any other fancy Ajax-related questions at the moment.
--
Kae Verens' signature
http://webworks.ie/ lead programmer
http://verens.com/ my blog
http://kfm.verens.com/ current project
--
this is Kae's signature's signature.
--
Kae's signature's signature does not get one though
More information about the Phpug
mailing list