Software Developer Newsletter Header
        CPTTM software developer newsletter issue #23, Kent Tong, Editor in Chief

Dear Software Developers,

This CPTTM Software Developer newsletter is to bring useful news to you, software developers in Macau, for references without obligations, so that you can do your jobs easier and better! Hope you like it. if you'd like to unsubscribe or recommend your friends to subscribe, just email me at kent@cpttm.org.mo. Old issues are available here.

Topics in this issue:

Will your applications crash by huge demand on the launch date?TPTP

If you're developing a web application that is supposed to be used by the public. Are you sure that it can handle the demand when it is launched into production? If it crashes or grinds to a halt, it will be a disaster to the image of your organization. Fortunately, there is something that you can do to prevent this nightmare from happening.

The solution is to test its performance under heavy loading during development. For example, with the Eclipse TPTP project, we can capture our interaction with the web application in the browser, loop it, say,  thundred times concurrently to simulate a hundred users accessing your application concurrently. Then it will show you the overall performance of the application and more importantly, which part of the code is taking up most of the time or memory so that you can optimize it.

Of course, there is a lot more powerful functions in TPTP. Now, you can learn how to use it in our new Performance & stress testing web applications course. Enroll now before it is too late!

Web 2.0: YUI -- Work Less, Make MoreYUI

In the browser, everything on the right side of this diagram requires some hard work. YUI, like other JavaScript / CSS libraries, aims to make that work less hard.

YUI, the Yahoo! UI Library is one of favorite Web 2.0-style JavaScript libraries. The best way to think about YUI and what it does for you is to consider the difference between the user interface language of the browser as compared with the desktop. 

In the browser, the "default" language (such as HTML, Javascript, VBscript etc.) is relatively limited. You have some elements such as buttons, select menus, text inputs and hyperlinks. But on the desktop, you have much more such as Tabs, sliders, cascading menus, dialogs, tooltips, data grids, rich text editing, drag and drop, animation, autocompletion, and so on. After the developer uses YUI in web project, some desktop elements can be easily shown in the browser. Therefore a liitle coding effort is all it takes.

The best way to know YUI is to take a quick tour of the YUI website at http://developer.yahoo.com/yui/. Or you can join our Web 2.0 course. Enroll now!

Eclipse 3.4 released

Eclipse 3.4, also called Eclipse Ganymede, has just been released. I think the most important enhancement is that the Java compiler take advantage of multi-core CPUs, improving performance by up to 30%. The other enhancements are listed here. You can download it here.

Upcoming courses for software developers

Course code Title Start date Duration (hours) Fee (MOP) Remarks
CM269-09-2008-C JSF, Wicket and AJAX 2008/09/03 42 1580
CM299-09-2008-C Java SE6.0 Programming Language Intermediate Level (Sun official course SL-275) 2008/09/28 45 From 2400 Official SUN course materials and certificates
CM310.1-08-2008-C Web 2.0 Application Technique - CSS, JavaScript and HTML 2008/08/19 22.5 800
CM310.2-09-2008-C Web 2.0 Application Technique - PHP, MYSQL and AJAX 2008/09/23 79.5 2200
CM311-09-2008-C Java6.0 Programming Fundamentals  2008/09/23 54 2000
CM334-08-2008-C Performance & stress testing web applications 2008/08/17 12 700 New! Eliminate performance problems before product launch!

Feedbacks

Any questions, ideas or experiences to share? Contact me at 28781313 or kent@cpttm.org.moWe also have two other newsletters: CIO newsletter and Network administrator newsletter, your friends may like to subscribe.

Until next time, 

Kent Tong

CIO Newsletter Footer