Online photo editors
PIxlr – Photoshop-like replacement
Picnik – iPhoto level app
This one is less “scary” for users, as the interface is a bit more simple and intuitive
text/application type is deprecated
This was news to me–RFC4329 explicity declares text/javascript to be obsolete. Instead, application/javascript is to be used. The problem? Not all browsers support it yet.
Here’s the breakdown:
Firefox
- Firefox 3.5.4 – supported
Internet Explorer
- IE 8 – NOT supported
Safari
- Safari 4.0.3 – supported
Chrome
- Chrome 3.0 – supported
Determining if a method was called statically
In PHP, it’s occasionally helpful to call a method sometimes statically and sometimes from class instance. Figuring out which way a method has been called is pretty straightforward, thanks to a function posted in the PHP documentation:
<?php
function foo () {
$isStatic = !(isset($this) && get_class($this) == __CLASS__);
}
?>
- ← Previous
- 1
- …
- 5
- 6