Made of Everything You're Not

No, not the flute playing Eric Lamb; the guitar playing, PHP programmer Eric Lamb. The better Eric Lamb.
  • Home
  • Projects
  • Portfolio
  • Resume
« pChart – a PHP class to build charts
When Did Performance Stop Being Important? »

The Framework is the Language

As I’ve mentioned I’m trying to move all my programming to a web framework. It was tough going though because of the sheer complexity and my naivete about the  undertaking.

The Framework is the Language

The Framework is the Language

After about a month of working with the Zend Framework I’m a little… bored with it. If this is what working with a framework is like I don’t want it (thank you very much). I, naively, thought using a framework would increase my productivity and highlight some of the joy I feel when developing and learning but, so far, all I have is frustration and a pretty heavy headache.

Since then, I’ve spent some time looking at Symfony (a fine, but overly complicated, framework), looking at Code Igniter and digging deeper into the Zend Framework. It was while doing all of that, and struggling with the enormity of learning an entire freaking framework, that a thought occurred to me; I need to look at this as learning a new language instead of learning a component.

You can’t approach learning a framework as anything less than you would when learning a new language. Anything less and you’re in for pain. After this realization the framework came together pretty quickly though it still hurt like hell.

So, what does that mean? IMO you should have total absorption; learning a framework can not be done very effectively a couple hours at a time. Frameworks are just too damn big. They have too many parts and all the frameworks I’ve looked at seem to have very different philosophies in the architectural design and structure.

The strategy I took was, and the one I use when learning a new language BTW, is to make the project my world. Everything else is gone and all that’s left is the problem. There is no break, no rest and sleep is used to further solve problems more than it is to recharge. It’s really the only way I can accomplish something as complex and challenging as learning a new programming language.

The good news is that I now feel very comfortable using the Zend Framework though I still have my doubts as to how good of a decision it is to use a framework at all (that’s another discussion though).

Bookmark and Share

Related Posts

Connect to Multiple Databases with Zend Framework
Custom Routes With Zend Framework
Care About What Matters
Zend Framework URL View Helper
Welcome to The McDonaldification of Web Development

Tags: web development, zend framework

This entry was written by Eric Lamb and posted on Friday, September 18th, 2009 at 5:00 am and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 Comments

  1. David Duggins says:
    October 5, 2009 at 11:03 am

    I too have noticed that frameworks aren’t always all that they are cracked up to be. I prefer using my own “non-framework” set-up for coding php than using zend ect. As far as a new languages is concerned, I’ve been playing with Ruby on Rails and I find it to be a pretty nifty web-framework. I still come to points where I beat my head against the wall and say “I’d already have this done in php” but I figure that is just the learning curve kicking my ass and that once I get around it, I’ll not have such headaches as much.

    Reply
    • Andy Jeffries says:
      November 6, 2009 at 3:00 am

      Absolutely, you’ll get used to Rails the more you use it. I’d recommend railsforphp.com as a good resource to find the equivalents. Doing a search for a PHP function will get you the Rails/Ruby equivalent, for example – http://railsforphp.com/reference/strings/substr

      I’ve also written a few blog posts you may find interesting (as I’m an ex-PHP developer):

      http://andyjeffries.co.uk/articles/4-reasons-why-ruby-syntax-is-better-than-phps-
      http://andyjeffries.co.uk/articles/rebuilding-a-site-from-symfony-to-rails
      http://andyjeffries.co.uk/articles/why-i-think-ruby-on-rails-is-an-ideal-web-development-environment

      Reply
      • Eric Lamb says:
        November 6, 2009 at 8:34 am

        Thanks for the links Andy; good reads :)

        Reply
  2. n0xie says:
    November 5, 2009 at 2:24 am

    I would agree with you to some extend untill you mentioned CodeIgniter. CodeIgniter is so simple it takes most experienced developers less than a day to get up to full speed. The Zend Framework and Symphony are in a whole different ballpark so yes getting to know them takes time. The key feature here is documentation. and the willingness to learn something new.

    Reply
    • Eric Lamb says:
      November 6, 2009 at 8:36 am

      Hi noxie,

      Thanks for the insight; I realize CodeIgnitor isn’t the most complicated framework but you do pay for the ease of use with higher load per request.

      Eric

      Reply
  3. tb says:
    November 6, 2009 at 7:28 am

    Agree. I’d even go a little further and say that sometimes a framework can be an absolute saving grace, making an otherwise clumsy language palatable. Come to think of it, a framework is an interesting evolutionary step in language’s life-cycle. Makes me wish the boiler plate functionality of a language that get synthesized into a framework simply became integrated into the core of the given language.

    Reply

Leave a Reply

Click here to cancel reply.

  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008

Copyright © 2008 - 2012 Eric Lamb - All rights reserved