IE7 has been released

Download here:http://www.microsoft.com/windows/ie/downloads/default.mspx
Tab browsing, RSS subscrib support...


(0) 评论    (97) 引用   

Duet:Microsoft and SAP's power

I got this message from Here.Microsoft and SAP will dev a new product named Duet.This is it's site:http://www.duet.com/
Office will be the Front end as Presentation and SAP will be the Application layer. I thought Office's smart client is a great tech before. Now office and SAP make a perfect bound. Here is the Architech diagram:
Duet Architecture


(0) 评论    (94) 引用   

Next step of AJAX

Because of focusing on SAP field and busying with a Bank Project,i haven't visit most tech webs such as TSS ajaxian for a long time.But i sitll care the evolution of JAVA world.
Today i found a new word--comet.No, not Halley's comet,yet another buzzword in AJAX world.
It's a approach to improve the interaction of web application after AJAX.The server will hold a connection with client and push message to the client .
More information please visit the related sites:
http://www.irishdev.com/NewsArticle.aspx?id=2166
http://www.irishdev.com/NewsArticle.aspx?id=2173


(0) 评论    (0) 引用   

We still need iframe

I'm implementing upload feature.Javascript can't manipulate file on client machine for security,so i came to iframe firstlly.But i still wonder GMail and microsoft live mail's solution.I found that there were few discussion in domestic ajax forum.But there are many voerseas components.I found all of them use iframe to solve this problem.

So we still need iframe as a approach on AJAX way.

 查看全文

(0) 评论    (188) 引用   

Cool online ruby tutorial

(0) 评论    (37) 引用   

Basic Definitions and Concepts of AOP

  • Concern A particular issue, concept or area of interest for an application. Examples include transaction management, persistence, logging and security.
  • Crosscutting Concern A concern in which the implementation cuts across many classes. These are often difficult to implement and maintain with OOP.
  • Aspect The modularization of a crosscutting concern; implemented by gathering and isolating code.
  • Join Point A point during the execution of a program or class. In Spring's AOP implementation, a join point is always a method invocation. Other examples include accessing fields, where read or write access occurs on an instance variable, and exception handling.
  • Advice An action taken at a particular join point. Different types of advice in Spring include around, before, throws and after returning. Of these, around is the most powerful, as you get the opportunity to do something before and after a method is invoked. The previous TraceInterceptor used around advice by implementing the AOP Alliance's MethodInterceptor.
  • Pointcut A set of join points specifying when an advice should fire. Pointcuts often use regular expressions or wildcard syntax.
  • Introduction Adds fields or methods to an advised class. Spring allows you to introduce new interfaces to any advised object. For example, you could use an introduction to make any object implement an IsModified interface, to simplify caching.
  • Weaving Assembles aspects to create an advised object. This can be done at compile time (this is how AspectJ does it) or at runtime. The Weaving Strategies section later in this chapter discusses in detail the different strategies for weaving (that is, implementing AOP).
  • Interceptor An AOP implementation strategy, where a chain of interceptors may exist for a particular join point.
  • AOP Proxy An object created by the AOP framework, including advice. In Spring, an AOP proxy will be a JDK dynamic proxy or a CGLIB proxy.
  • Target Object An object containing the join point. In frameworks using interception, it's the object instance at the end of an interceptor chain. Also called an advised or proxied object.

(0) 评论    (92) 引用   

AJAX tool box---Venkman

Venkman is a Javascript Debugger as a FireFox extenstion.It's at least powerful than IE's default script debugger(not Visual InterDev's).You can watch varaiable,set breakpoint and use "step over" "step into" "step out" "continue" buttons to debug your niffy javascript codes.
It's ease to use.And tutorial is HERE:http://www.svendtofte.com/code/learning_venkman/index.php

(0) 评论    (190) 引用   

No more crap about IE Memeory Leak

(5) 评论    (191) 引用   

variable's scope in Javascript

See DFlying's finding:
Yep,No Block Scope concept in JavaScript.Only the global and function Scope.You can use "var" to declare a global variable and use "var" agian to declare a homonymous variable in a function.In the function ,the second one works.But there is no Block scope.
Check the codes below,it's a demo for "NO BLOCK SCOPE"
function test(o) {var i = 0; // i is defined throughout functionif (typeof o == "object") {var j = 0; // j is defined everywhere, not just blockfor(var k = 0; k < 10; k++) { // k is defined everywhere, not just loopdocument.write(k);

}document.write(k); // k is still defined: prints 10}document.write(j); // j is defined, but may not be initialized}

But,You still need to care javascript's FUNCTION SCOPE.Also see code snippet:
var scope = "global";

function f( ) {alert(scope); // Displays "undefined", not "global"var scope = "local"; // Variable initialized here, but defined everywherealert(scope); // Displays "local"}f( );
Right,thought you alert(scope) first and then define a new functin scope variable scope.However,once you define a function scope vriable,it will hide the global variable in the function body,whatever the definition order.


(0) 评论    (44) 引用   

AJAX Auto-complete component

本来还要自己写一个auto-complete,但是大多数此类功能并没有提供类似google suggest提供的键盘选择功能,auto-complete便失去了一大半的交互改善。于是前两天还特意扒了google suggest来看ac.js 发现google定是用了混淆器。虽然代码没有压缩,但是代码的回车空行和函数名字全部混乱。正在要自己写的时候发现了此中国自产的AutoAssist。Very Cool!

 查看全文

(0) 评论    (295) 引用   

Working Software over Comprehensive Documentation

一场精彩的CMMI论战 Here
quoted from o6z's post:
文档最忌讳繁琐无比,事无巨细的都要说明,如果是这样我直接去看代码好了。实际上多数人都默认文档的抽象程度比代码级别高,看文档比看代码省事。但是如果你的文档过于细节化,那么你的代码很难做到同步于文档。这将是一个巨大的威胁。很多人抱怨要看一堆没文档的代码,但是他们很少真的看到过合适的文档。实际上文档的作用应该是让阅读者快速找的代码的位置,而不是用文字说明代码的作用,那些应该是单元测试的事情。
人员的流动带来的最大问题,实际是知识的流失。文档可以固定下一部分的知识,但是如果文档的抽象层次不够,这些知识并不能很容易的被掌握,那么这些就是无用功。

 查看全文

(2) 评论    (819) 引用   

lerdorf's no-framework PHP MVC framework

Rasmus Lerdorf, creator of the PHP langauge, has a new tutorial on his site today that looks at the creation of a "no-framework PHP MVC framework" using PHP5, the Yahoo! User Interface Library, and JSON.

He steps through the entire process of working up the "non-framework" - the goals of the project, why to go with the MVC approach for the structure, and, of course, the code.

That arose the PHP's own MVC Pattern discussion in PHP Community.But i have my own view.Here is my response in one of most famous PHP community:

 查看全文

(0) 评论    (738) 引用   

Ajax tooklit--Tab widget for navigation

Most time ,we need a tab widget to switch content in the panel dynamically.But most important thing we should foucs on is not developing widets like this.So never invent wheel again.This tiny toolkit can help you make a tab easily. 查看全文

(0) 评论    (96) 引用   

Slides effect toolkit

I'm designing the menu of my product.At the beginning,i just modify the div element's height attribute to make the menu's animation.But i found that's really fade.So i found this nifty small lib to implement my idea.That's easy to use and only 3kb.More feature are being explored.But till now,it fits my requirement.The demo codes are here. 查看全文

(0) 评论    (30) 引用   

CSS on demand-load css file dynamically

Now,I'm developing a XXX product based on AJAX.So i will update a region of one page dynamiclly.Because of i made the layout under Web Standard principle(DIV+CSS),there will be many CSS files for layout and style.If i update region A,the new HTML needs new css files.So i don't wanna link all css files at that main page.The codes below will give you a common way to load specify css file dynamiclly though it's simple.(Test under Firefox1.5 IE6 SP1) 查看全文

(0) 评论    (95) 引用   

How to use DBDesinger4 to connect MySQL5

DBDesigner is a great open source Database modeling tools especially for MySQL.But the whole develop team have worked for MySQL to develop MySQL workbench.So the product was stop upgrating.We must modify MySQL5's password storage type by SET PASSWORD = OLD_PASSWORD('myPass') on user table of MySQL5 to connect MySQL again.
Now,we can use it again:)
DBDesigner


(3) 评论    (87) 引用   

prototype Samples

AJAXI have uploaded prototype samples.It includes prototype's basic API demo.Enjoy it...Prototype is really wonderful Javascript Framework.
Prototype.rar

(6) 评论    (157) 引用   

Prototype class hierarchy

Prototype1.5 class hierarchy
 查看全文

(0) 评论    (90) 引用   

AJAX贴贴脸之示例1-1

AJAX为AJAX贴贴脸系列文章。第一篇为AJAX贴贴脸之入门篇。本示例部分操作利用了prototype类库,相关知识请查阅
示例为我们以前经常遇到过的动态列表问题,当选择一个下拉框的时候,另外一个的数据将动态产生。
result.jpg
这是个极其简单的应用。不过我们讲由简入繁,最后的示例会展现Google Suggest类型的自动提示。而且我们会不停的对整个示例重构,标题的1-1也表明有1-2等。
1-1是完全自己处理AJAX的各种问题,1-2预计引入其他类库来操作XML,1-3预计用buffalo完成此示例。之后每个示例如果有必要都会有此类对比。由于代码很简单并且有注释,所以文章以代码即可展现应用。 查看全文

(0) 评论    (145) 引用   

AJAX Data Transfer

AJAX与服务器端通讯,虽然XHR对象的介入使得我们可以异步处理用户请求,但是另外一个细节也暴露给我,我们如何与服务器统一通信的契约? 查看全文

(0) 评论    (190) 引用