gozh2002
博客园 | 首页 | 发新随笔 | 发新文章 | 联系 | 订阅 订阅 | 管理

最新评论

Re:我做的代码生成的工具的思路 (支持.NET2.0) JimHappy#真嗨皮#郑海滨 2010-02-22 00:11  
献给楼主一个codesmith下的代码生产工具, http://www.cnblogs.com/JimHappy/archive/2009/10/27/1590729.html
re: ObjectDataSource的Add-In nonocast 2006-08-30 12:31  
鼓励
but,VA的Alt+G很完美的实现了
从VC6到ASPX,Alt+G个人认为是不可缺少的
到现在我也是只装一个VA,真的很爽
搂住不妨try一下
re: 我做的代码生成的工具的思路 (支持.NET2.0) 深渊野鱼 2006-04-23 02:25  
:)
我一般用ExtendProperties来存储。
我觉得本来就是基于Table的了,所以就干脆利用Table里面有的东西。
也用PropertyInfo.Set(obj,Value)来设置Entity的值,当然C/S架构的,所以
充分利用Client端的资源。
不过,在1.1上面是存在性能的一些缺憾,但是在2.0,倒是没什么太大的问题。

你可以看看我的代码生成器
Http://wildfish.tigris.org

~~
不过觉得没什么太大的改造余地了,ORM或许会比较好。
Nhibernate如果用在应用服务器上面,的确性能也不错。
re: a break in .net 2.0 remoting 韦恩卑鄙 2006-02-24 12:09  
到2.0以后俺还没碰过 remoting呢:(


看起来很严重 全面更新工程看似比等M$解决问题更可行
re: a break in .net 2.0 remoting tansm 2006-02-24 11:09  
是啊,怎么现在流行发英文文章了,俺英文不好啊
re: You have to read this 晓风残月 2006-02-12 07:17  
直接用电驴搜索可以找到
re: You have to read this kenyfun11 2005-10-24 13:30  
知不知道哪里有的下?
re: You have to read this didasoft 2005-10-21 13:40  
下载这本书大概看了一下,比较理论化
re: All about codes generation Gordon Golden Shining 2005-08-28 01:34  
not sure about how nvelociy used...
I am using stringtemplate, which I think very good and easy to use...
they have the concept of stringtemplate group, which like a
AST tree of string template...

group MyCodeGenerationGroup;

ClassGenerator(classname, functions) ::= <<
public class $classname$ : DataAccessBase
{
$functions; separator="\n"$
}
>>

PrepareCommand(storedprocedurename, params, sqlparams) ::= <<
public void PrepareCommand($params; separator=", "$)
{
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "$storedprocedurename$";
$sqlparams; separator="\n"$
}
>>

paramsGenerator(type, name) ::= "$type$ $name$"

sqlparamsGenerator(paramname) ::= <<
prm = new SqlParameter("$paramname$);
cmd.Parameters.Add(prm);
>>

you see? sort of like recursive.
re: All about codes generation 绿叶 2005-08-28 01:03  
i'm doing some research in "castle on rails".

in castle way, it likes that:

view Index.vm:
<body>
$name
</body>

controller:

public virtual void Index()
{
this.PropertyBag.Add("name", "your name");
}

it uses the NVelocity view engine~
hehe~
re: How to implement AOP in .net James 2005-08-03 11:07  
期待更深入的介绍
re: How to implement AOP in .net idior 2005-08-02 21:58  
hoping to see your example
re: My Wishlist for .net development Cavingdeep 2005-07-20 16:16  
About embedded Python, you can try Python for .NET at http://www.zope.org/Members/Brian/PythonNet/

^_^
re: My Wishlist for .net development idior 2005-07-20 15:35  
哈哈 难得看你写一篇.
提的问题很好啊, 关注.
re: No refresh dropdownlist using xmlhttp callback gozh2002 2005-06-11 10:03  
actually if use ajax, I would reckon use custom control to be rendered as innerHtml and added to div.


re: No refresh dropdownlist using xmlhttp callback Teddy 2005-06-10 18:26  
在使用ajax机制callback的情况下,个人感觉不要post到当前页面比较好,否则当前页面的page_load比较混乱,另外,在ajax的情形下原有的.net的mvc机制其实失效了,没有一个比较好的mvc来帮助处理ajax的返回结果造成项刷新一个dropdownlist这样的小功能却要那么多相对来讲比较混的client和server端的代码。正在考虑写一个server端for ajax的mvc框架以简化该过程,感觉多研究下这方面会比较有益~~
re: No refresh dropdownlist using xmlhttp callback 肥仔鱼 2005-06-10 12:49  
great
re: No refresh dropdownlist using xmlhttp callback 吹雪 2005-06-10 10:17  
so you have to
use Request["dropdownlistname"] to retrieve the value

this is the key for me , Thank you!
re: Asp.Net resouce manager James 2005-04-18 12:16  
thx
re: Castle got new project alpha version released hammett 2005-04-18 06:10  
Many thanks! :-)

There's also a new video about CoR and Ajax support:

http://www.castleproject.org/movies/CoR2.htm

Cheers!
re: Asp.Net resouce manager CsOver 2005-04-17 23:53  
It's a bug!I think!Thanks to give this!
随笔:26 文章:2 评论:21 引用:0
<2012年2月>
日一二三四五六
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910

公告


     
昵称:Gordon Golden Shining
园龄:6年10个月
粉丝:0
关注:0

搜索

 
 

常用链接

  • 我的随笔
  • 我的评论
  • 我的参与
  • 最新评论
  • 我的标签

随笔分类(25)

  • .Net(11) (rss)
  • .Net 2.0(6) (rss)
  • After hours(2) (rss)
  • BizTalk(1) (rss)
  • Design Patterns (rss)
  • Java(1) (rss)
  • My Books(1) (rss)
  • Open Source(2) (rss)
  • ORM/Data Access(1) (rss)
  • Project Management (rss)
  • Sharepoint (rss)

随笔档案(26)

  • 2007年5月 (1)
  • 2006年9月 (1)
  • 2006年8月 (1)
  • 2006年5月 (1)
  • 2006年4月 (1)
  • 2006年2月 (6)
  • 2005年10月 (1)
  • 2005年9月 (1)
  • 2005年8月 (5)
  • 2005年7月 (2)
  • 2005年6月 (1)
  • 2005年5月 (1)
  • 2005年4月 (2)
  • 2005年3月 (2)

文章档案(2)

  • 2006年4月 (1)
  • 2005年8月 (1)

.net bloggers

Bloggers I read

  • 3yee nhibernate
  • ApplyingUMLPatterns & DDD books blog
  • eXtensible Mind
  • idior
  • Rickard
  • Robert McLaws: FunWithCoding.NET
  • SharePoint 2003 Skin Site For Customizing CSS Styles
  • Simple Patrick
  • 好好学习,天天向上 - ssp (rss)
  • 花钱的年华

Projects

  • alchemi
  • nant pad
  • spec#
  • zedgraph

Sites

积分与排名

  • 积分 - 20363
  • 排名 - 5028

最新评论

阅读排行榜

评论排行榜

推荐排行榜


Powered by: 博客园
模板提供:沪江博客
Copyright ©2012 Gordon Golden Shining