Archive: zend framework

 

Posts Tagged ‘zend framework’


If you encounter the error : Invalid bind-variable name xxxxxx When trying to use named bound parameters with Zend Framework, then you are probably using the Mysqli adapter. Unfortunately this doesn't actually support named parameters, but the Exception message isn't really clear on that, despite being thrown in this block of code: PLAIN TEXT PHP: [...]



 

If you use Zend_Db_Statements directly as well as using the Zend_Db_Table family of classes for Active Record et al then you might find the following little tip useful. By default, if you run a query using something like PLAIN TEXT PHP: public function query($sql, $params=false) {     if(empty($params)) {         $stmt [...]



 

Currently working on a big Zend Framework project so I though I would have a breather and do a little blog post targeted at anyone looking for a UK based Zend Framework developer. I've built a few Zend Framework based systems and have found it a fun system to work with, especially on the more [...]



 

With some trepidation I decided that I really had to implement pagination into a Zend Framework project I am working on. Zend Framework is great, but some of the sections can be a little tricky to get your head around at first attempt. However, less than an hour after first looking at it, I have [...]



 

If you are getting a weird "cant' save customer" message in your local Magento development environment when trying to save a new account, but the bug is not on your live store, this might be the solution.. If like me you not only develop Magento sites but also use Zend Framework for other projects (which [...]



 

If you develop using Zend Framework you will know that it is sometimes tricky to see exactly whats going on in terms of SQL queries. After trying a few different ideas including subclassing the database classes or other complex systems, the easiest I have found is this: 1. Edit your app.ini config file and add [...]



 

Working on a couple of custom Drupal modules at the moment and I have to say I'm really enjoying working with the Drupal forms API. I really feel like I have a wealth of cool features at my disposal without any particular effort or complication. It's a very logical system that does what it does [...]



 

Problem: You are dutifully setting your size attribute in your Zend Form class and you input elements are being rendered with that size attribute. However if Javascript is enabled and you are using Dojo for your forms, the size attribute gets dropped. Solution: To set the width on dojo form elements you must use the [...]



 

I have recently been messing around trying to figure out the best way of running long processes within a Zend Framework App. Usually I would code in regular flush(); commands to make sure that the browser didnt time out and also that the user can see that something is happening. However, the standard MVC structure [...]



 

Bit hard to describe this one, but if you use Zend Framework along with the MVC functionality, and you also use base classes for your controllers, models etc, you may find that for each controller, model etc the files are pretty much the same apart from the names of the files and the classes. If [...]