Thursday, December 10, 2009

Extension to the bookmark JSON viewer to have collapsable folders

This is a follow-up of my previous post on "Parse and display Firefox bookmarks.json on the fly as HTML with jQuery". The modification allows to collapse/expand (open/close) the bookmark folders. The collapsed folders are stored in cookies, this way they persist between page views. Download the new code and put it into your Firefox profile folder.

I want to stress one aspect of this small "application". The whole application is done in Javascript, it requires no PHP or even the web-server at all and even the body part of the HTML is empty. The whole thing that you see is dynamically generated with Javascript. Quite a different approach to the usual web-programming.

Monday, December 07, 2009

Parse and display Firefox bookmarks.json on the fly as HTML with jQuery

Abstract: this small HTML/JS/CSS file is parsing the bookmarks.json file located in the Firefox profile directory and displays all of your bookmarks as HTML. This file can be set at a default home page and so you can choose any of your bookmarks with less clicks.


Note: This code has been programmed as an exercise to learn jQuery, but serves my own practical needs as well. The same effect (displaying bookmarks) can probably be archived by using a Firefox plugin, but I like it this way.

Thursday, December 03, 2009

RIP Zend Studio 5.5.1

Although it's been several years since Zend Studio development has been ceased (the new product Zend Studio 6+ is a completely different application with just the same name), I'm still using it. And I know there are others who just can't get used to the new Exclipse IDE (Can't believe zend made this). Here I'll describe some of the bad things in Zend Studio (not necessary bugs) and propose a list of new features (this makes no sense, I know).

  • Hangs a lot. Especially when switching projects or using SVN, CPU usage goes to 100% (or 50% on dual-core) and you can't close it, except for killing javaw.exe.
  • No code completion for arrays:

Impossible features:
  • Some nice refactoring like clicking on variable and making it a class member (with replacement suggestions from other places in the code):

  • to be continued...