Category Archives: JavaScript

Performance Matters or Not

Joel Spolsky had a post “Strategy Letter VI“. And I did agree with him to some degree when reading the post. And I decided to write a post about these opinions related to Java2Script later in the evening. And later … Continue reading

Posted in Architecture, GWT, Hacks, JavaScript, SWT | 3 Comments

Performance of Comet and Simple Pipe

About one and a half months ago, I introduced Java2Script Simple Pipe, another Comet implementation. At that time, I knew there were lots of performance issues on such Comet technology. Because at that time I were busy and it was … Continue reading

Posted in Architecture, Articles, Comet, JavaScript | Leave a comment

Java != JavaScript

The cry-out of “Java != JavaScript” is not a new expression. I learned it in year 2001 when I started learning JavaScript. But as “Java2Script” project, it links “Java” and “JavaScript” together by a Java to JavaScript compiler. It is … Continue reading

Posted in GWT, Java, JavaScript | 1 Comment

JavaScript’s Defects on Numbers

Number larger than 0×20000000000000 (54bit) will not be reliable. Here is the test script: javascript:alert (0x1ffffffffffffe); javascript:alert (0x1fffffffffffff); javascript:alert (0×20000000000000); javascript:alert (0×20000000000001); You can see that the latter two numbers are same number in JavaScript! Conclusion The safe number range … Continue reading

Posted in JavaScript | Leave a comment

Introducing Java2Script’s Simple Pipe

Communications between server and browser are essential things in AJAX world. Basic Knowledge Each HTTP connection is forked by browser. And one HTTP connection may serve multiple sessions in HTTP 1.1 but server only one session in HTTP 1.0. There … Continue reading

Posted in Architecture, Browser, JavaScript | 4 Comments

QoS of JavaScript

You must be aware of QoS when you are writing Rich Internet Application (RIA), especially when you are using AJAX. Why? And what aspects should be considered in QoS of RIA? Here are some points: 1. Loading JavaScript file *.js … Continue reading

Posted in Architecture, Hacks, JavaScript | Leave a comment

Compressing and Deploying JavaScript

For AJAX, deploying JavaScript files may be important for you or not. If you are professional in AJAX, you must know the details of JavaScript deployment. First, you can compress your JavaScript files before deploying them. Common compressors may cut … Continue reading

Posted in Architecture, Hacks, JavaScript | 1 Comment