Nov
30
2009

LINK: USPS Address Service API

usps A good buddy of mine built out a very nice API for interfacing with the USPS Address service. If you are building an ecommerce site, then I suggest you check out Matt Mather’s nice USPS Address API implementation here;

http://www.dotnetvision.com/archive/2009/10/11/u.s.p.s-web-tools-address-services-class-library.aspx

A well written, unit tested, example of how to interface with the US Postal Services web services!

Enjoy!

Nov
19
2009

What is a DEVELOPEMENT environment for?

dev Recently working on revamping our shop, from top to bottom, and someone asked me why a developer shouldn’t be working off of shared database environment and I replied…

“Our Developers should work in an isolated environment to protect themselves from kicking each other in the head.

“A Dev environment is where all developers’ work is integrated prior to QA once stable, so we don't kick the QA team in the head.”

“A QA environment is where testing can be done so we all do not kick the end users in the head!

“A production environment is the sacred grounds where our apps  make us the money!”

They replied, “Oh… Ok…”

Enjoy!

Nov
13
2009

Gems of Ignorance #1: Response.Write JS Redirect?

ignorance

This is great… A co-worker of mine found this little Gem in a legacy Classic ASP app at my company the other day and I am still chuckling about it…

   1: if trim(session("Loginname"))="" then
   2:     response.Write("<html>")
   3:     response.Write("<body onLoad='Javascript:document.frm.submit();'>")
   4:     response.Write("<form action='../userLogin.asp' name='frm' method='post' target='_parent'>")
   5:     response.Write("</form>")
   6:     response.Write("</body>")
   7:     response.Write("</html>")
   8:     response.end()
   9: end if

 

 

You can always rely on ignorance for a good laugh, or cry depending on the situation. This is certainly a laughable one. I imagine this coder spent a few hours drafting up this programmatic feat and walked away proud. Hope they have since discovered the better ways to accomplish this…

Enjoy!

About me...

I am a software dev specializing in web based application lovin life in So Cal!

Month List