Nicely explained solution woodsman. I have been watching this thread
and wondering about the best solution. That sounds like an excellent
approach.
Regards,
Langdon
Not entirely answering your question here, but:
Even without Cake, getting browsers to render html bit by bit as it
arrives is
Not entirely answering your question here, but:
Even without Cake, getting browsers to render html bit by bit as it
arrives isn't quite that simple (imho) - IE (<7 at least) only behaves
like this if the output is already quite large, or if the HTML is
structured in certain ways.
If you're lite
1. MODEL
$this->Test->scraper($shop, $author)
The function scraper() gets $shop(the name of a internet bookshop site)
and $author as arguments and returns a title list of the first 10 books
being sold there with $author as the author.
$booklist = $scraper('amazon','Shakespeare');
will return.