Twayne posted in comp.lang.php:
>
>"Elizabeth Barnwell" <el***************@gmail.comwrote in message
news:01**********************************@w7g2000 hsa.googlegroups.com...
>>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.
Dale, instead of bitching, why not offer actual assistance? Your
response is nothing but a put-down for PHP beginners and worse than
useless the way you set your stance.
Twane, I sometimes come here just to watch the Steve & Jerry show, but
overall, and as "an experienced programmer not too far past the intermediate
stage," I feel Dale/Steve is right in this case. And IMHO he did provide some
constructive feedback.
Elizabeth, I don't know if the following should be categorized as "asking
proper questions" or if I'm suggesting some sort of qualification for the
questions/answers.
---
For example, besides assuming Apache Web server, the flip cards also assume
MySQL:
Q. Discover how many rows are in a result set
A. mysql_num_rows()
What if I use a different database? Should the questions - or the entire
course - be qualified as pertaining to Apache Module, MySQL, whatever
else...?
---
(Note: all line feeds in my "A." answers below are as I see them in my
current browser configuration.)
---
Inconsistant/incorrect terminology and syntax:
In the Default tab:
Q. Conditional operator. First evaluates an expression for true or false
value then executes one of 2 statements depending on the result of the
evaluation.
A.
( test-expression ) ? if-true-do-this :
if-false-do-this
In the Default1 tab:
Q. How do you do a ternary operator which returns one expression if true and
another if false
A.
{expression} ? return_when_expression_true :
return_when_expression_false;
---
Missing < and characters in the answers. For example, the one Dale/Steve
already mentioned now shows:
Q. Command to dynamically write content into a generated HTML page
A.
echo (); ex: ?php echo( "h1Hello
world/h1" );?
---
It is difficult to distinguish the difference between suggestive/explanatory
comments and example code in the answers (see previous example above). Better
linefeeds /might/ help.
Another example:
Q. Syntax for logical AND, OR, and NOT operations
A. AND - / and OR - || / or NOT - !
What?
---
Inconsistant conventions used.
copy ( $source, $dest );
unlink()
In the two examples above, variables and ; are used in one example, yet
omitted in the other.
IMO, all manuals/help systems should use a defined convention for all syntax
and said convention should be easily accessible. (Pick up any tech
manual/book and you'll likely see it in the first pages.)
Consistant punctuation is also a plus. Some question/statements use a period
at the end while others do not. I don't recall seeing any question marks,
though there may be some.
<disclaimer>
I haven't used flash cards since I was a young boy, so my opinion may be off
kilter on some of the above. Are they actually used today in schools/learning
systems beyond Kindergarten age? I seem to recall flash cards were intended
for memorization rather than as a learning tool. And it seems to me that
learnin' PHP would be far easier than trying to, somehow, memorize it. I just
don't see how flash cards are beneficial here.
</disclaimer>
--
Mark A. Boyd
Keep-On-Learnin' :)