A short look on nwire
October 14th, 2009
nwire is a new eclipse for extension, and it allows you to explore your code. When I say explore , I really mean explore. It’s not a static stuff where you watch a diagram. More about this in the youtube presentations .
This is a must have extension for devs who do a lot of refactoring [...]
Notice: Indirect modification of overloaded property ..
October 13th, 2009
You get this because you have the __get method set up , and you are trying to access an array that is not declared.
class a {
// private $stuff = array();
public function foo()
{
$this->stuff['asd'] = ‘foo’;
}
public function __get($name)
{
return null;
}
$a = [...]
Uploading a image in php with curl
October 12th, 2009
In the latest years we (php programmers) have spent a lot of time behind classes and frameworks , making all our repetitive tasks available in simple and understandable forms like :
$image = new Image(’/var/www/image.jpg’);
$image->upload(’http://www.somesite.com/upload.php’);
However , when the Image class can not be used , most of use will google for “how to upload an image [...]
Adding custom admin config options in Magento
October 9th, 2009
I had a problem related to the admin configuration options in Magento. (not 100% resolved yet) . It took me some time to figure it out. To have your magento module add it’s own configuration options in the sytem area , there are (theoretically) some simple steps to follow. However , I obtained the access [...]
Some integration plugins are pure crap
October 8th, 2009
I recently stumbled uppon a Wordpress integration plugin for Magento , which was actually hosted on Magento main site. The plugin required both Mangento and Wordpress to be edited. Which is crap. That’s not a wordpress integration, that’s wordpress hackintegration .
Because both Magento and Wordpress have to be edited, neither can be upgraded anymore. [...]
Rss