Archive for September, 2006

27th Sep 2006

What Is Web 2.0?

Web 1.0 –> Web 2.0

DoubleClick –> Google AdSense

Ofoto –> Flickr

Akamai –> BitTorrent

mp3.com –> Napster

Britannica Online –> Wikipedia

personal websites –> blogging

evite –> upcoming.org and EVDB

domain name speculation –> search engine optimization

page views –> cost per click

screen scraping –> web services

publishing –> participation

content management systems –> wikis

directories (taxonomy) –> tagging (”folksonomy”)

stickiness –> syndication

Read more

Technorati Tags: , , , , , , , , ,

Posted in WWW | No Comments »

23rd Sep 2006

Apending text to a field which isn’t empty (mysql)


UPDATE `table`
SET `field` = CONCAT(`field`, ' append text');

Posted in Snippets | No Comments »

10th Sep 2006

How Object Oriented is PHP?

How OO is PHP?

How “object-oriented” is PHP? Your answer to that question probably depends on your particular litmus tests for object-orientedness. In this sidebar, we offer a whirlwind tour of features that typically show up in OOP languages and briefly discuss the extent to which PHP supports them. Some of these issues are explored more broadly in the section “Advanced OOP Features,” later in this chapter. (Note: This sidebar is really only of interest to developers who are coming to PHP from a different OO language; everyone else may want to skip this game of buzzword bingo.)

Single inheritance
PHP allows a class definition to inherit from another class, using the extends clause. Both member variables and member functions are inherited.

Multiple inheritance
PHP offers no support for multiple inheritance and no notion of interface inheritance as in Java. Each class inherits from, at most, one parent class (though a class may implement many interfaces).

(more…)

Posted in PHP | No Comments »