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 ‘Zend Framework’ 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 [...]
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 [...]
Part 1: Access Control List – a model to solve all models!
Posted: 14th September 2007 by Grant Perry in PHP, Programming (app), Zend FrameworkI’m involved in the development of a large web application (using Zend Framework) with many different types of entities inside! Some functions performed on these entities should be accessible to some users but not others… To make things more interesting users can assign other users with rights to these entities… We’re going for a hands [...]
Currently Zend_Auth won’t work if you’re using a Micrsoft SQL Server database for storing your account credentials. This is because of a bug in the \Zend\Auth\Adapter\DbTable.php specifically in the authenticate() function. The SQL Statement it generates is not MS SQL friendly: SELECT "users".*, "credential" = ‘mypass’ AS zend_auth_credential_match FROM "users" WHERE ("identity" = ‘me’) Consequently [...]
Buzzzzzz on frameworks and libraries
Posted: 24th August 2007 by Grant Perry in Javascript / AJAX, PHP, Usability, Zend FrameworkThere’s a lot of buzz with Frameworks and Libraries these days, and rightly so, without them some projects I’ve worked on would still be under construction!!! Developing with frameworks and libraries will save you time in both development and testing. The abundance of functionality some provide often mean you’ll end up with a better end [...]