Coach Wei

Subscribe to Coach Wei: eMailAlertsEmail Alerts
Get Coach Wei: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Coach Wei

Coach Wei's Blog Here is a question that I have been pondering on and off for quite a while: Why do "cool kids" choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer. Why do I even care? Because I am a Java developer. Like many Java developers, I get along with Java well. Not only the language itself, but the development environments (Eclipse for example), step-by-step debugging helper, wide availability of libraries and code snippets, and the readily accessible information on almost any technical question I may have on Java via Google. Last but not least, I go to JavaOne and see 10,000 people that talk and walk just like me. The other reason that I ponder this question is that  the power of Java is a perfect fit for the areas where websites may need more than markups or scripting, such as middleware logic. PHP and Ruby etc ... (more)

AJAX, Java, Flash, and .NET

Enterprise Rich Internet Applications (RIAs) are the next evolution of business application development. There are four different approaches to RIA development - AJAX, Java, Flash, and .NET - and many different RIA solutions available today. This article answers the following questions: What are enterprise RIAs? Which approach should you use? Which solutions are appropriate for you? And how are RIAs being adopted today? Welcome to a New Paradigm The Web began as an environment for content sharing and small-scale data transfer via e-mail, newsgroups, and so forth. These initial use... (more)

Mobile AJAX for Workers on the Edge

Coach Wei's Blog This is an interesting article by Rich Seeley on 2/22/06: The number of mobile workers globally will soon be more than double the total U.S. population, according to predictions by another analyst firm, IDC Corp. IDC has predicted that in two years there will be 878 million mobile workers linked to their corporate headquarters by notebook PCs, personal digital assistants (PDAs) and the already ubiquitous cell phone. In a recent report on the rich Internet application (RIA) strategy of Nexaweb Technologies Inc., Anne MacFarland, director of data strategies and ... (more)

AjaxWord: An Open Source Web Word Processor

AjaxWord (www.ajaxword.com) is an open source Web-based word processor. It closely mimics Microsoft Word in both look-and-feel and functionality. The application was initially written between 1997 and 1999 using JavaScript/DHTML on the client side with ASP on the server side. It was released on the Web in 2000. In 2005, the application's server-side logic was migrated to Java and released as open source code. On the client side, the application looks and feels like a typical desktop application, e.g., Microsoft Word. The design features the kind of rich graphical user interface ... (more)

JavaScript Execution Context, Closure, Eval and “this” Keyword

These are a few key concepts of JavaScript language that developers should know: execution context, activation object, variable instantiation, scoping, closure, eval and “this” keyword. Knowing these would help one tremendously in Ajax development. For example, when you write an inner function, you know that you can access the local variables defined in the outer function as if they were defined locally. You can also access the global variables. -Why? How does the host environment resolve such variables? Another example: When you pass arguments to a function, you can access these... (more)