Tag Archives

2 Articles

Zendcon…time to head home

by baohx 0 Comments

I was at Zendcon this weekand it was pretty fun.  Unfortunately one of the primary reasons for going was missed as the certification seats were in extremely short supply and Zend was not able to correct the issue.  I would at some point like to get ZCE (and they just started ZFCE (Zend Framework Cert…)).

The convention itself was pretty good.  The speakers were usually well-prepared and were very knowledgeable on the subject matter.  I’ve learned a few things and have a few more tools I’d like to try once we get back to Phoenix (I went with two co-workers).

We did some sight seeing Monday and Thursday.  Monday afternoon we went into San Francisco (which took 3 trains to get there, and another to get across town to Pier 39).  On our way back that night we went through Chinatown, where I could not help but buy some delicious gummies.  On Thursday afternoon, Ivan and I went to find the Winchester Mansion (essentially a real version of the Rose Red story by Stephen King).  A very bizarre house.  I will post pictures when I get home.

That’s it for now.  Must find food before plane.

Crystal Core

Lots of us in PHP land want a nice framework. Many frameworks out there are either too rigid or too bloated. Many of them don’t have a whiff of documentation, let alone the thought of them being supported.

That being said, there are some wonderful classes out there. The building blocks of the Zend Framework are well built and pretty well documented, and we know that work will continue to be done on them. For database work, there are many abstraction classes, but one that stood out to me was Doctrine.

There are a few tutorials here and there about building your own framework from pieces or from scratch. Who has the time for that? Well, a friend and I did have time a while back, and we came up with a pretty nice solution. Feel free to take a peek at the presentation I threw together for a recent AZphp meeting. The idea was to create a highly flexible modular framework without having to build the whole thing ourselves or continuously reinvent the wheel. We also wanted something that other people are already working on and already being used in applications. We decided to just start with checkouts of ZF and Doctrine

The framework’s “bootstrap” pretty much sets up the basis for a MVC application. Your custom files take it from there utilizing whatever building blocks from Zend Framework (or anything else) you want to use.

Now, I’m not going to say it’s any where near “stable”, but versions of it have been used for production web applications. In the coming weeks, I will be building some usage documentation for the core itself and a few basic application tutorials (the ever-popular “build-a-blog” tutorial that most frameworks release will probably be ready next weekend). Until then, you can check it out via Subversion here. What you check out is to be a “library” directory under your application. You can see the directory layout in the presentation linked above.