Php Objective Questions with Answers for written test exams 61

Question 61
You are in a team of developers working on a number of different business applications.

Your project manager tells you that in two weeks another three PHP

developers will join the team and that you have to ensure that they will be ready

to dive in to the current PHP code without problems.What could you do?

A. Write proper end user documentation on how to use the web front end.

B. Write proper end user documentation and generate proper PHPDoc comments

inside the code to get an API documentation.

C. The absence of documentation will actually encourage the new developers

to delve more deeply into the code.
Answers 61


Answer B is correct—or, at least, as correct as you can get in a general situation.

The key here is that you should write proper documentation at the same time as

you’re writing your code.You could then use a tool such as PHPDocumentor to

generate a nicely formatted API documentation in HTML or PDF and make it

available to any new developers who join your team.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---