I had a though time trying to post an object inside a form so I wouldn’t need to query database again with the same result just to export the rowset to a xls.
What happened is that I had a search form with a big variety of combinations such as City, State, Status, Gender and [...]
I was googling around to find a good way to delete row from a column and automatically cascade to parent table. After reading a lot of bullshit, found the solution with the code above:
My Unit Model (Unit.php)
<?php
class Unit extends Zend_Db_Table_Abstract
{
protected $_keys = array(‘id’,’addressId’);
protected $_name = ‘unit’;
protected $_sequence = [...]
After a couple of hours trying to figure out what was wrong with the file_get_contents($url) used on the Deadline wordpress theme to get twitter followers, the fix just came into my mind. The string being passed with the Twitter Username ($twitter_username) was not being concatenated to the url (‘http://twitter.com/users/show.xml?screen_name=’) as string. So, when file_get_contents($url) tried [...]
It’s quite funny when the most complex problem is solved with the easiest solution. I just found myself crazy about how to connect to database from a Controller Helper so I could get the Roles and the Resources to implement the ACL. Well, it turns out that if you want something to be bootstrapped right [...]
I’ve been posting a lot about modules and Zend Framework lately. I’m really amazed about this product and it’s helping me to develop a good CMS. I’m sharing the application and library folder of the CMS with different projects and not every project has every module installed, because of that, I can’t bootstrap automatically since [...]
I’m not really into this database thing. I study about MySQL just for the basics. I’m even considering to move Doctrine 2 into my whole Zend application. While I don’t do that, I have to figure out how to implement the functionality I described [...]
Finally, after finding out how to have module based configuration, I could implement what I say is the most useful method for application development: creating database table on demand! Although I lost an entire night for this, it’s actually really simple. All you need [...]
Afther thousands of ‘Googling’ for how to implement module specific configuration, I got into this post from Jeroen Keppens about how to implement a resource in bootstrap to load configuration files stored in module’s folder. It’s really, really good. But I read lots of times and [...]
Hi, this is just a try out post to see how this Symbian S60 app works.
There should be this text and a photo I took in Buenos Aires last January. Cheers!
Well, I’ve just decided to keep my blog alive, so I had to put some content in here. And no content is better than my lastest works. I have been developing a lot of websites, specially in Magento and WordPress.
I [...]
Articles (English)
- Database (4)
- MySQL (3)
- Front-End (1)
- Management (2)
- PHP (12)
- Wordpress (1)
- Zend Framework (7)
- Tips (3)
- Database (4)
Newsletter SignUp

