Your website is the lifeblood of your business. While some will have different functions and needs, the concept is the same: your website needs to be built correctly in order to satisfy your needs. This involves using the correct technology stack, from your CMS to the plugins and addons used to extend certain features. So, […]
Continue ReadingComparing Python: Do Other Coding Languages Measure Up?
Language is everything, spoken or computer. Computer languages are the focus of comparing Python to older and newer interpreted languages. The other programming languages consist of — Common Lisp, Scheme, C++, Perl, Tcl, Java, and JavaScript. The different aspects come into play when comparing, such as — training, availability, cost, and actual emotional attachment to […]
Continue Readingdeadsulky clothing website
Just finished a new shopping website for kids and teen clothing, accessories, cool speakers, cool funky headphones, bracelets (chunky candy bangles) It’s also got some amazing hand printed tshirts by a local artist. Clothing with attitude.
Continue ReadingDIY Board Game
I’ve been thinking about making a little board game for me and my 2.5 year old boy to play. My thoughts so far are: A dice would mean that one of us could jump too far ahead to make it interesting. Plus Archie can’t count very well. So maybe writting ‘2’ on one side of […]
Continue ReadingZend Framework Element Form Image Edit Upload
I wanted to show an image uploader (using Zend_Form_Element_File) but when the user was editing the image (replacing it) it showed the current image in the form. For some reason ZF devs won’t let you change the view helper for a Zend_Form_Element_File, so subclassing it and changing the view helper don’t work. There is a […]
Continue ReadingBeautiful soup findall CSS files
BeautifulSoup is a python class that takes HTML and returns a tree of objects. You can then search that tree to find HTML tags (which is pretty mega easy.) Here is a little example that downloads the msn.com web page, parses it using BS and grabs all the LINK tags that are linking to a CSS file: from BeautifulSoup import BeautifulSoup import urllib2url = “http://www.msn.com” request = urllib2.Request(url) […]
Continue ReadingZend framework sql error reporting adapter
This post is about Zend Framework, sql error reporting. Problem: If your SQL has an error in it, Zend Framework throws a Zend_Db_Statement_Mysqli_Exception, the default exception message is pretty pants and does not show the whole SQL query (it only shows the first 10 characters or so!) Lets fix it so it shows the whole query. I found […]
Continue Reading