当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Coding TipsThe following tips ar
 

 

 ·控件执行生命周期(from msdn)    »显示摘要«
    摘要:每次请求 asp.net 页时,服务器就会加载一个 asp.net 页,并在请求完成时卸载该页。页及其包含的服务器控件负责执行请求并将 html 呈现给客户端。虽然客户端和服务器之间的通信是无状态的和断续的,但是必须使客户感觉到这是一个连续执行的过程。 这种连续性假象是由 asp.net 页框架、页及其控件实现的。回发后,控件的行为必须看起来是从上次 web 请求结束的地方开始的。虽然 asp.......
    摘要:在写一个项目时要用到广告模块,为了不想用asp生成脚本代码时较麻烦,于是产生了写脚本类的念头,即是用一个类模块的脚本代码去控制所有在同一页面显示的漂浮广告。但在写的过程中发现js脚本竟然在settimeout里不能使用类的方法。奇怪,是不是我弄错了还是js脚本就不能这样??但vbs脚本就可以!我晕…… 不说了,贴代码:[vbs脚本代码]´/**********......


J2ME游戏代码设计tips11条
coding tips

the following tips are only suggestions and may or may not give gains in performance, it 【程序编程相关:Hibernate随想

【推荐阅读:Spring AOP之Hello Wor

is to your own judgment and discretion to use them or not. 【扩展信息:VBS 中 Space 函数的应用

1. use stringbuffer instead of string because of the fact the string object can not

be changed. any modification to a string variable is actually a new object

creation.

2. accessing class variables directly is faster then using setter and getter

methods

3. using local variables are more efficient then instance/class variables

4. using variables are more efficient then arrays.


...   下一页
    摘要:1.新建一工程sqlmidweb_jbss2.新建一ejb模块sqlejbmodule3.在ejb模块中新加入一个无状态session bean: sqlsession,并增加方法: private sessioncontext sc = null; private context ctx = null; private datasource ds = null;.... public void ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE