自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (7)
  • 收藏
  • 关注

原创 用Codesmith 5.2的Nhibernate模板从ORACLE数据库生成实体类和数据访问类

用Codesmith 5.2的Nhibernate模板从ORACLE数据库生成实体类和数据访问类 其实也是看了codesmith的video(http://www.codesmithtools.com/video/nhibernate.html)做的,虽然作者基于的前一个版本(vs2008,nhibernate2.0),但和最新的3.0 nhibernate模板操作是一样的 开始之前...

2011-03-11 15:39:27 146

原创 Code First EF CTP5试手

.net 的Entity framework提供的功能越来越完善,最新的几个ctp特性都很让人期待,忍不住就想试试 相比较之前的ef,code first的ef最让人激动的特性就是不用定义or mapping关系了,一切基于convention就可以工作了,这让数据库实体的crud编写成了美妙的享受(和hava的jpa基本一样) 我是从asp.net mvc 3开始的,之所以用mvc3,原因是...

2011-02-11 15:26:11 140

原创 Oracle数据库的编码问题

一直没有意识到数据库的编码,这一次,碰到了一个很奇特的问题,varhcar2的字段存中文都是乱码,nvarhcar2用sql插入的中文也是乱码,几经折腾,才知道 Oracle数据库在安装的时候,是可以指定编码,其中有两种编码要指定 NLS_CHARACTERSET     US7ASCII NLS_NCHAR_CHARACTERSET     AL16UTF16   而碰到的数据库设...

2010-12-30 14:50:10 270

Grails-groovy在gsp中的强大表现

Gsp是grails默认的页面渲染技术,当你对groovy语言有了充分了解了以后,你会发现用gsp来渲染页面是多么的强大和方便,特别是相比jsp的标签而言   jsp的标准标签库是好用的,遗憾的是他不能在表达式里调用方法,特别是这些方法有时还需要参数,比如 <c:if test='${bean.method(agrs0,agrs1)}'>     ... #jsp不能这么写c:if&g...

2009-03-01 11:48:38 416

原创 Grails入门--从Controller中传递多个变量到gsp中

刚开始学习Grails,记录下学习的一点一滴,和朋友们一起分享   controller的action方法的最后一句往往都是调用render方法或是返回一个model供gsp渲染,一直不知道如何传递多个变量到gsp中,后来发现原来这个model实际是个hashmap,于是这么试试了下这样的代码    def create = {        def userInstance = new User...

2009-02-22 13:50:00 240

Ultra-fast ASP.NET UltraScalable Websites

建设大规模水平扩展的asp.net 应用,作者提供很有建设性的意见

2013-04-18

ASP.NET Developer's Cookbook.pdf

英文版的cookbook,学习asp.net的好资料

2012-03-16

Groovy Programming- An Intro for Java Developers(2007)

Groovy Programming- An Intro for Java Developers(2007) Foreword xiv Preface xvi About the Authors xix 1 Groovy 1 1.1 Why Scripting? 1 1.2 Why Groovy? 3 2 Numbers and Expressions 5 2.1 Numbers 6 2.2 Expressions 6 2.3 Operator Precedence 8 2.4 Assignment 9 2.5 Increment and Decrement Operators 10 2.6 Object References 11 2.7 Relational and Equality Operators 12 2.8 Exercises 14 3 Strings and Regular Expressions 17 3.1 String Literals 17 3.2 String Indexing and Slicing 18 3.3 Basic Operations 19 3.4 String Methods 19 3.5 String Comparison 23 3.6 Regular Expressions 23 3.7 Exercises 25 4 Lists, Maps, and Ranges 27 4.1 Lists 27 4.2 List Methods 29 4.3 Maps 31 4.4 Map Methods 33 4.5 Ranges 34 4.6 Exercises 35 5 Simple Input and Output 39 5.1 Simple Output 39 5.2 Formatted Output 41 5.3 Simple Input 42 5.4 Exercises 45 6 Case Study: A Library Application (Modeling) 47 6.1 Iteration 1: Specification and List Implementation 47 6.2 Iteration 2: Map Implementation 50 6.3 Exercises 52 7 Methods 53 7.1 Methods 53 7.2 Method Parameters 56 7.3 Default Parameters 56 7.4 Method Return Values 57 7.5 Parameter Passing 59 7.6 Scope 61 7.7 Collections as Method Parameters and Return Values 62 7.8 Exercises 63 8 Flow of Control 67 8.1 While Statement 67

2009-02-05

The Groovy Programming Language

The Groovy Programming Language Agenda • Background • What is Groovy? • Language Details • Working with Java • Groovy Markup • Extras • Conclusion

2009-02-05

Ajax Development With Grails Dojo

Ajax Development With Grails Dojo www.grails-exchange.com © Sven Haiges, Yahoo! Inc. GRAILS & DOJO 3 Goals  You know how to get started!  You know how AJAX is supported by Grails  Tags, Libraries, Abstraction Layer  You know why Groovy & Grails support your AJAX development, using Dojo  Controllers & Actions, render(), Builders, Templates  Tipps, gotchas, further resources

2008-12-09

Learn English effectively.rar

Learn English effectively.rar

2008-10-30

(Grammar) - Cambridge University Press - English Vocabulary in Use - Upper-Intermediate & Advanced

(Grammar) - Cambridge University Press - English Vocabulary in Use - Upper-Intermediate & Advanced

2008-10-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除