Test Driven Ajax (on Rails)

Test Driven Ajax (on Rails)

4.11 - 1251 ratings - Source

The World Wide Web has come a long way from static HTML pages. Today's developers enforce and enjoy standards, and we have built the web's primitive tools into advanced libraries, frameworks, and platforms.With these new freedoms come new responsibilities. Developers can now write some amazing bugs. A bug in a web page, hosted in a free web browser, can render expensive servers useless. Modern editors help rapidly write tangled and crufty code, the perfect habitat for bugs of every species, in situations that are hard to debug. We need help from the mortal enemy of the bug: Test-First Programming. This Short Cut seeks fixes for the hardest situation in web development; proactive test cases for Ajax code. We survey existing techniques, and invent new ones. Our goal is heads-down programming, without repeatedly clicking on a web browser.Escaping. Too. Little. or. Too. Much! And when the tests reach get or xhr, and that calls link_to_remote, all heck breaks loose: malformed XML: missing tag start Line: Position: Last 80 unconsumed characters: alt;a href=a#39;#a#39; onclick=a#39;new Ajax.

Title:Test Driven Ajax (on Rails)
Author:Philip C Plumlee, Phlip
Publisher:"O'Reilly Media, Inc." - 2007-04-12


You Must CONTINUE and create a free account to access unlimited downloads & streaming