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.

Screenshot:

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).

Problems:
  • 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...

Friday, August 28, 2009

Seeing all Google Analytics profiles at once

As I have several different sites to manage in Google Analytics (and more come from time to time) I wished I could have a quick overview of all the profiles under my control. I found no ready software for this hence I wrote it myself. Here you can see the first initial version. If anybody extends it, please let me know so others can download it too.
Screenshot:
 
Download PHP source: gaChart.rar 
Installation instructions: copy the files (there's just two) to your web-server, change index.php to contain your own Google Analytics login and password (line 15) and run index.php with web-browser.
Should you like to use this, but don't have a web-server, please let me know and I will install it on my server for everybody to test.
Disclaimer: I've used the Google Analytics PHP library from http://www.askaboutphp.com/tutorials/63/google-analytics-api-class-for-php.html