最新研究称:高龄母亲更易生下聪明孩子
尽管一直以来人们都认为推迟生育会冒很大风险且不利于母婴健康,但是一项最新研究发现,做一个高龄母亲对于大多数女性而言是明智的选择。
能更好兼顾事业
美国休斯顿大学女性研究课题组主任伊丽莎白·格雷高利教授指出,高龄母亲拥有更雄厚的财力,与较年轻时生育第一胎的女性相比,她们更能在抚养孩子的同时兼顾好自己的事业,维持更稳定的家庭关系。另外,高龄母亲长寿的几率也更高些。
好莱坞著名影星、38岁的珍妮弗·洛佩茨与41岁的哈丽·贝瑞最近参加了高龄母亲名人俱乐部。该俱乐部成员还包括美剧《绝望主妇》中的玛西娅·克罗斯,44岁的她最近刚诞下一对双胞胎。41岁的萨尔玛·海耶克也在今年3月做了母亲。
目前,英国女性的平均生育年龄稳定在29岁,但是选择在30至40岁之间结婚的女性数量正急剧增加。2006年,英国有22000名40岁以上的妇女生育,其中5500名是第一胎。2005年,在35岁至39岁之间生育第一个孩子的英国妇女有102228名,是1975年的10倍。
更易生下聪明宝宝
直到现在,这些高龄母亲们一直都还在担心自己推迟生育既承担着健康的风险,又会影响到孩子。但这个观点在格雷高利以“新一代高龄母亲”为主题的新书中遭到了质疑。
格雷高利说:“我认为女性应该推迟生育,我发现了相当多的理由来支持这一点。年纪较大的女性通常已经在社会上实现了一定的个人目标,她们更容易将精力集中在家庭上。同时,她们拥有相对更丰厚的财力,因为她们已具备了一定的事业基础。她们通常更加自信,因为她们拥有更多的工作经验,而她们的管理技巧常常可以直接用于管理家庭和抚育孩子上。”
格雷高利这本书是肯定高龄母亲价值的一系列最新研究成果之一。一项针对4300名高龄母亲的研究发现,那些较晚生育的母亲更容易生下健康聪明的宝宝。格雷高利认为可从两方面分析其原因。从生物学的角度说,许多高龄母亲被证实在怀孕期间营养状况更好,从社会学角度来看,她们可能拥有一个更适宜婴儿学习的稳定的家庭环境。
2007年10月30日星期二
ViewState and Postback
You can selectively turn off ViewState processing for an entire ASP.NET page or for
individual controls. You do this by setting the EnableViewState property of the
document or the control to False. Storing the ViewState is necessary only if a page
posts back to itself. You should turn off ViewState if a page posts its information to
another page, because the ViewState values won't do any good there.
Remember, too, that the information stored in ViewState is sent to the server and
back every time you post a page. Although the information is compressed, it still
represents additional bulk (and thus delay) for loading the page. ViewState is not a
good choice for storing huge amounts of information.
When you're considering the amount of data that gets moved around, you need to
remember to check the AutoPostBack properties of your controls. If every control on
your form has AutoPostBack set to True, and ViewState is enabled throughout,
then you'll be sending the most possible data every time the focus changes on your
form. This is ve ry likely to slow down your application. You should reserve the
AutoPostBack setting of True for controls where you need to trap events while the
user is still working with the page and before they've submitted it back to the server.
individual controls. You do this by setting the EnableViewState property of the
document or the control to False. Storing the ViewState is necessary only if a page
posts back to itself. You should turn off ViewState if a page posts its information to
another page, because the ViewState values won't do any good there.
Remember, too, that the information stored in ViewState is sent to the server and
back every time you post a page. Although the information is compressed, it still
represents additional bulk (and thus delay) for loading the page. ViewState is not a
good choice for storing huge amounts of information.
When you're considering the amount of data that gets moved around, you need to
remember to check the AutoPostBack properties of your controls. If every control on
your form has AutoPostBack set to True, and ViewState is enabled throughout,
then you'll be sending the most possible data every time the focus changes on your
form. This is ve ry likely to slow down your application. You should reserve the
AutoPostBack setting of True for controls where you need to trap events while the
user is still working with the page and before they've submitted it back to the server.
2007年10月29日星期一
How postback works in ASP.NET
How postback works in ASP.NET
Introduction
In this article, we will take a closer look at how ASP.NET pages post back to themselves, and how to customize this feature in our web applications.
function __doPostBack(eventTarget, eventArgument)
One of the most important features of the ASP.NET environment is the ability to declare controls that run on the server, and post back to the same page. Remember the days of classic ASP? We would create a form which would accept the user's input, and then we would most probably have to create another page that would accept all those inputs, either through HTTP GET or POST, and perform some kind of validation, display and action. Sometimes, even a third page was necessary to perform our actions. This wasted a lot of time and complicated things when you had to make a change. But of course, this is not necessary any more with ASP.NET. There is no need to create second pages that accept the inputs of the first, process them and so on. Form fields and other controls can be declared to run on the server, and the server simply posts the page back to itself and performs all the validation, display and actions. Our life as web developers has become a million times better. But how exactly is this done?
When a control is declared to run on the server, a VIEWSTATE is created which remembers the ID of that control, and the method to call when an action is performed. For example, let's say we input this HTML on a page:
Postback of ASP .Net
Introduction
In this article, we will take a closer look at how ASP.NET pages post back to themselves, and how to customize this feature in our web applications.
function __doPostBack(eventTarget, eventArgument)
One of the most important features of the ASP.NET environment is the ability to declare controls that run on the server, and post back to the same page. Remember the days of classic ASP? We would create a form which would accept the user's input, and then we would most probably have to create another page that would accept all those inputs, either through HTTP GET or POST, and perform some kind of validation, display and action. Sometimes, even a third page was necessary to perform our actions. This wasted a lot of time and complicated things when you had to make a change. But of course, this is not necessary any more with ASP.NET. There is no need to create second pages that accept the inputs of the first, process them and so on. Form fields and other controls can be declared to run on the server, and the server simply posts the page back to itself and performs all the validation, display and actions. Our life as web developers has become a million times better. But how exactly is this done?
When a control is declared to run on the server, a VIEWSTATE is created which remembers the ID of that control, and the method to call when an action is performed. For example, let's say we input this HTML on a page:
Postback of ASP .Net
2007年10月26日星期五
代码 简称 基金持有市值(万元) 基金持股(万股) 占流通股比增减 (%)
600036 招商银行 9,962,412.88 260,319.12 7.33
600030 中信证券 7,703,075.43 79,651.28 5.89
601318 中国平安 5,775,339.78 42,796.15 6.53
600000 浦发银行 5,758,783.99 109,691.12 6.51
000002 万科A 5,142,048.71 173,042.58 1.47
600019 宝钢股份 2,740,840.40 150,678.42 9.19
002024 苏宁电器 2,719,931.83 39,637.60 -10.09
000001 深发展A 2,480,252.61 62,037.33 21.59
600519 贵州茅台 1,901,139.17 12,634.67 0.12
600005 武钢股份 1,727,670.39 97,774.22 7.04
601006 大秦铁路 1,599,997.67 62,818.91 17.01
600050 中国联通 1,528,225.95 163,621.62 15.60
601919 中国远洋 1,517,688.40 33,681.50 14.89
600150 中国船舶 1,494,594.71 5,454.92 -5.38
601166 兴业银行 1,475,866.60 26,158.57 4.90
601628 中国人寿 1,453,894.42 23,295.86 -0.10
600900 长江电力 1,433,781.90 74,212.31 -0.35
600016 民生银行 1,386,775.52 87,715.09 -2.58
000983 西山煤电 1,298,624.21 18,165.12 10.29
000709 唐钢股份 1,284,663.55 48,995.56 17.55
000878 云南铜业 1,198,388.44 13,845.09 23.58
600383 金地集团 1,132,350.41 24,160.33 20.80
000898 鞍钢股份 1,118,150.62 31,059.74 11.84
600028 中国石化 1,112,818.31 58,754.93 1.28
000069 华侨城A 1,038,988.74 16,952.01 -7.11
601398 工商银行 977,800.90 147,927.52 12.32
000825 太钢不锈 928,802.43 30,343.10 4.92
000960 锡业股份 917,796.94 9,177.97 27.35
600048 保利地产 908,282.40 12,178.63 -9.12
000568 泸州老窖 851,011.77 13,594.44 -4.18
000024 招商地产 850,071.81 10,760.40 3.85
600104 上海汽车 843,024.16 28,538.39 2.86
000858 五粮液 835,607.13 19,684.50 -3.18
600739 辽宁成大 833,323.84 14,785.73 3.16
600015 华夏银行 823,710.98 41,622.59 17.32
600309 烟台万华 783,032.20 19,960.04 -15.57
600029 南方航空 766,888.09 32,033.75 23.02
601111 中国国航 680,702.47 28,855.55 13.12
601939 建设银行 630,763.61 67,461.35
600009 上海机场 595,240.74 15,107.63 -10.65
000060 中金岭南 537,880.29 8,404.38 12.17
601699 潞安环能 519,819.26 5,775.77 7.86
000792 盐湖钾肥 511,497.06 8,809.80 3.25
600717 天津港 504,268.42 18,041.80 3.73
600585 海螺水泥 483,805.67 5,792.69 -0.64
600660 福耀玻璃 474,540.99 14,081.34 -2.96
000933 神火股份 446,219.22 6,780.42 15.30
600489 中金黄金 391,899.14 2,789.12 11.07
600547 山东黄金 378,440.88 1,957.79 16.94
600685 广船国际 363,477.92 4,263.17 3.05
600036 招商银行 9,962,412.88 260,319.12 7.33
600030 中信证券 7,703,075.43 79,651.28 5.89
601318 中国平安 5,775,339.78 42,796.15 6.53
600000 浦发银行 5,758,783.99 109,691.12 6.51
000002 万科A 5,142,048.71 173,042.58 1.47
600019 宝钢股份 2,740,840.40 150,678.42 9.19
002024 苏宁电器 2,719,931.83 39,637.60 -10.09
000001 深发展A 2,480,252.61 62,037.33 21.59
600519 贵州茅台 1,901,139.17 12,634.67 0.12
600005 武钢股份 1,727,670.39 97,774.22 7.04
601006 大秦铁路 1,599,997.67 62,818.91 17.01
600050 中国联通 1,528,225.95 163,621.62 15.60
601919 中国远洋 1,517,688.40 33,681.50 14.89
600150 中国船舶 1,494,594.71 5,454.92 -5.38
601166 兴业银行 1,475,866.60 26,158.57 4.90
601628 中国人寿 1,453,894.42 23,295.86 -0.10
600900 长江电力 1,433,781.90 74,212.31 -0.35
600016 民生银行 1,386,775.52 87,715.09 -2.58
000983 西山煤电 1,298,624.21 18,165.12 10.29
000709 唐钢股份 1,284,663.55 48,995.56 17.55
000878 云南铜业 1,198,388.44 13,845.09 23.58
600383 金地集团 1,132,350.41 24,160.33 20.80
000898 鞍钢股份 1,118,150.62 31,059.74 11.84
600028 中国石化 1,112,818.31 58,754.93 1.28
000069 华侨城A 1,038,988.74 16,952.01 -7.11
601398 工商银行 977,800.90 147,927.52 12.32
000825 太钢不锈 928,802.43 30,343.10 4.92
000960 锡业股份 917,796.94 9,177.97 27.35
600048 保利地产 908,282.40 12,178.63 -9.12
000568 泸州老窖 851,011.77 13,594.44 -4.18
000024 招商地产 850,071.81 10,760.40 3.85
600104 上海汽车 843,024.16 28,538.39 2.86
000858 五粮液 835,607.13 19,684.50 -3.18
600739 辽宁成大 833,323.84 14,785.73 3.16
600015 华夏银行 823,710.98 41,622.59 17.32
600309 烟台万华 783,032.20 19,960.04 -15.57
600029 南方航空 766,888.09 32,033.75 23.02
601111 中国国航 680,702.47 28,855.55 13.12
601939 建设银行 630,763.61 67,461.35
600009 上海机场 595,240.74 15,107.63 -10.65
000060 中金岭南 537,880.29 8,404.38 12.17
601699 潞安环能 519,819.26 5,775.77 7.86
000792 盐湖钾肥 511,497.06 8,809.80 3.25
600717 天津港 504,268.42 18,041.80 3.73
600585 海螺水泥 483,805.67 5,792.69 -0.64
600660 福耀玻璃 474,540.99 14,081.34 -2.96
000933 神火股份 446,219.22 6,780.42 15.30
600489 中金黄金 391,899.14 2,789.12 11.07
600547 山东黄金 378,440.88 1,957.79 16.94
600685 广船国际 363,477.92 4,263.17 3.05
2007年10月19日星期五
Page Objects Contains a reference to...
Page Objects Contains a reference to...
-Request Object
-Response Object
-Application Object
-Session object
-Form object
-Trace object
-User object
-Server object
-PreviousPage object
-Request Object
-Response Object
-Application Object
-Session object
-Form object
-Trace object
-User object
-Server object
-PreviousPage object
2007年10月15日星期一
Creating a Data Access Layer
Creating a Data Access Layer
Introduction
As web developers, our lives revolve around working with data. We create databases to store the data, code to retrieve and modify it, and web pages to collect and summarize it. This is the first tutorial in a lengthy series that will explore techniques for implementing these common patterns in ASP.NET 2.0. We'll start with creating a software architecture composed of a Data Access Layer (DAL) using Typed DataSets, a Business Logic Layer (BLL) that enforces custom business rules, and a presentation layer composed of ASP.NET pages that share a common page layout. Once this backend groundwork has been laid, we'll move into reporting, showing how to display, summarize, collect, and validate data from a web application. These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually. Each tutorial is available in C# and Visual Basic versions and includes a download of the complete code used. (This first tutorial is quite lengthy, but the rest are presented in much more digestible chunks.)
For these tutorials we'll be using a Microsoft SQL Server 2005 Express Edition version of the Northwind database placed in the App_Data directory. In addition to the database file, the App_Data folder also contains the SQL scripts for creating the database, in case you want to use a different database version. These scripts can be also be downloaded directly from Microsoft, if you'd prefer. If you use a different SQL Server version of the Northwind database, you will need to update the NORTHWNDConnectionString setting in the application's Web.config file. The web application was built using Visual Studio 2005 Professional Edition as a file system-based Web site project. However, all of the tutorials will work equally well with the free version of Visual Studio 2005, Visual Web Developer.
In this tutorial we'll start from the very beginning and create the Data Access Layer (DAL), followed by creating the Business Logic Layer (BLL) in the second tutorial, and working on page layout and navigation in the third. The tutorials after the third one will build upon the foundation laid in the first three. We've got a lot to cover in this first tutorial, so fire up Visual Studio and let's get started!
Step 1: Creating a Web Project and Connecting to the Database
Step 2: Creating the Data Access Layer
When working with data one option is to embed the data-specific logic directly into the presentation layer (in a web application, the ASP.NET pages make up the presentation layer). This may take the form of writing ADO.NET code in the ASP.NET page's code portion or using the SqlDataSource control from the markup portion. In either case, this approach tightly couples the data access logic with the presentation layer. The recommended approach, however, is to separate the data access logic from the presentation layer. This separate layer is referred to as the Data Access Layer, DAL for short, and is typically implemented as a separate Class Library project. The benefits of this layered architecture are well documented (see the "Further Readings" section at the end of this tutorial for information on these advantages) and is the approach we will take in this series.
All code that is specific to the underlying data source – such as creating a connection to the database, issuing SELECT, INSERT, UPDATE, and DELETE commands, and so on – should be located in the DAL. The presentation layer should not contain any references to such data access code, but should instead make calls into the DAL for any and all data requests. Data Access Layers typically contain methods for accessing the underlying database data. The Northwind database, for example, has Products and Categories tables that record the products for sale and the categories to which they belong. In our DAL we will have methods like:
Introduction
As web developers, our lives revolve around working with data. We create databases to store the data, code to retrieve and modify it, and web pages to collect and summarize it. This is the first tutorial in a lengthy series that will explore techniques for implementing these common patterns in ASP.NET 2.0. We'll start with creating a software architecture composed of a Data Access Layer (DAL) using Typed DataSets, a Business Logic Layer (BLL) that enforces custom business rules, and a presentation layer composed of ASP.NET pages that share a common page layout. Once this backend groundwork has been laid, we'll move into reporting, showing how to display, summarize, collect, and validate data from a web application. These tutorials are geared to be concise and provide step-by-step instructions with plenty of screen shots to walk you through the process visually. Each tutorial is available in C# and Visual Basic versions and includes a download of the complete code used. (This first tutorial is quite lengthy, but the rest are presented in much more digestible chunks.)
For these tutorials we'll be using a Microsoft SQL Server 2005 Express Edition version of the Northwind database placed in the App_Data directory. In addition to the database file, the App_Data folder also contains the SQL scripts for creating the database, in case you want to use a different database version. These scripts can be also be downloaded directly from Microsoft, if you'd prefer. If you use a different SQL Server version of the Northwind database, you will need to update the NORTHWNDConnectionString setting in the application's Web.config file. The web application was built using Visual Studio 2005 Professional Edition as a file system-based Web site project. However, all of the tutorials will work equally well with the free version of Visual Studio 2005, Visual Web Developer.
In this tutorial we'll start from the very beginning and create the Data Access Layer (DAL), followed by creating the Business Logic Layer (BLL) in the second tutorial, and working on page layout and navigation in the third. The tutorials after the third one will build upon the foundation laid in the first three. We've got a lot to cover in this first tutorial, so fire up Visual Studio and let's get started!
Step 1: Creating a Web Project and Connecting to the Database
Step 2: Creating the Data Access Layer
When working with data one option is to embed the data-specific logic directly into the presentation layer (in a web application, the ASP.NET pages make up the presentation layer). This may take the form of writing ADO.NET code in the ASP.NET page's code portion or using the SqlDataSource control from the markup portion. In either case, this approach tightly couples the data access logic with the presentation layer. The recommended approach, however, is to separate the data access logic from the presentation layer. This separate layer is referred to as the Data Access Layer, DAL for short, and is typically implemented as a separate Class Library project. The benefits of this layered architecture are well documented (see the "Further Readings" section at the end of this tutorial for information on these advantages) and is the approach we will take in this series.
All code that is specific to the underlying data source – such as creating a connection to the database, issuing SELECT, INSERT, UPDATE, and DELETE commands, and so on – should be located in the DAL. The presentation layer should not contain any references to such data access code, but should instead make calls into the DAL for any and all data requests. Data Access Layers typically contain methods for accessing the underlying database data. The Northwind database, for example, has Products and Categories tables that record the products for sale and the categories to which they belong. In our DAL we will have methods like:
2007年10月4日星期四
XML开发工具
开发XML有许多工具可以使用:
Notepad:最直接、最简单的文本编辑工具,在Windows附件中就可找到。
Microsoft XML Notepad:微软专门为设计XML文档而提供的编辑软件,可以借助它验证XML文档的有效性,详细说明和下载地址:http://msdn.microsoft.com/xml/NOTEPAD/intro.asp。
Microsoft XML Tree Viewer:利用这个软件可以把XML文档的内容用树的结构形式显示出来:http://msdn.microsoft.com/xml/demos/default.asp。
Microsoft XML Validator:该软件可以检查XML文档是否是“格式良好的”以及其有效性,并对错误发出警告,它的下载地址是:http://msdn.microsoft.com/xml/demos/default.asp。
Microsoft XSL Debugger:样式单文件的复杂性使开发人员在编写时容易出现错误,这个软件就是帮助用户调试样式单文件的,把复杂枯燥的调试过程用可视化界面显示出来。下载地址:http://msdn.microsoft.com/xml/_archive/xsl-debugger/xsl-debugger.htm。
Word Perfect:一种对开发XML和SGML提供高级支持的文字处理器,具有所见即所得的开发环境,提供向导、自动化控件的插入和文档的自动生成等功能,它是一款收费的商业产品,支持Windows 95/98/2000和Linux平台。详情请访问http://www.corel.com
SixPack:为XML的解析和开发提供简洁的界面,支持Macintosh平台,并公开源代码,详情请访问http://www.trafficstudio.com/sixpack/info.htm
Xray:一种具有实时错误检查的XML编辑器。它根据DTD或者XML Schema,允许用户创建格式良好的XML文档或验证文档的有效性,并且支持多文档编辑,是一款免费软件,支持Windows 95/98/NT/2000平台。详情请访问http://architag.com/xray/
Sonic Stylus Studio:为XML开发者提供了前所未见的生产力,例如领先群伦的XSLT编辑和debug工具、先进的Xquery编辑器和debug工具,图像化XML Schema设计工具、独特的XML-to-XML mapper、所见即所得的XML-to-HTML设计工具,以及Sense: X 自动完成功能全部都支持。Stylus Studio 5.0新功能包括进一步支持Xquery (2003年的 W3C规格),Web Services Call Composer、XSLT及Xquery档案管理,并支持多种XML schema确认 (validation ) 引擎。
XMLWriter 一款适合于专业 XML 开发者及初学者的 XML 编辑工具,支持 XML、XSL、DTD/Schema、CSS、HTML 等文本格式的文件编辑和调试。你可使用 CSS、XSL 等语言在一个集成的预览窗口中格式化你的 XML 文件。XMLwriter 有一个直观性、个性化的用户界面让使用者编辑,还具有书签功能,自动查找并替代。其他的功能还有 XML 联机帮助、插件管理、即时色彩编码转换、树型结构查看、批量及命令行处理、可扩充的能力及更多功能。 个人认为用本人汉化的这个 XMLWriter 来做 XML 语言的开发是很不错的选择,其官网称它是 XML 培训必用的工具。
XMLSPY: XMLSpy是所有XML编辑器中做得非常好的一个软件,支持WYSWYG。支持Unicode、多字符集,支持Well-formed和Validated两种类型的XML文档,支持NewsML等多种标准XML文档的所见即所得的编辑,同时提供了强有力的样式表设计。本版增加了几个很有用的功能:XSLT 调试工具,XSL 也就是所谓的扩展风格表单语言(Extensible Stylesheet Language)由3种语言组成。这三种语言负责把XML文档转换为其他格式。XML FO (XSL格式化对象:XSL Formatting Objects)说明可视的文档格式化,而 Xpath 则访问XML文档的特定部分。而 XSLT(XSL Transformations)就是把某一XML文档转换为其他格式的实际语言。 更多情况,WSDL 编辑器, WSDL就是描述XML Web服务的标准XML格式,WSDL由Ariba、Intel、IBM和微软等开发商提出。它用一种和具体语言无关的抽象方式定义了给定Web服务收发的有关操作和消息。Java / C++ 代码生成器,这个可以从 XML Schemas 文档中生成 Java/C++ 代码。 集成 Tamino, Tamino 产品是世界第一套以纯粹且标准的XML格式进行资料储存于抓取的信息服务器,一个能够将企业资料转换为Internet物件,提供资料交换和应用程序集成环境同时又支持WEB的完整资料管理系统。
Notepad:最直接、最简单的文本编辑工具,在Windows附件中就可找到。
Microsoft XML Notepad:微软专门为设计XML文档而提供的编辑软件,可以借助它验证XML文档的有效性,详细说明和下载地址:http://msdn.microsoft.com/xml/NOTEPAD/intro.asp。
Microsoft XML Tree Viewer:利用这个软件可以把XML文档的内容用树的结构形式显示出来:http://msdn.microsoft.com/xml/demos/default.asp。
Microsoft XML Validator:该软件可以检查XML文档是否是“格式良好的”以及其有效性,并对错误发出警告,它的下载地址是:http://msdn.microsoft.com/xml/demos/default.asp。
Microsoft XSL Debugger:样式单文件的复杂性使开发人员在编写时容易出现错误,这个软件就是帮助用户调试样式单文件的,把复杂枯燥的调试过程用可视化界面显示出来。下载地址:http://msdn.microsoft.com/xml/_archive/xsl-debugger/xsl-debugger.htm。
Word Perfect:一种对开发XML和SGML提供高级支持的文字处理器,具有所见即所得的开发环境,提供向导、自动化控件的插入和文档的自动生成等功能,它是一款收费的商业产品,支持Windows 95/98/2000和Linux平台。详情请访问http://www.corel.com
SixPack:为XML的解析和开发提供简洁的界面,支持Macintosh平台,并公开源代码,详情请访问http://www.trafficstudio.com/sixpack/info.htm
Xray:一种具有实时错误检查的XML编辑器。它根据DTD或者XML Schema,允许用户创建格式良好的XML文档或验证文档的有效性,并且支持多文档编辑,是一款免费软件,支持Windows 95/98/NT/2000平台。详情请访问http://architag.com/xray/
Sonic Stylus Studio:为XML开发者提供了前所未见的生产力,例如领先群伦的XSLT编辑和debug工具、先进的Xquery编辑器和debug工具,图像化XML Schema设计工具、独特的XML-to-XML mapper、所见即所得的XML-to-HTML设计工具,以及Sense: X 自动完成功能全部都支持。Stylus Studio 5.0新功能包括进一步支持Xquery (2003年的 W3C规格),Web Services Call Composer、XSLT及Xquery档案管理,并支持多种XML schema确认 (validation ) 引擎。
XMLWriter 一款适合于专业 XML 开发者及初学者的 XML 编辑工具,支持 XML、XSL、DTD/Schema、CSS、HTML 等文本格式的文件编辑和调试。你可使用 CSS、XSL 等语言在一个集成的预览窗口中格式化你的 XML 文件。XMLwriter 有一个直观性、个性化的用户界面让使用者编辑,还具有书签功能,自动查找并替代。其他的功能还有 XML 联机帮助、插件管理、即时色彩编码转换、树型结构查看、批量及命令行处理、可扩充的能力及更多功能。 个人认为用本人汉化的这个 XMLWriter 来做 XML 语言的开发是很不错的选择,其官网称它是 XML 培训必用的工具。
XMLSPY: XMLSpy是所有XML编辑器中做得非常好的一个软件,支持WYSWYG。支持Unicode、多字符集,支持Well-formed和Validated两种类型的XML文档,支持NewsML等多种标准XML文档的所见即所得的编辑,同时提供了强有力的样式表设计。本版增加了几个很有用的功能:XSLT 调试工具,XSL 也就是所谓的扩展风格表单语言(Extensible Stylesheet Language)由3种语言组成。这三种语言负责把XML文档转换为其他格式。XML FO (XSL格式化对象:XSL Formatting Objects)说明可视的文档格式化,而 Xpath 则访问XML文档的特定部分。而 XSLT(XSL Transformations)就是把某一XML文档转换为其他格式的实际语言。 更多情况,WSDL 编辑器, WSDL就是描述XML Web服务的标准XML格式,WSDL由Ariba、Intel、IBM和微软等开发商提出。它用一种和具体语言无关的抽象方式定义了给定Web服务收发的有关操作和消息。Java / C++ 代码生成器,这个可以从 XML Schemas 文档中生成 Java/C++ 代码。 集成 Tamino, Tamino 产品是世界第一套以纯粹且标准的XML格式进行资料储存于抓取的信息服务器,一个能够将企业资料转换为Internet物件,提供资料交换和应用程序集成环境同时又支持WEB的完整资料管理系统。
影视巨人邵逸夫百岁大寿 壮健胜青年有何秘方
今天,香港影视巨人邵逸夫喜迎百岁大寿。
文汇报报道,近年来,每年生日邵逸夫总是低调度过,既没有大宴宾客,也鲜有公开亮相,然而,今年却非比寻常,因为今天傍晚他将出席无线电视40周年台庆亮灯仪式,寿庆加上台庆,可谓双喜临门。
邵逸夫虽已年届百岁,却仍然担任着一个影视王国的舵手,坚持上班工作,这在全世界恐怕也是绝无仅有。更难得的是,近期他还曾周游内地考察自己捐助的学校,上月在港主持“邵逸夫奖”颁奖礼时依然步履稳健,无需搀扶。究竟他有什么养生秘诀,可以保持如此超人的精力和体魄?
长年勤运动 走路不扶棍
有一次,邵逸夫在影城别墅宴请国家教育代表团,他在接待宾客时神采奕奕,而且非常健谈,如非客人要求他坐下,相信他就会站着说个不停。在场记者见状,均大赞他身体状况很好,连忙追问其养生之道。邵逸夫自豪地拍心口说:“我走路不用拿棍子的。长寿之道在于运动,运动很重要呀,我每天早上都要练四十五分钟气功;以前每天都打高尔夫球,噢,不是每天,是每周四次,现在不打球?。”如此运动量,相信很多年轻人犹有不及。众人皆知邵逸夫习气功已有多年,更是“世界医学气功学会”顾问,曾有说法指功力深厚的他,十年前与年轻人较量也可推倒对方。邵逸夫对此连加否认:“没这回事,把人家推倒不好嘛!”
另据《东周刊》报道,邵逸夫注重养生之道始于中年,起初是定时炖人参进补,后来则是每天口含一片顶级野生人参,每年服用人参所耗费的金额相当于现在的三百万元。不过,近年他已不再如依赖人参,而是天天不间断的练气功。他的另一养生秘诀,就是工作,他曾说保持工作才会长寿,并说自己每天晚上只睡5小时,中午小睡1小时,其余时间都在工作,直到现在他还出席每两周一次的无线高层会议。
养生三不做 宴客妻代饮
除了上班和开会,邵逸夫的一项重要工作就是看电影和电视。无线电视总经理陈志云更透露,邵逸夫很喜欢看以搞笑闻名的《憨豆先生》,多年来他一直保持开朗的心境,可能与此不无关系。
除了酒外,邵逸夫的食谱几乎“百无禁忌”,牛扒、鱼生、鸡翼照吃可也。
邵逸夫曾表示自己有三不做,一不赌钱,二不喝酒,三不做不正常的事。所谓不正常,就是指刺激的事情,这会对身体有不良影响。除了做运动外,他每天都会读报约一小时。而由于邵逸夫滴酒不沾,通常有劳方逸华代他与宾客敬杯。当对方将她的酒杯斟至满泻,笑得嘴合不拢的邵逸夫连忙示意别要斟满,可见夫妻间感情深厚,尽在不言中。
文汇报报道,近年来,每年生日邵逸夫总是低调度过,既没有大宴宾客,也鲜有公开亮相,然而,今年却非比寻常,因为今天傍晚他将出席无线电视40周年台庆亮灯仪式,寿庆加上台庆,可谓双喜临门。
邵逸夫虽已年届百岁,却仍然担任着一个影视王国的舵手,坚持上班工作,这在全世界恐怕也是绝无仅有。更难得的是,近期他还曾周游内地考察自己捐助的学校,上月在港主持“邵逸夫奖”颁奖礼时依然步履稳健,无需搀扶。究竟他有什么养生秘诀,可以保持如此超人的精力和体魄?
长年勤运动 走路不扶棍
有一次,邵逸夫在影城别墅宴请国家教育代表团,他在接待宾客时神采奕奕,而且非常健谈,如非客人要求他坐下,相信他就会站着说个不停。在场记者见状,均大赞他身体状况很好,连忙追问其养生之道。邵逸夫自豪地拍心口说:“我走路不用拿棍子的。长寿之道在于运动,运动很重要呀,我每天早上都要练四十五分钟气功;以前每天都打高尔夫球,噢,不是每天,是每周四次,现在不打球?。”如此运动量,相信很多年轻人犹有不及。众人皆知邵逸夫习气功已有多年,更是“世界医学气功学会”顾问,曾有说法指功力深厚的他,十年前与年轻人较量也可推倒对方。邵逸夫对此连加否认:“没这回事,把人家推倒不好嘛!”
另据《东周刊》报道,邵逸夫注重养生之道始于中年,起初是定时炖人参进补,后来则是每天口含一片顶级野生人参,每年服用人参所耗费的金额相当于现在的三百万元。不过,近年他已不再如依赖人参,而是天天不间断的练气功。他的另一养生秘诀,就是工作,他曾说保持工作才会长寿,并说自己每天晚上只睡5小时,中午小睡1小时,其余时间都在工作,直到现在他还出席每两周一次的无线高层会议。
养生三不做 宴客妻代饮
除了上班和开会,邵逸夫的一项重要工作就是看电影和电视。无线电视总经理陈志云更透露,邵逸夫很喜欢看以搞笑闻名的《憨豆先生》,多年来他一直保持开朗的心境,可能与此不无关系。
除了酒外,邵逸夫的食谱几乎“百无禁忌”,牛扒、鱼生、鸡翼照吃可也。
邵逸夫曾表示自己有三不做,一不赌钱,二不喝酒,三不做不正常的事。所谓不正常,就是指刺激的事情,这会对身体有不良影响。除了做运动外,他每天都会读报约一小时。而由于邵逸夫滴酒不沾,通常有劳方逸华代他与宾客敬杯。当对方将她的酒杯斟至满泻,笑得嘴合不拢的邵逸夫连忙示意别要斟满,可见夫妻间感情深厚,尽在不言中。
订阅:
博文 (Atom)