开源JdonFramework 6.2全新发布

受Qi4j Baston和javAte等DDD框架鼓舞,JdonFramework 6.2全新登场,该版本进行了重大改进,将Domain Events作为重点架构引入,做到容易使用,架构可伸缩等特点,使Jdon框架向真正DDD框架又迈进一步。

当前DDD实践领域达成一个共识:领域模型应该和技术架构无关,至少是非常松耦合,那么领域模型如何指挥技术架构为其业务逻辑服务呢?

要做到这点,首先必须改变过去技术架构中的服务指挥领域模型的架构,虽然SOA架构已经成熟多年,但是容易误导很多人将业务逻辑写到服务中去,从而使领域模型空心化,也就是失血贫血了。

SOA 的服务是一种粗粒度的、非常高度的、可能跨多个应用的服务,它不能包办某个领域模型自身的行为和方法,所以,当事件从SOA的服务传导到领域模型之中时, 如果领域模型还需要再驱动技术架构为其工作,这套机制如何建立?向领域模型中直接注射技术架构的Repository或DAO会污染领域模型,让模型沾染 技术架构的味道。

Domain Events – 救世主一文提出了一个思路,让领域模型发出领域事件,通过领域事件再驱动技术架构为之工作。

JdonFramework 6.2将Domain Events以异步消息机制实现,最大化实现了领域模型和技术架构的松耦合。技术架构图如下:

Domain Events的使用通过Annotation实现,非常方便:

JdonFramework 6.2全新PPT文档

下载开源JdonFramework 6.2

去除链接虚线框脚本(mootools版)

直接上代码:

