Zend 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 [...]
Archive for the ‘Programming (app)’ Category
Zend debugger – without Zend Core/Zend Platform
Posted: 16th December 2007 by Grant Perry in Apache, PHPMy 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 [...]
Installing Trac and some plugins
Posted: 18th September 2007 by Grant Perry in Apache, Linux, Programming (app), SubversionTrac is a popular open source issues management system written in Python. It also features a wiki and subversion browser. There are also countless plugins that have been created for it some of which I’m surprised aren’t included in the base install. I’m installing this on a Ubuntu server, so you may need to find [...]
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 [...]