Categories
Work

How to choose the right CMS

I love that they mention a list of what CMSs to avoid and it contains one item.

via Web Designer Depot

Categories
Work

Fix to Drupal to allow NOW() and CURRENT_TIMESTAMP in new tables

This is why I hate CMS software — their incessant, misguided need to over-abstract every little detail. Take for example Drupal’s system for including additional tables into your existing MySQL database. Drupal would have you create a needlessly complex multidimensional array of all the elements in your new data table schema, created with a separate function and called by another custom Drupal function. Because I guess including the actual SQL to create a table was just too fucking simple.

So here’s Drupal’s way of doing it. I hope you like nested parens!

Categories
Work

CMS Madness

Unix gets a bad rap for having an abundance of many needless flavors when — since they all use the same OS — most of the time you’re getting a choice of vanilla, french vanilla, and fat-free vanilla.

But worse than that is the proliferation of more varieties of content management systems then there has any reason to be. Why should I feel limited to just Drupal or Joomla, when there’s tons of suck to go around? If you’re building a new website and would much rather learn some other programmer’s (or worse, a committee of programmers) byzantine system of content management, visit http://www.cmsmatrix.org to view this utterly baffling plethora.

Categories
Work

Joomla vs. Drupal

It’s been my experience that content management systems are each their own special flavor of bad, in particular because they all seem to do a lot of things except the one thing you absolutely need them to do.

As a programmer, I find it a little backwards that I learned PHP and MySQL so I can create my own applications, but with a CMS I am not using those skills — instead I spend most of my time figuring out someone else’s idea of how to build applications and trying to see if what they wrote will work for me.

Awhile ago, CMS Report did a comparison of Joomla vs. Drupal, and as a survivor of building websites with Joomla, I was interested to hear whether there was anything good to say about it.

Drupal fails on such elements as Shopping Carts, Event Calendars, Document Management, and Themes. The majority of these items are functions or features which are considered lacking in the Drupal CMS. Regarding the other CMS, Joomla fails to deliver in such elements as user permission, content management, multi-site management, and standard’s compliance. Joomla fails in elements that are more architecture centric.

Let me go over that again: Joomla fails at content management. For a content management system, that’s pretty bad.

Categories
Work

I don’t care, I like PHP

I’m a PHP developer, and I am going to out myself as a naïve n00b by saying I’ve never had a problem with writing applications for it. Yes, I may even enjoy programming in PHP. This is why I’m linking to an article Jeff at Coding Horror wrote on why PHP Sucks, But It Doesn’t Matter.

The TIOBE community index I linked above? It’s written in PHP. Wikipedia, which is likely to be on the first page of anything you search for these days? Written in PHP. Digg, the social bookmarking service so wildly popular that a front page link can crush the beefiest of webservers? Written in PHP. WordPress, arguably the most popular blogging solution available at the moment? Written in PHP. YouTube, the most widely known video sharing site on the internet? Written in PHP. Facebook, the current billion-dollar zombie-poking social networking darling of venture capitalists everywhere? Written in PHP.

Notice a pattern here?

Architecture astronauts may have a problem with the language, but the fact is PHP is getting the job done. Now Javascript on the other hand — scattered documentation, poor debugging support, the OO-over designing pitfalls. I don’t see how anyone can get anything done with it. Some people can, but not me.

I, um, blame the tools.

Categories
Cartoons Work

Requiem for a Green Monster

Betty RossIt was 2001 when my friend Nick and I wrote our first (and only) cartoon about the sardonic, ever-suffering super hero The Sarcastic Hulk. And over the last two years I had been living that cartoon. I’m so damned observant I only needed my friend Lisa to point it out. You tell me if there are any similarities between a certain mild-mannered workaday tool and the jaded giant:

  • Pushover Bruce Banner gets laid off at his dead-end job.
  • Bruce dates a hippie. Their relationship consists mostly of arguing and making out.
  • Mounting failures and everyday frustrations make SH bitter and also kind of a dick.

And most of all…

  • Our hero is sarcastic.

Talk about life imitating art! If only someone had kept writing these I may have had some warning. Oh wait. But what gets me is I didn’t see this situation coming and I wrote it.*

*I will catch endless hell from one Nick Shaheen if I don’t mention that he also wrote the script, and that I’m an ass for taking out all his best jokes. Nick, nobody was going to get a joke about Meredith Baxter-Berney.

Categories
Work

I feel fantastic!

