May 07

Nah, akhirnya datang juga, web debugging tool untuk web browser Opera, namanya Opera Dragonfly. Walaupun tidak sebaik dan semudah Firebug (mungkin karena masih versi alpha), tapi lumayan untuk mengenal bagaimana Opera mengartikan skrip CSS dan Javascript yang kita buat.

Dari Ajaxian, feature yang ada di versi alpha ini adalah:

  • Reach breaking point step by step: Opera Dragonfly’s fully featured JavaScript debugger makes building sophisticated Ajax applications easier than ever. Step through your code line by line, setting break points along the way. This allows you to make sure your application and scripts are acting as you designed them.
  • Redefine your style: Its not just the DOM you can inspect. Check out what CSS rules apply to which element, and what rules are inherited or set by browser defaults. Overridden rules are highlighted so you can see what styles are or aren’t applied. Support for editing CSS rules will be added in an upcoming version.
  • Spot your errors: An improved error console allows you to see, filter and log any errors in your scripts, pointing to the exact position the error occurred. Use this in combination with the other tools to hunt down and fix your site’s bugs.
  • Debug the DOM: View source isn’t much use if you use DOM Scripting to alter the DOM. Opera Dragonfly allows you to inspect the updated DOM and all it’s properties. Support for editing the DOM will be added in an upcoming version.

The features that are not there yet, but are upcoming, include support for editing of CSS, JavaScript and the DOM, a single window mode, improved JavaScript thread handling, XHR and HTTP monitoring, improved keyboard navigation, and translation into a number of languages.

Ya ya, cukup menjanjikan.

Dec 07

Here you go: http://www.pickbee.com/free-quality-icons-for-your-website-or-application/

A little note from the site,

Icon is one of important visual element for web design or application. Appealing icon can easily draw your user attention and telling message in more effective way, therefore by using them properly you can help your user quickly find information that they are looking for. A well designed icons and proper use of them surely will help increasing your website or application value which lead to increase in profits for your product and business.

Dec 03

If you're a PHP developer who use Windows for development platform, you might want to try htscanner. It's a PHP extension that parses configuration files (for example .htaccess) and changes the PHP settings according to it. You can find its windows binaries here.

It's a very useful extension especially when you need to simulate PHP configuration setting using .htaccess in Windows, which you can't do this if you're using PHP in CGI/FastCGI that usually comes in Apache+PHP installation for Windows.

Just download php_htscanner.dll from PECL4Win, save it to your extension directory (for ex: c:\php\ext) and add these lines in your php.ini :

extension=php_htscanner.dll

[htscanner]
htscanner.config_file=".htaccess"
htscanner.default_docroot = c:\apache\htdocs

c:\apache\htdocs is your docroot, change it to your own docroot directory. Then create .htaccess file in your docroot with these lines:

<IfModule mod_php.c>
php_value register_globals off
</IfModule>

You need <IfModule mod_php.c> to make sure you won't get 500 error if you're using mod_access in your Apache installation, also it's compatible with Apache+mod_php configuration that usually comes with Apache in Linux. In this example i make register_globals off for all PHP files in c:\apache\htdocs.

Thanks to Pierre for maintaining this extension.

Dec 02

With the release of IE7 many web developers (like me) were faced with a need to test their applications on different versions of IE, but it was impossible for them since there is only one version of IE can be installed on Windows.

But today, as announced by IE Blog, Microsoft has made Virtual PC (VPC) 2004 available for download which contains a pre-activated Windows XP SP2, IE6 and the IE7 Readiness Toolkit to help facilitate developer to test their application on different version of IE (6 and 7).

Now you can install IE7 on your main machine for development, and get all the advantages of IE7, like the RSS platform, native XMLHTTP stack, and improved security, while still running IE6 simultaneously in the VPC on the same computer. Most importantly, you don’t even have to buy an additional Windows license. The VPC image runs in a virtual machine that offers all of the functionality of a full IE6 installation without giving it any access to its host machine’s hard drive, registry, etc. You can make as many modifications as you want to the virtual machine without affecting your host installation at all.

Get more information on Virtual PC 2004 here.