I’ll introduce this topic with a warning – This article doesn’t show you how to completely reorder your entire Navigation, it does however show you how you could populate a new container from an existing one and reorder it. Zend Navigation currently doesn’t allow you to nominate a default Navigation Container class. So while we [...]
Archive for the ‘PHP’ Category
Zend_Navigation Tricks: True tab navigation with sub menus – Part 3
Posted: 16th August 2009 by Grant Perry in Zend FrameworkTags: jsTree
Part 3: Implementing jsTree which uses jQuery (optional javascript expand/collapse) This is a completely optional step in this series and really has nothing to do with Zend Framework because by this based on the client side we have all the HTML we need. What we’ll be doing is setting up jsTree a jQuery tree component [...]
Most professional PHP developers should be familiar with phpDocumentor, an “auto-documentation tool for the php language”. If you’re not please go check it out and start using it immediately! It has some great features, but that’s not in the scope of this post… Unfortunately most of the phpDocumentor templates leave much to be desired! However [...]
Wheres the Model in Zend Frameworks MVC?
Posted: 5th December 2008 by Grant Perry in Zend FrameworkTags: form, model, mvc, validation, Zend Framework
Don’t get me wrong ZF is my PHP framework of choice however it’s really lacking the Model concept from the MVC design pattern! The Model is where you should be implementing your business logic, data validation for example… Zend Framework implements interfaces for filtering and validation on it’s Form components. The framework however lacks these interfaces on other [...]
Zend debugger – without Zend Core/Zend Platform
Posted: 16th December 2007 by Grant Perry in Apache, PHPZend debugger is basically the server side component that is used by Zend Studio. You need this to do your remote debugging!! Normally you’d find this included in an installation of Zend Core or Zend Platform. However we aren’t using Zend’s apache php bundle so this little gem has to be loaded… It’s hard to [...]
My problem is I and working on a web interface which runs some limit shell command. Some of these normally require root access… And I don’t want to do something silly like force apache to run as root now do I? Provided you have sudo installed (like most distro’s) the following is a good solution [...]
My goal was more complex than what’s described here in, but I wanted to share a simple function for returning the links in some HTML (now that I know what I’m doing)… Hopefully someone finds this useful, it was a common question in forums I noticed. Regular expressions are a power tool for working with [...]