<script type="text/javascript">
//此脚本需要mootools 1.2.1支持
//可以去掉网页所有链接的虚线框
window.addEvent('domready',function(){
		$$('a').addEvent('focus',function(){
			this.blur();
			});
		</script>

 

qq域名邮箱支持最多30个用户了

QQ域名邮箱现在最多支持30个用户了。

原文如下:

尊敬的域名邮箱用户:

感谢您对腾讯域名邮箱的支持!目前域名邮箱已经对全体QQ邮箱用户开放了。

我们近日再次对域名邮箱做了如下更新

  1. 每个域名下的成员数升级到30个。

     
  2. QQ邮箱专为域名邮箱增加了“文件夹视图”,您可以更方便查看域名邮箱帐号的邮件。设置方法

     
同时,向大家预告下一个版本即将发布的特性:
  • 我们会跟域名商合作,让没有域名的朋友也可以申请域名邮箱。
  • 支持纯数字的帐户名。

域名邮箱一直在不断进步,如果您有任何意见或者建议,欢迎发邮件到:yumingyouxiang@qq.com ,让我们一起来做好这个服务。

体验一下更新后的域名邮箱

 

QQ邮箱开发团队

 

多版本ie共存(ie 5.5-8.0)

ie自身的版本众多。各版本之间对标准的支持各不一致。

开发人员光为了兼容Ie的个版本都头痛的要死。

http://www.my-debugbar.com/ietester/install-ietester-v0.4.2.exe
这里有一款IE Tester软件,可以让你同时查看所有IE下面的页面显示效果,推荐大家收藏备用。

无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll上

最近,多种软件都出现了一个启动时的错误提示 “无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll上”。

出现这个提示情况是:Windows Xp 系统; 软件包括:window live writer 2009, windows messenger 2009, firefox 3.5 等非常新的版本。

这个提示出现后,点击确定,并不影响程序的使用。这个问题出现的原因,其实微软自己的问题。可谓是微软的Vista 后遗症吧。

在 Vista 系统里,有个挺酷的功能,就是“程序缩略图”,有点3D效果,这个功能,调用了 dwmapi.dll 这个库,而 dwmapi.dll 又引用了 msvcrt.dll 中的 _except_handler4_common 功能。

然而,在XP系统中,系统自带的 msvcrt.dll  和 Vista 中的 msvcrt.dll 版本不同, 并没有这个 _except_handler4_common ,结果就出现了启动程序时,遇到的 “无法定位程序输入点_except_handler4_common于动态链接库msvcrt.dll上”的错误提示。

解决方法

      将 c:\windows\system32 下的 dwmapi.dll 改名,例如:改为 dwmapi.dll.bak。

 

这样就OK了

Zend Studio 7.1Beta版发布

Zend studio 7.1Beta版发布了,大家可以从官方下载最新的测试版。

安装文件体积减小了许多,其他地方无明显改变。

7.0.2的系列号依然有效。

传送门:

http://www.zend.com/en/products/studio/downloads

谷歌Friend Connect for Discuz! 7.0的插件正式发布了!

我们很高兴与大家分享这个消息:Google Friend ConnectDiscuz! 7.0插件正式发布了。该项目的主页地址是:http://code.google.com/p/google-friend-connect-plugins/.

 
 
插件安装后的效果图(用户可以通过右上角的”Google朋友群登录”登录)
 
 
用户登录成功后的效果图

 

 
此次发布中的插件有以下特点:
  • 支持Discuz! 7.0。
  • 支持多语言。不管您的网站是UTF8编码、GBK编码还是BIG5繁体中文,该插件都能很好的支持。
  • 支持不同模板。即使您使用了自定义的模板,也不需要花费额外的时间安装。
  • 安装简单。您只需要下载插件,将其上传到您服务器的指定目录,再根据安装文档,对文件进行很小的修改就可以完成了。
  • 支持Google Friend Connect用户资料向Disucz!个人信息的同步和更新。
 
以上是该插件的简单介绍。更多详细的功能请试用示例网站:中文版英文版。如果您是Discuz!论坛的站长,请下载zip打包文件,并按照安装文档的提示进行安装。代码的发布基于Apache开源许可2.0版;欢迎整个开源社区能够帮助审核并贡献代码;也欢迎网站的站长安装插件并提出反馈意见,让我们大家一起对它进行完善和改进。

更多的内容,请参见用户手册

我们期待您的使用与反馈,谢谢!

通知发布作者:林晓辉王超郑韶敏

谷歌中国 OpenSocial 团队

 

Google Friend Connect能使用户使用已有的OpenID帐号,如Google帐号、AIM帐号或Yahoo!帐号登录您的网站。这方便了用户:他们不再需要重新填 写相同的注册表格,而是将他们已有的用户信息,包括头像和个人介绍自动化地导入过来。基于这种简单的用户资料整合方式,在安装了Google Friend Connect插件的平台上,用户黏度和交互性将得到提高。

Google Friend Connect已经有了WordPress,phpBB和Drupal的插件。今天,我们很高兴地见证了Discuz!平台上Google Friend Connect插件的诞生。Discuz!是使用最为广泛的论坛系统之一,因此我们也期望这次发布能使更多的站长和用户从Google Friend Connect的强大功能中获益。

优化你的代码

1、让一个方法内的代码不应大于一屏,阅读不便,代码逻辑混乱
2、你在重用一个变量,让代码维护性,易读性降低
3、直接访问Request,session是不安全的,效率也很低
4、你需要用注释才能解释清楚你糟糕的代码
5、不懂如何捕捉Exception,不懂跟踪bug出现在那里
6、代码混乱不堪,没有分层,模块化的概念,频繁用if else来堆砌你的代码
7、难于写单元测试,找到bug之后修改代码并书写测试单元要耗费你许多时间

上面的列出的都是我们在工作当中会经常出现的问题 。
你有上面的症状吗?
 

aptana studio 2.0发布

下载地址:
http://aptana.org/studio/download

Aptana Studio 2.0 is a major release, but a lot of the changes are “under the hood”. The key visible changes for the release were:

    *

      Radically improve the remote<->local file transfer features. There is an all-new UI and infrastructure for specifying connections, connecting them with projects, and copying files in each direction. The system is easier to use, faster, and more reliable than the previous system. One key feature that isn’t present in the new UI is two-way Smart Sync. We expect to bring this feature back in a future version of Studio.
    *

      Merge the Project and File views into a single view based on Eclipse’s more modern common navigator framework, and integrate the file transfer mechanisms with that view.
    *

      Firebug 1.4 Integration.
    *

      Improve our Find/Replace mechanism. We previously had a great deal of custom code for Find/Replace that conflicted with the mechanisms in Eclipse 3.5. Our new system works much like the old system, but relies on the Find/Replace system in Eclipse for most of its functionality. The only feature we’ve removed is the ability to do multiline search, but the same effect can be achieved using regular expressions.
    *

      AJAX framework updates, including support for YUI 3.0. Additional framework updates will be coming out separately over time.
    *

      Note for users who upgrade in place from Studio 1.5: Studio 2.0 no longer includes a direct dependency on the XULRunner dependency, relying instead on the latest XULRunner provided by Zend. As part of the upgrade from 1.5, the Aptana version of XULRunner will be disabled, and your Firefox preview will no longer work. To make it work again you will need to install the new XULRunner plugin via the Plugin Manager.

We also fixed a lot of bugs reported by the community. Here are some key fixes:

    * 11 NPE for accessing aptanaDB
    * 12 Via Tender: EdittingJavascript
    * 28 NPE: ShowMyAptanaAction.java:234
    * 42 CSS freezes when starting a comment in large files
    * 62 [bug] renaming connection didn’t update the name in other windows
    * 73 Connection manager – Take into account Cloud Deployment
    * 74 Saving Log file from Aptana Log Viewer causes UI issues
    * 79 Via Tender: Remote connection setup resolves and follows symlinks
    * 81 Via Tender: Auto-complete pops up all the time
    * 96 Via Tender: FTP not showing symbolic links
    * 104 Via Tender: Finding matches within the open document
    * 111 Add Subclipse to Plugin Manager
    * 117 What does right click disconnect do?
    * 120 Via Tender: loosen XULRunner requirements to support MyEclipse 7.5 plugin compatibility
    * 126 Via Tender: FTP, SFTP,should be backgroundable
    * 131 Color selection widgets on editor color pref pages don’t take values after first change
    * 135 No symlink dirs listed in “Browse” dialog of remote path.
    * 136 FTP Connections should be saved on creation
    * 137 Open PHP file (PDT) from FTP Connection
    * 138 Creating new connection from a project does not appear in connections node
    * 139 Changing the Remote Path of a SFTP connections does not persist
    * 140 We should add a splitter draggers on both sides of the Upload/Download arrows
    * 145 Seeing AssertionFailedException while exiting Aptana Studio on Linux (Ubuntu 9.04 x86_64)
    * 146 java.lang.ClassNotFoundException when running Aptana Studio standalone
    * 150 Via Tender: Preview does not work
    * 153 PDT causes NPE when trying to shutdown
    * 156 Via Tender: Code Formatter breaks after “||” when “{}” follows
    * 160 Via Tender: Mark occurrences
    * 166 Plugin Manager should not open on Startup
    * 168 Via Tender: Debugger does not show variables in Eclipse
    * 173 Via Tender: How to get debugger started in IE6?
    * 176 Project Shortcuts should be a filterable preference
    * 177 The File View should use the View Filters
    * 178 Connection Decorator text should be on Tooltip instead
    * 179 Address View Refresh issues when editing connection properties
    * 180 Connection Breadcrumbs… show end of fitting path
    * 181 File View should refresh when a new Connection is created via New or Save As.
    * 182 Save As does not update the current view or Show up in Connections
    * 185 Double click should transfer file
    * 186 Add “Transfer Option” on right click of file
    * 188 Copy in Connection List should Prepend or Postpend “Copy” to distinguish difference
    * 192 Via Tender: Open action on files associated with Aptana should open in Aptana
    * 193 NPE when don’t switch prespective and open remote php file
    * 194 Cancel FTP Password Prompt
    * 195 Open “File Transfer” action
    * 211 p2.inf – plugin update sites are no longer enabled
    * 213 FTP contents are no longer retrieved after changing the remote path
    * 216 Via Tender: Wrong Eclipse-Update-Site
    * 217 Wizard Error Description
    * 219 Password incorrect should be clear when testing connection
    * 220 Use Public Key Authentication
    * 223 Connection Manager – UI Changes
    * 225 Connection Manager: click edit, source is not selected
    * 226 “Open File Transfer…” action should be titled “Transfer Files…”
    * 228 When switch connection (via drop down), default connection showed an empty source
    * 229 When FTP site is deleted, ask users to delete connection or cancel
    * 230 Delete a connection should check for NPE from Listener
    * 231 Don’t Empty Password when switching Protocols
    * 232 Drag N Drop from Project to Connection seems to be buggy
    * 233 Changing the Path of Connection need to refresh project connection
    * 235 Deleting a Symlink should not delete the actual file it points to
    * 242 Connection Tooltip
    * 247 Via Tender: Default web server preview not working
    * 251 Local filesystem is not refreshed after DnD
    * 254 No error feedback when transferring file to a non-writable location
    * 255 Unable to drag a filesystem file and drop into a project in File View
    * 258 Exceptions in HTML editor
    * 259 Save As on File in Project refreshes Connection Nodes
    * 268 Studio blows up when typing Cmd-. in an html window

 

谷歌语音辅助搜索为s60量身定做

谷歌退出的这个语音辅助功能,貌似是听你说的话,把字打进输入框里,实现无需手动输入搜索关键字。

适用于s60手机。

详情请手持s60手机,登陆

http://m.g.cn/search