bare-knuckle web development devday.lk johannes brodwall, chief scientist exilesoft global @jhannes
TRANSCRIPT
• Test for web applications• Specifying requirements with tests• The difference between
realistic slow tests (aka “integration”)and limited fast tests (aka “unit”)
• Dependencies in your tests• What does the web server do?• Refactoring shortcuts• Growing design• Alternatives to HTML templates (maybe)
The reasonable man adapts himself to the world:
the unreasonable one persists in trying to adapt the world to himself.
Therefore all progress depends on the unreasonable man.
- George Bernard Shaw
@Overridepublic String getCountryByIp(String ipAddress) { Document soapRequest = soapElement("S:Envelope", $("S:Body", wsxElement("wsx:GetGeoIP", $("wsx:IPAddress", ipAddress)))); Document soapResponse endpoint.postRequest(getSOAPAction(), soapRequest); return $(soapResponse).xpath("/Envelope/Body/*") .xpath("GetGeoIPResult/CountryName").text();}
Don’t just learn new technologies
=> Learn new approaches, techniques and features about the
technology you use
Thank [email protected]
http://johannesbrodwall.com
http://exilesoft.com/exilee
@jhannes
Believe nothing on the faith of traditions.Do not believe a thing because many people speak of it.
Do not believe on the faith of the sages of the past. Do not believe what you yourself have imagined.
After examination, believe what you yourself have tested and found to be reasonable
- Buddha