Re: Working more efficiently in PHP
- From: "Dale" <the.one@xxxxxxxxxxx>
- Date: Tue, 29 Jul 2008 17:34:42 -0500
"Elizabeth Barnwell" <elizabethbarnwell@xxxxxxxxx> wrote in message
news:015bda28-5aea-41f3-b2f1-d580d7387dc4@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This is a tool for learning the PHP programming language:
http://www.yoyobrain.com/subjects/show/3120
You can look through the tabs to find information, and you can have
the site quiz you to help you retain more of the language. Our
developers have found this method useful, and are building YoYoBrain
to help others learn prorgmming languages. Any feedback on the site
and the flashcards is appreciated.
ask questions that are good questions, and then answer them correctly. ex.,
'special tags that tell apache that php should execute code' paraphrased.
first, you assume php is being run on apache. second, your answer: '<? ?>'
paraphrased, is wrong on several counts:
apache (whatever web server) can run php in a couple of modes, however
afaicr, it passes requests of for php to process in masse, not line by line.
it is *PHP* that interprets the tags so that it can tell when it needs to
process stuff. also, it is bad form anymore to just use <? as an opening
tag...<?php is the recommended/correct answer. i could go on...but...
finally, in another question, you ask how to output php results to the
browser. 'echo()' was your only answer. print, sprintf, print_r, and even
the venerable short-hand <?= ?> notation are a few of MANY possible answers.
i went through about 20 of the flash cards and found either the question was
a poor question and/or the answer was a poor, or downright wrong answer.
perhaps you should have an actual php developer write the questions and give
the answers. more importantly, have a php illiterate check both using the
manual (jerry stuckle would be perfect for that job :).
.
- Follow-Ups:
- Re: Working more efficiently in PHP
- From: Twayne
- Re: Working more efficiently in PHP
- References:
- Working more efficiently in PHP
- From: Elizabeth Barnwell
- Working more efficiently in PHP
- Prev by Date: Re: phpmyadmin configuration
- Next by Date: Re: something like grep
- Previous by thread: Working more efficiently in PHP
- Next by thread: Re: Working more efficiently in PHP
- Index(es):
Relevant Pages
|