03
Jan

linux ping, root permissions problem

Tagi:


This post represents an update and google chrome install problem. After foth, the ping command doesnt work and xdm is blank.installed alienchrome linux installhttp://macles.blogspot.com/2009/05/google-chrome-chromium-for-linux.htmlintel video card possible problemhttp://medwinz.blogsome.com/2009/03/18/xorg-update-for-opensuse-111-it-works-on-intel-gm45/http://en.opensuse.org/SDB:No_Cursor_-_Display_problem_with_Intel_855_GM



23
Oct

RSS feeds with Zend_Feed

Tagi: ,


It is straight forward. Developer just creates an array with data for every item in the feed and uses Zend_Feed’s importArray function. To use non standard tags in the fed, e.g. DC:CREATOR one must register a name space and add param to feed entry through an object interface. I just created it through the importArray function and that did another iteration, setting DC:CREATOR param to each feed.http://www.theageofwill.com/blog/2008/5/26/rss-feed-in-zend-framework.htmlhttp://framework.zend.com/manual/en/zend.feed.modifying-feed.html



20
Oct

Css stylesheet ordering

Tagi: ,


How to know which rule will be used for a specific element?http://hungred.com/useful-information/css-priority-order-tips-tricks/



21
Sep


31
Aug

How to debug any query in Zend-Framework

Tagi: , , ,


If you user Zend_Db and dont have profiler disabled, all queryies are stored in the profiler object. This is the way to retrieve the last one:

$db->getProfiler()->setEnabled(true);
$db->update(  );
print $db->getProfiler()->getLastQueryProfile()->getQuery();
print_r($db->getProfiler()->getLastQueryProfile()->getQueryParams());
$db->getProfiler()->setEnabled(false);

Original post:

http://stackoverflow.com/questions/1009639/zend-db-framework-examine-query-for-an-update



25
Aug


18
Aug

Make your web graphics puny

Tagi: ,


The free service promisses great compression rates - PunyPng.



18
Aug

How to build jour webapp

Tagi: , , , ,


This is just a suggestion …

Your source is version controlled, you have a timelane of commits, team area for colaborating and documentation, a fast online source editor for editing code and commiting changes and its free …

You have to dream no more

free git, svn and mercurial source repositories (100MB is free, unlimited private and public projects)

bespin - online editor for firefox and safari (no plugins needed) with colorization and colaboration. It also has the ability to work on a checkouted version of your project and commit back the changes ….



17
Aug

Class serealization in php

Tagi: ,


When usin serialize or unserializa functions on a class, all class properties are returned as a string, so the class’s content can be stored somewhere and retrieved later. When a class does not need to store all properties, __sleep method is used to define the properties of the class to be serialized. With this function there seems to be special sintax to define any parent properties, that you need serialized as well.

 Class searilization using __sleep function for parent classes



11
Aug

Site optimization is a feature

Tagi: ,


It seems interesting as all my optimizations were maid with server running and not server running faster :)  I get it now, that when you create a new website, you have to back it up all the way.Optimization of stack overflow




 

Iskanje