Category Archives: programming

To slugify?

I’m currently working my way through Practical symfony and I’m on day 5. It’s talking about the need to “slugify” column names before they can be used in URLs. However, what does “slugifying” a string actually do? Well, it replaces non-ASCII characters with ASCII characters. You learn something new everyday.
Also posted in soft skills | Tagged | 1 Comment

Some of the most annoying PHP coding errors

I found this gem though an ad on Facebook. It might make debugging PHP scripts a little easier.
Posted in programming | Tagged | Leave a comment

symfony – my framework of choice?

I’ve tried out a number of frameworks in the past and have been unable to settle on one. Until now. Symfony has – for the most part – won me over. It’s my framework of choice. Here’s why… YAML configuration files ability to use components from both Zend Framework and eZ Components lots of best practises Doctrine comes “built in” active [...]
Posted in programming | Tagged | Leave a comment

Language gems

An article on seldom used PHP functions made its way into my feed reader. It’s a useful resource and has made me wonder what other parts of the PHP language I’m neglecting to take advantage of.
Posted in programming | Tagged | Leave a comment

Developing an iPhone UI

I stumbled upon an idea for a project earlier whilst learning Spanish and I’m starting to piece together a formal definition of both the problem I want to solve and its solution. I’ve mentioned that as part of the solution, the website should be available on mobile devices. That means two UIs. However, building the UI [...]
Posted in programming | Tagged | Leave a comment

Project Euler – Problem 2

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, … Find the sum of all the even-valued terms in the sequence which do not exceed four million. Project Euler This is [...]
Posted in programming | Tagged , | Leave a comment

Project Euler – Problem 1

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. Project Euler I solved the problem using Java as it’s the language that I’m currently [...]
Posted in programming | Tagged , | Leave a comment

Project Euler

I’m currently learning Java – it’s my language for 2010. In a bid to get more comfortable with its basic structures, I’ve decided to try solving some of the problems on Project Euler. I’ll post my solutions to each of the problems and my thoughts on the problems in subsequent posts.
Posted in programming | Leave a comment

Building web applications using ASP .NET

[ad#content2]I’ve always built my web apps, and scripts using PHP. In fact, PHP is the only language I’ve ever really programmed in. I’ve built basic bits and pieces in other languages, but nothing of more than 100 lines of code. Perhaps I should give another language a chance? It’s important to diversify your skill set, you [...]
Posted in programming | Leave a comment

My journey with Ruby so far…

I thought I’d take a break from my series on creating content, and write about one of my goals for 2008. Back in my post for goals for 2008, I said I wanted to learn a programming language. The language I choose was Ruby, and I’ve learnt an awful lot already. I’ve been learning Ruby for [...]
Posted in programming | Tagged | 2 Comments