flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: December 2014
http://flyingspaniel.blogspot.com/2014_12_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Monday, December 29, 2014. Do Frameworks get in the way? A tale of Python and PayPal IPN. I was writing some basic Python3 CGI code to handle PayPal IPN posts. If PayPal were sending a GET, one could use os.environ.get('QUERY STRING'). But, for a POST, that returns None. The Python cgi library. Provides a nice, standard, "handles lots of tricky cases" mechanism to read the POST fields, using cgi.FieldStorage(). FormData = "cmd= n...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: Do Frameworks get in the way? A tale of Python and PayPal IPN.
http://flyingspaniel.blogspot.com/2014/12/do-frameworks-get-in-way.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Monday, December 29, 2014. Do Frameworks get in the way? A tale of Python and PayPal IPN. I was writing some basic Python3 CGI code to handle PayPal IPN posts. If PayPal were sending a GET, one could use os.environ.get('QUERY STRING'). But, for a POST, that returns None. The Python cgi library. Provides a nice, standard, "handles lots of tricky cases" mechanism to read the POST fields, using cgi.FieldStorage(). FormData = "cmd= n...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: October 2013
http://flyingspaniel.blogspot.com/2013_10_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Tuesday, October 29, 2013. Leaping into node.js and JavaScript, part1. A close friend with tons of tech experience had been urging me to learn JavaScript. He uses it all the time and loves it. Last week the local library had a Sams book, Teach Yourself node.js in 24 Hours. So I checked it out. How hard could it be? So far, so good. A couple of problems. Javascript / node.js may be the hot new nailgun that lets you build sites...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: November 2014
http://flyingspaniel.blogspot.com/2014_11_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Wednesday, November 12, 2014. Into the Clouds, deploying node.js with Modulus and OpenShift. My Agility website, www.nextq.info. Is up and running on modulus.io. I like Modulus. It's easy to use, has been reliable, and you don't need to do a ton of heavy-duty Unix-ese command line stuff. Their web interface does most of the work, and a simple command modulus deploy. So lately I've also been playing with OpenShift. Process.env...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: July 2014
http://flyingspaniel.blogspot.com/2014_07_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Wednesday, July 23, 2014. Groovy-Like XML for Java. Simple and Sane. Parsing and navigating through XML in Java is a pain. The org.w3c.dom.*. Classes are numerous, messy, and "old style", with no Collections, no Generics, no varargs. XPath helps a lot with the navigation part, but is still a bit complex and messy. Groovy, with XMLParser and XMLSlurper. Http:/ maps.google.com. Can you do something anything like this in pure Java?
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: November 2013
http://flyingspaniel.blogspot.com/2013_11_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Wednesday, November 20, 2013. Leaping into node.js and JavaScript, the Conculsion. In three weeks I've gone from node.js newbie. To having a module on npm. Despite the off-beat field of endeavor (Flow Cytometry), it has dozens of downloads. I think some are robots harvesting the net. Made working with GitHub simple and painless. No more series of three commands to add files, commit locally, and push to the remote site. JavaScript...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: June 2014
http://flyingspaniel.blogspot.com/2014_06_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Thursday, June 12, 2014. Coding by Convention is Great. Except when it isn't. Coding by Convention" ( a.k.a. Bean I mean you to use a Foo.class. When they go to myCompany.com. Use the com.myCompany.order.books. Servlet". On the other hand there can be too much convention - I've never used Maven. But hear that it is particularly dictatorial and hard to modify. Or iCal (.ics) files. Searching the NPM registry. On the iCalendar side...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: July 2012
http://flyingspaniel.blogspot.com/2012_07_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Monday, July 2, 2012. Java Event Handling, Revisited. Quite a while ago I blogged about replacement code for Java's javax.swing.event. EventListenerList. Which never appealed to me. (Blog posts are Here. The EventListenerList code, is, well, icky. You jump by 2 along an array of mixed Classes and Listeners, and non-reassuring comments in the source code like "it provides . a degree. Of MT (multi-threaded) safety. Of event. Yo...
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: Web Scraping with node.js and Cheerio
http://flyingspaniel.blogspot.com/2014/10/web-scraping-with-nodejs-and-cheerio.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Monday, October 20, 2014. Web Scraping with node.js and Cheerio. I recently gave a talk at the BayNode Meetup. About my experiences web scraping for dog agility trials using node.js and the cheerio module. The results are used for my website, www.nextq.info. You can find the slides as Google Docs here: Web scraping with cheerio. Posted by Morgan Conrad. Subscribe to: Post Comments (Atom). FlyingSpaniel - my company.
flyingspaniel.blogspot.com
The Flying Spaniel Software Design Blog: December 2013
http://flyingspaniel.blogspot.com/2013_12_01_archive.html
The Flying Spaniel Software Design Blog. My take on "good" software design. Thursday, December 19, 2013. From Node.js back to Java, Part 1: EventEmitter and Callbacks. There were a lot of features of Node.js and JavaScript that I liked. Why not bring them to Java? That's what I'm working on with Nava, "Bringing good ideas from node.js into Java". So far, I have implemented a fair amount. The code can be compiled against Java 6, Java 7, and Android 2.2, and presumably later versions of Android. There are ...