Pragmatism in the real world

Directory Structures (again!)

Last night, the West Midlands PHP User Group met at The Swan pub in Worcester for some food and a chat. One of the discussions we started, but didn't finish was on directory structures and I thought I'd write down my current thoughts. The Top Level I like to keep everything within a project root directory and the top level directories are quite easy to define: project-dir/ app/ lib/ tmp/ scripts/ www/ Let's consider these… continue reading.

Zend Framework Tutorial 1.0.3

Another minor update with some more bugs fixed. Thanks Holger and Develucas! I've also added an explicit note that the tutorial only works with version 0.1.5 of the Zend Framework. Supporting the development trunk from subversion would be too much work for me! I intend to have a good look at the whole rewrite base thing and see if I can work out what does and doesn't work.

One Application Down: Some Zend Framework Thoughts

Tomorrow, I go to a (hopefully) final meeting with my client to wrap up the deployment of my first Zend Framework application. It's gone very smoothly as a project all in all and is all over bar the shouting. So what have I learned? In no particular order: Automatic rendering of the template from within the Action's destructor is more hassle than it's worth! It's better to have a render() method and called $this->render() at… continue reading.

Firefox 2 beta 2

Beware this beta! A new theme is in the works and it wasn't ready when beta 2 was released… I use Windows Classic and the tabs are terrible and don't follow my system colours at all. Very very odd. I'm assuming it'll be fixed by the release of Firefox2 as the regression list is long and being tackled. Jed Brown covers the actual problems in more detail. Other than the theme, Firefox2 is shaping up… continue reading.

Minor update to the Zend Framework Tutorial

I've updated my Zend Framework tutorial to 1.0.1 to fix all the minor errors that people have found. Thanks guys for letting me know! I guess it just goes to prove that that I'm not that good at proof-reading :)

My Take on a Zend Framework Tutorial

I thought I'd turn my hand to writing a tutorial… As both readers of my blog will have noticed by now, writing prose isn't my strongest point, but hey! you don't have to read it :) I ended up doing it as a PDF as I found writing it in a wordprocessor easier than anything else I tried. It also ended up quite long! The PDF is available at http://www.akrabat.com/zend-framework-tutorial, so please leave any comments/corrections… continue reading.

Demo!

Tomorrow morning, I get to demo our first Zend Framework powered application to the MD of the client's company. I'm dealing with the IT director there, so it's a little nerve-wracking to be presenting to the boss-man! The demo is going to go well as it's a pretty damn good application. Tomorrow I'm gonna write an Active Record type class to make dealing with the database easier. Zend_Db_Table just doesn't cut it!

AkCom: The Akrabat Components for the Zend Framework

I have a real world project to deliver that will be based on the Zend Framework, so I'm actually putting in time to get a system that works for me. Some of the work I'm doing, I've decided to release under the same license as the Zend Framework and I've decided to use the name AkCom. I was using Akrabat, but decided that it's too generic for me and I might have other plans for… continue reading.

Dynamic Tabs Subversion Respository

With the help of Cliff, I've finally got a publically accessible subversion repository online at http://svn.akrabat.com! The first project with actual code in it is my Dynamic Javascript Tabs. I've updated the trunk to include the change suggested by Samio so that the "activation" code is not part of the js file and is not part of the htm file.

Zend_Config: Iteration and Arrays

An question about iteration, arrays and Zend_Config was posted to the Zend Framework's mailing list by Troy Marker. I thought I'd repeat it here as the solution shows how flexible Zend_Config can be. The post was: … First off I am using an XML file for the data: < ?xml version="1.0"?> <config> <lists> <root> <line1> <link>/index/show/gallery/cars/</link> <text>Cars</text> </line1> </root> </lists> </config> I am trying to iterate the file above to create a list in an… continue reading.