TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The FogBugz Plugin Architecture

25 点作者 df07将近 16 年前

3 条评论

profquail将近 16 年前
Instead of having your plugins be able to execute SQL commands, why not use something like ActiveRecord + NHibernate (or some other ORM) with LINQ? NHibernate 2.1 was just released with LINQ support, so you could do something like:<p>int BugCount = Bug.Where(case =&#62; case.Id = caseId).Count();<p>(Where caseId is a parameter or something). It'd really simplify the API and keep you from doing safety checks on the SQL passed by the plugins. You might even be able to simply some of your "display" code to use Dynamic LINQ queries for the sorting and so forth.<p>I've been using the ASP.NET MVC + NHibernate + ActiveRecord + LINQ "stack" for several months now (though I've been an ASP.NET developer for about five years), and I have to say that my productivity has gone way up thanks to it.
评论 #754188 未加载
ajg1977将近 16 年前
FogCreek still prefix their classes with 'C'? Oh Joel... :(
评论 #754019 未加载
评论 #754041 未加载
kristiandupont将近 16 年前
I wonder if they will let people charge for their plugins and create a plugin store rather than a gallery..
评论 #754171 未加载