By mariya | Published:
October 6, 2009
First of all, thanks to everyone who read and commented on the original post. If nothing else, I got some (angry) tips for how to improve my Drupal experience when I do have to use it. It reminds me of this bash.org gem: Start the sentence with “Linux is gay because it can’t do XXX [...]
By mariya | Published:
October 5, 2009
Need to test your site in multiple versions of Internet Explorer? I just downloaded DebugBar and was beyond impressed. With a couple clicks, you can open a url in a single tabbed window with all IE versions 5.5 through 8. Grab it here.
Two years ago I endorsed Multiple IE, but unfortunately they’ve dropped the ball [...]
By mariya | Published:
October 4, 2009
Edit: First followup posted.
Are you choosing a Content Management System for your next site? Allow me to throw in my two cents against Drupal. In theory, Drupal is a CMS that lets you control your site out of the box. In practice, it’s a nightmare to configure and maintain.
I recognize that Drupal might work for [...]
By mariya | Published:
October 1, 2009
What embarrassing shortcomings do you have as a coder? I find that I often need reference material when dealing with:
File permissions (chmod)
Regular expressions (Apache rewrite rules, Ruby regexes etc)
Does anyone else feel the same way? Do you have any good tutorials that can rid me of these handicaps once and for all?
By admin | Published:
April 30, 2009
I had a Symfony 1.0 app and I finally decided to make the leap to 1.2. Lo and behold, this mysterious error cropped up:
Notice: Undefined variable: site in /path/to/myproject/apps/site/templates/layout.php on line 10
If you’re upgrading from 1.0, you may suddenly notice that you get these “undefined variable” errors. That’s because global variables are deprecated in [...]
By mariya | Published:
April 23, 2009
Remember to pay your domain fees, folks:
RubyOnRails.org actually showed this for a good few hours. TechCrunch has the full story.
By admin | Published:
April 16, 2009
My new Symfony app calls a remote web service as part of the user creation process. Since this is intimately linked with the model (I want this behavior executed for my fixtures, too) it makes no sense to call the web service from the controller.
Like Ruby on Rails, Doctrine has some handy built-in hooks to [...]
By mariya | Published:
April 10, 2009
There I was, coding up a fresh Doctrine schema for a Symfony app, when my plans to implement foreign keys were repeatedly foiled:
SQLSTATE[HY000]: General error: 1005 Can’t create table ‘./mydb/#sql-xxxx.frm’ (errno: 150). Failing Query: ALTER TABLE cow ADD FOREIGN KEY (barn_id) REFERENCES barn(id)
I was using InnoDB, both tables were there, both columns were there, what [...]
By mariya | Published:
March 28, 2009
A Norwegian client just told me to stop testing their product in IE6, words I could hardly believe I was hearing. That’s because a month ago, a handful of Norway’s major newspapers and other websites posted a warning telling their IE6 readers to suck it. And since most web-wired Norwegians read those newspapers online, it [...]
By mariya | Published:
March 26, 2009
My distinguished colleagues at A List Apart already took care of building box-shaped drop shadows. But what if you want the text to have a shadow under every letter? Here are the results of my experiment, which I loathe for two reasons:
You have to repeat the shadowed text when it’s completely unnecessary from a content [...]