Closed jheintz closed 12 years ago
Works well but I might go for HtmlPage her but actually it is in technical terms a HtmlDocument. Maybe we should subclass HtmlDocument by a HtmlPage (doing nothing than offering a different name for the one who like it too). I always like an adaptable framework offering me different names for describing different jobs. And scraping a web page feels better when you are able to name it HtmlPage. So you have my go.
I think we should just have one of these... otherwise lead to confusion.
My vote would be for HtmlPage, but I'm not against HtmlDocument.
On Sun, Oct 14, 2012 at 3:29 PM, Martin Kersten notifications@github.comwrote:
Works well but I might go for HtmlPage her but actually it is in technical terms a HtmlDocument. Maybe we should subclass HtmlDocument by a HtmlPage (doing nothing than offering a different name for the one who like it too). I always like an adaptable framework offering me different names for describing different jobs. And scraping a web page feels better when you are able to name it HtmlPage. So you have my go.
— Reply to this email directly or view it on GitHubhttps://github.com/GistLabs/mechanize/issues/47#issuecomment-9426538.
John D. Heintz Agile, Lean, and everything in between
President, Gist Labs http://gistlabs.com Senior Consultant, Cutter Consortium http://cutter.com
Austin, TX (512) 633-1198
What is the final decision on this?
I think either Page or Document is fine, but I don't like having both present.
If I had to pick I'd go for document.Document
On Oct 16, 2012, at 14:46, Martin Kersten notifications@github.com wrote:
What is the final decision on this?
— Reply to this email directly or view it on GitHubhttps://github.com/GistLabs/mechanize/issues/47#issuecomment-9503872.
A single Page type is too limiting for a full RESTful multi-content client. The name Page is common and easily understood, but perhaps too ambiguous.
.......
@MartinKersten, I assume this is what you were suggesting. Please comment if this isn't what you were thinking about. I've been convinced :)