Category > Technical

Routing Polymorphic Resources in Rails

Routing in Rails is a breeze, but when dealing with polymorphic resources it is less than polished. Consider this example: an eCommerce application consists of products, which I can view in the scope of the store, a category or my shopping cart. This would require the following routes: /products/1 /category/2/products/1 /cart/3/products/15 This is simple to [...]

Continue reading

, ,

Routing Polymorphic Resources in Rails

Routing in Rails is a breeze, but when dealing with polymorphic resources it is less than polished. Consider this example: an eCommerce application consists of products, which I can view in the scope of the store, a category or my shopping cart. This would require the following routes: /products/1 /category/2/products/1 /cart/3/products/15 This is simple to [...]

Continue reading

, ,

Embedded RSS

I have recently been asked several times about the code details for my Arduino RSS Reader. I have been freely handing this out, so it is now posted here for everybody to download: Download RSS Reader Sketch This zip archive contains the Arduino sketch and a few custom libraries (including the RSS parser). The amount [...]

Continue reading

Embedded RSS

I have recently been asked several times about the code details for my Arduino RSS Reader. I have been freely handing this out, so it is now posted here for everybody to download: Download RSS Reader Sketch This zip archive contains the Arduino sketch and a few custom libraries (including the RSS parser). The amount [...]

Continue reading

Embedded RSS

I have recently been asked several times about the code details for my Arduino RSS Reader. I have been freely handing this out, so it is now posted here for everybody to download: Download RSS Reader Sketch This zip archive contains the Arduino sketch and a few custom libraries (including the RSS parser). The amount [...]

Continue reading

Parsing RSS on an 8-bit Micro

One of the most common questions asked of my Embedded RSS Reader is how to process the XML data of an RSS feed on the 8-bit microprocessor. In a conventional application, it is trivial to use an XML library to parse the data into a tree-like structure. In PHP5, for instance, you could simply write: [...]

Continue reading

, , , , ,

Parsing RSS on an 8-bit Micro

One of the most common questions asked of my Embedded RSS Reader is how to process the XML data of an RSS feed on the 8-bit microprocessor. In a conventional application, it is trivial to use an XML library to parse the data into a tree-like structure. In PHP5, for instance, you could simply write: [...]

Continue reading

, , , , ,

Parsing RSS on an 8-bit Micro

One of the most common questions asked of my Embedded RSS Reader is how to process the XML data of an RSS feed on the 8-bit microprocessor. In a conventional application, it is trivial to use an XML library to parse the data into a tree-like structure. In PHP5, for instance, you could simply write: [...]

Continue reading

, , , , ,

SEO: The Black Art

I am currently grappling with a client’s under-performing website. Our conversion rate is fairly good, which is understandable with the good products and range of price points. We cannot, however, actually get people on to the website in question. The site has been examined by countless SEO companies who recommend increasing the website’s exposure, obtaining [...]

Continue reading

, ,

A Better Real-time Library for Arduino

For my project I required a simple timer library for the Arduino development environment, something with a simple-but-powerful interface to schedule tasks to complete in the future or at regular intervals. There doesn’t really seem to be anything suitable online – a host of over-complicated APIs that use several classes, structs and rely heavily on [...]

Continue reading

prev posts