June 30, 2008

YSlow - powerful FF extension

I use firebug for a while and I love it especially for CSS and JS debugging. Today I stumbled over Yslow and did some tests with it one some of my clients pages and I love the results. YSlow can help you to analyze all the referenced elements on a webpage. It shows their sizes, how they behave when a page is taken from the browser-cache, shows optimization hints and enables a easy way to optimize the output of your dynamically created webpage :) … you’ll love it. ... Read more

June 29, 2008

musique

sooo nice :P

June 23, 2008

Factory [GoF]

Do you remember the Façade pattern post? Sure you do :) - I described a child which asked his granny whether she could bake some cookies. So how this happens in a formal way was describe within theFaçade pattern post ;) but the basic action “to ask for sth.” is described here… As you might remember we had a child, probably a lazy one, which was in the mood to eat some cookies but since the cookie tin was empty it asked his granny to bake some new. ... Read more

June 20, 2008

Query Object [PoEEA]

Maybe you remember the Specification Pattern I explained some weeks ago. It enabled a easy and intuitive searching within large object-collections. A drawback of my example was that I stored the objects in the memory. This can be really ineffective if you want a single object out of hundreds, because you have to create all of them to see which one fits the specification. Normally you want to limit the number of objects and you also don’t store large datasets in memory. ... Read more

June 19, 2008

... I laughed

A friend of mine just posted that to the IM: “Hey they finally found water on the mars… this pic proves it: http://apod.nasa.gov/apod/image/0504/WaterOnMars2_gcc.jpg” …. kkthxbye

June 16, 2008

Façade [GoF]

If a child is in the mood to eat a fresh cookie it normally asks his granny for one. Like this: Child: Grannyyyyy? Granny: Yes my dear? Child: Could you mix about 2 cups of sugar, 1⁄2 cup of butter and 1⁄2 cup of milk in a saucepan and boil it for a minute. And could you, after you removed the saucepan from the heat, mix in some cocoa powder and 3 cups quick cooking oats and form some cookies? ... Read more

June 15, 2008

Today's Rofl

I just found this with the Stumble-Button: http://www.lessaid.net/fun/apt-get-wife.png - so true :)

June 11, 2008

Inherit abstract functions....

A error I find from time to time when I work with inheritance is this one: Fatal error: Can’t inherit abstract function Cookie::setFlavor() (previously declared abstract in ChocolateCookie) in … This happens when you try to define multiple abstract classes or interfaces with the same abstract functions - it’s right that this errors shows up, but today I stuck on this error for a while because I did not see the reason for that - so that’s a reminder for me ;) ... Read more

June 11, 2008

new TYPO releases

I just saw that the TYPO3 guys released a new version of the popular Enterprise CMS (www.typo3.org). The changelog shows that they mainly changed some security issues and that a lot of smaller changes in the backend happend - one change relates to the problems in the new Firefox 3 where all the frames in the backend are mixed up for some compatibility reason… this was also the reason why the also updates the 4. ... Read more

June 7, 2008

Self-extracting PHP archive

The __halt_compiler(); function in php enables to store some additional data in a php-file without blowing up the memory. A very nice possibility is to use this for a self-extracting php file as installation-packages of your php application. A wile ago I created a script which automatically creates such a archive and I think you might like it….for the impatient ones: Download / Download as Zip. Before I start to show how the entire script works I’d like to show you a small example so that you can see how the __halt_compiler(); function can be used to store some data at the end of a file: ... Read more

© tolleiv 2016 - CC BY-SA 3.0 - Powered by Hugo