attractive, usable web applications


Richard's Blog - Design, coding and life in Japan

Richard

Blogs

SEO and Marketing Websites

 I often get asked how can I get to the top in Google casually.

If it was that easy I am sure I would be super rich by now! Even though I pretty much knew the concepts of web marketing. I thought it was about time to get serious about it. 

Tags:

Object Relational Mappers in CakePHP, CI and other frameworks

 I am currently doing a project in CakePHP which I generally like, it is far from perfect but it is heading in the direction and is getting even better with 1.3 nearly being released. It also happens to be one of the most popular open source web frameworks in Japan which is a good reason to get using it.

Tags:

Giving up on views in Drupal

Whats wrong with views? 

If you can't hand code PHP or can't be bothered with working out the joins on Drupal's data structure then fine, it can save you having to deal with that. 

Tags:

Doctrine autoload problem in version 1.2.1

I realized it was time to install doctrine into one of my legacy apps to bring it up to date and boost it some power somewhat. It seems that documentation was a bit lagging and I particularly had trouble with the autoloading of models.

Using the following in my bootstrap

Tags:

Get an array of associations for a rails model

This one got me stuck as I couldn't see any such methods in the ActiveRecord API, but with a little help from Google Ruby on Rails: Talk group I managed to work it out.

ClassName.reflect_on_all_associations.collect {|assoc| assoc.name}

Easy as that

Tags:

Recent Blog Posts

Syndicate content