Lubos Programming Blog

Lubos Blog about Programming (mainly Java) and Computers

Archive for the ‘web’ Category

Facebook API notes

Posted by lubosp on May 22, 2010



Posted in tools, web | Tagged: | Leave a Comment »

Smooth tiny scrolling (instead of jump)

Posted by lubosp on June 18, 2006

This article contains javascript example of smooth tiny scrolling:
The Tiny Scrolling | Central Scrutinizer (en. vers.)

Posted in java, web | Leave a Comment »

Useful tools for AJAX, Javascript, Html, Css debugging

Posted by lubosp on June 5, 2006

Here are some useful tools for AJAX, Javascript, Html, Css debugging:

Here is my favorite list for Firefox:

  • DOM Inspector: – DOM Inspector is a tool that can be used to inspect and edit the live DOM of any web document or XUL application.
  • Firebug: – FireBug lets you explore the far corners of the DOM by keyboard or mouse. All of the tools you need to poke, prod, and monitor your JavaScript, CSS, HTML and Ajax are brought together into one seamless experience, including a debugger, error console, command line, and a variety of fun inspectors.
  • Venkman Javascript Debugger: – the best Javascript debugger; Venkman is the JavaScript debugger for Mozilla based browsers, such as Mozilla 1.x, Netscape 7.x, and Phoenix/Firebird.
  • Web Developer Extension: – The Web Developer extension adds a menu and a toolbar to the browser with various web developer tools
  • JavaScript Shell: – Features: autocompletion of property names with Tab, multiline input with Shift+Enter, input history with (Ctrl+) Up/Down, Math, help Values and functions: ans, print(string), props(object), blink(node), clear(), load(scriptURL), scope(object)

Posted in ajax, web | Leave a Comment »

Problems with Internet Explorer

Posted by lubosp on June 1, 2006

Suddenly (started last week) I have problem loading web pages into IE6. I can connect to and browse web using Firefox, Mozilla or Netscape. Till last week I used Maxthon (which use IE engine) to browse web, but now I have to switch to Firefox. Displaying local html files works fine.

Unfortunatelly Windows XP is quite dependent on IE (even if it is not a default browser). For example I cannot do web based Windows Updates, or I tried to check Google AJAX Toolkit, but its “home” browser uses IE, so it does not work.

I would be completely comfortable to live without IE, but it seem to be impossible to setup Windows to totally uninstall IE.

I have even reformatted and reinstalled Windows XP SP2, and initially it worked but after few reboots the problem was back. It might be caused by some application (I have most of the aplications installed on D drive), but I have no idea which one, and I did not install any new application before it started happening.

Anybody has an idea what might be wrong, or how to debug the problem?

Posted in web, windows | Leave a Comment »

Tomcat and JBoss monitoring – Lambda Probe

Posted by lubosp on April 26, 2006

Home – Lambda Probe

Free LambdaProbe Tomcat (and JBoss) monitoring tool

If you want to install:

1. unzip into /webapps
2. edit conf/tomcat-users.xml and add:
<role rolename=”manager” >
<role rolename=”poweruser”>
<role rolename=”probeuser”>
<user roles=”standard,manager” password=”admin” username=”admin”>
<user roles=”standard,poweruser” password=”poweruser” username=”poweruser”>
<user roles=”standard,probeuser” password=”probeuser” username=”probeuser”>
3. setenv JAVA_OPTS “” (allows JMX)
4. restart Tomcat

Posted in java, web | Leave a Comment »

Excelent web testing tool Selenium IDE

Posted by lubosp on February 7, 2006

Excelent web testing tool Selenium IDE
It is possible to develop JUnit tests in Selenium,
but it is not straightforword as it is with JMeter which allows you to record tests (albeit more cumbersome them Selenium by using proxy), and execute test from Ant or from JMeter UI.
But JMeter does not have ability to debug the test scripts as Selenium has. I have heard about Selenium at NoFluffJustStuff conference I have attended in November.

Posted in testing, tools, web | 1 Comment »

Good article on AJAX on Sun Java http://java.sun.c…

Posted by lubosp on June 14, 2005

Good article on AJAX on Sun Java Looks like Sun is embracing AJAX and Javascript.

I still wish, that AJAX is build into higher leve components (like Tapestry components), so I do not have to worry about writing and maintaining AJAX javascript code.

Posted in ajax, java, web | Leave a Comment » JBoss At Work, Part 1: Installing and Configuring JBoss

Posted by lubosp on March 11, 2005 JBoss At Work, Part 1: Installing and Configuring JBoss

Posted in java, web | Leave a Comment »

StatCVS offers a view into CVS repository activity…

Posted by lubosp on February 26, 2005

StatCVS offers a view into CVS repository activity

StatCVS is a handy utility for creating charts of a Concurrent Version System (CVS) repository’s activity. In this article, developer Tom Copeland explains how to install and run StatCVS, gives an overview of the reports generated, and then explores generating reports for multiple repositories, StatCVS internals and limitations, and more.

[via IBM developerWorks Java technology zone]

Posted in tools, vcs, web | Leave a Comment »

Tomcat & Apache Integration Options and High Avail…

Posted by lubosp on February 6, 2005

Tomcat & Apache Integration Options and High Availability [Larry Williams’ Weblog]

Found a good article by Mladen Turk that covers the following topics:

  • Sticky sessions
  • Reverse proxy
  • Load balancing
  • Failover
  • Domain Clustering model
  • Calculating Load
  • Fronting Tomcat with Apache & IIS

A really nice summary and a good reference when implementing high availability for Tomcat.

[via java.blogs Day’s Entries]

Posted in java, web | Leave a Comment »