Posted in Development, Projects, Tutorials on February 21st, 2010 by cristi – Be the first to comment
Ok, so, after half a week-end spent integrating Zend Framework and Doctrine, I finally did it, combining two of the countless blog posts that offer the “ultimate” guide into integrating Doctrine into the ZF.
My main issue was that I also wanted modules with my fries. So whatever I wrote in Step 0 is either incomplete or wrong.
I got modules working first. That wasn’t very hard.
read more »
Posted in Development, Projects, Tutorials on February 20th, 2010 by cristi – 2 Comments
A
I have an idea involving a site about books. So I thought I’ll build it in small increments adding in all sorts of stuff I’ve been wanting to incorporate into the design flow: unit testing, ORM, automated deployment, getting rich etc.
As I’ve said before, I tend to waste my time from time to time and experiment with other languages/frameworks/technologies. I like to fool myself I’m acquiring skills, which will eventually end up in my CV, when I’m actually just de-stressing. Some people do yoga, I download and install django.
Django seemed nice, had nice automation tools to start your project, schema files, generates a basic admin that you can easily extend, has a large ecosistem of modules and applications. But then I realised the very same ecosistem is too new for me and getting this rather large project off the ground would take too long and I tend to give up if there is no quick reward, no satisfaction. I like to see stuff in the browser right away, I’ll reasd the docs after that. But I like the idea of having an ORM and schema files you can version, plus a tool to generate applications, models, tables etc.
I knew about the two big players in the php ORM world, Doctrine, used by the Symfony Project and Propel. I had used Doctrine and spent a week-end reading their docs and looking at examples before, on a small community site I had build using Adi’s framework (which will be the greatest php framework, but only after it reaches a number of 1000 complete re-writes so that it can incorporate perfection). So I chose Doctrine and Zend Framework. Zend also comes with PHPUnit. I’ll worry about Phing later, when everything works and there is something to move around in svn.
read more »
Posted in Development on February 20th, 2010 by cristi – 2 Comments
Some people wear leather and beg their master to drag them by a chain on all four. And some people come back to the Zend Framework again and again.
When you’re actually a closet masochist and you’re ashamed to tell your partner that doggy style is boring you can use Zend Framework.
It might be late, I might be tired and drowsy, but spending 2 (two) hours to bootstrap a framework just because there are 78 ways of doing and the official documentation assumes you are one of the people who wrote it is plain stupid.
Don’t get me wrong, I preffer using it to starting from scratch (not that using ZF actually gives you anything that does SOMETHING, but at least it provides a contract that you sign, to write cleaner code) but ZF must have been born out of frustration. Someone read Martin Fowler’s site and said: OMG, Class Factory!!! WOW, Singleton, DUDE, we gotta get THIS in!
read more »
Posted in Development on February 18th, 2010 by cristi – Be the first to comment
Every now and then the same question pops up in a development forum or mailing list: Hey, guys, what editors do you use for language X ?
What’s weird is that the people that ask this are not necessary newbies. People with 3 or 5 years of experience ask this sometimes. This actually means that the person asking this has just become frustrated about their present editor.
Aside trying out different web languages from time to time, I also like to try out (new) editors every now and then. I think I’ve tried them all, more or less.
read more »