I can’t remember when I last slept! I had been cooped up in my apartment writing code all night, and when the sun began to shine through my mini-blinds I knew I wasn’t going to get any sleep now, since that’s exactly what happened yesterday morning. So I grabbed my ipod and went for a walk.

I headed down Santa Monica listening to Rebel Rebel when I caught my reflection in a guitar shop window. I’ve been letting my hair grow out, I was bedraggled, hadn’t shaved in days, and hid my eyes behind dark sunglasses. I looked and felt like a rockstar. And as I headed down the sunny side of the street at 8:30 this morning to destinations unknown, the commuter traffic was beginning to pile up. The people who had to go to sleep at a sensible hour, only to drag themselves out of bed to get into their car and sit in traffic on their way to another day at their hateful job. More grist for the mill. And I was out taking a walk, enjoying the morning sunshine. I never felt so free.

When I was working, I had that I couldn’t sleep I couldn’t sleep I couldn’t sleep insomnia gnawing at me, but this time it was different. It wasn’t the insomnia that was bothering me, it was the anxiety about when I had to wake up. Now I don’t have to sleep. I felt like I had finally found my own schedule, and it felt wonderful.

Categories
Work

Internet on the iPhone: separate but equal?

Much has been made of Apple’s lack of support for Flash on the iPhone, with Apple passing on it in favor of open standards, using AJAX, canvas and the HTML 5 spec to achieve the same slick interfaces that have until now only been seen within Adobe’s Flash player.

Apple has famously proclaimed that the web on the iPhone isn’t the mobile internet; not the “watered down internet” — and yet, it’s not quite “the” internet either.

On Apple’s iTunes page, you get a very cool interactive slider listing all of the company’s hot iTunes-related products, all presented using CSS and Ajax. All done in the browser, all done using open technology. Yeah, holy shit is right.

iTunes store on the web

Now take a look at the same page on the iPhone. It’s similar, but it ain’t the same.

iTunes store on iPhone

Since Javascript can detect which browser you’re using, Apple seems to be slightly modifying its web interface to account for the iPhone. But how many web designers are going to get caught up in Apple’s iPhone-led redesign of the web, only to find out that their spiffy new interfaces won’t work on the very device they’re redesigning their websites around?

Sweetened with CocoaAn internet built on open standards, pioneered by Apple would be pretty spectacular, but Apple is going to have to work out these ‘gotchas’ first. Otherwise, I feel this open initiative will go the way of many of Apple’s previous efforts: Cocoa (the other one, but that’s a whole other article), OpenDoc, interactive QuickTime movies, the Pippin game console and other promising technology that Apple left to rot on the vine.

I for one will support Apple’s initiative because I like open standards and I like the idea that when publishing my videos I can “encode once, run anywhere” — on the internet, iTunes, the iPod or an iPhone… pretty much anything starting with a lower-case i.

And in a perfect world, I wouldn’t be the only one. But I don’t see Jobs’s idea of the standards-based open internet catching on. For better or worse, the web is a heterogeneous place, so any kind of consistency is rare indeed. And for all his shrewd maneuvering, Jobs still has a very pie-in-the-sky idea about human nature. Would you expect anything else from an aging hippie? He should already be able to tell that consumers don’t always choose the best products, and quite understandably, people will make choices that immediately benefit themselves.

It made sense for YouTube to re-convert all their videos into the open H.264 codec to get an exclusive spot on Apple’s hottest new product, but would every Tom, Dick and Harry go out of their way to re-encode their entire collection of failed motorcycle stunts, backyard wresting clips and lip-syncing videos, just in support of open standards? My guess is no.

It would be great if we lived in a world where everyone drove a Prius, roommates would wash their dishes, and everything on the internet was open and free for anybody with a good idea, but as a poet once said, “We live in a world where good men are murdered and mediocre hacks thrive.”

It’ll take some very real incentives for Apple to lure web developers away from closed, propriety systems and into an open and free internet, not just because it’s the right thing to do. If I were to offer my two cents, it would be to make the tools for realizing your vision more available, and make them easier to use. Make it easy for people using your software to get results. (I think you used to have an OS that did this back in the mid-’80s.)


Finally, for those of you at home who want to see the web the way the iPhone does, just modify your browser’s user-agent to this string:

Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3

…just resist the temptation to touch the screen.

Categories
Work

Don’t Gloat Yet

Nothing to add, but here’s a good article from the last 2005 issue of OC Weekly, guaranteed to get Pete upset:

Don’t Gloat Yet – A bad year for Bush is bad for all of us by James Washburn