English 中文(简体)
Umbraco Hive and Servicesosphere
原标题:Umbraco Hive and Services Layer
  • 时间:2012-05-13 10:56:41
  •  标签:
  • umbraco5

I m 试验新的Umbraco 5 hive, I m 则混淆不清。

I m plugging in an existing Linq to SQL services layer, which I developed for a webforms site.

我对存放方式不甚了解,我的服务处理所有与数据环境的联系,并且工作得很好。

I have made a few repositories that plug in to the hive, and handle conversion of my entities to the Umbraco TypedEntity type.

这些提案提到我现有的服务层,以检索、补充、更新和删除。 这些服务还处理其他实体的具体职能,这些职能不会被冲动。

现在,这种服务是ug笑的,只是把这些服务放在藏身的仓库中,但根据我所了解的虚拟存放模式,似乎我可能会做错的一轮工作。

I know there s no hard fast rules, but I would appreciate comments on what I m doing to achieve this functionality.

我在这里问这个问题,而不是乌布拉科论坛,因为我想有一个更广泛的视角。

Cheers.

问题回答

我个人认为,Hive是高技能的。 由于能够直接在干raz的宏观范围内使用你自己的班子,我认为最好的办法就是完全放弃,简单地使用你的班子。 你们为什么要把你现有的服务的全部权力卖掉,才使之适合冲锋的接口?

如果你为其他Umbraco开发商改写一个图书馆,你可能需要这样做,但我的个人意见是,这种冷藏在最坏的地方,而且是一种抽象的层次,以新开发商为主。

So, if I were to advise you, I would say to consider the more general principles: "Keep It Simple" and "You Aren t Gonna Need It". If the interface they give you offers a tangible benefit, implement it. If not, consider what you really gain for all of that work.





相关问题
Umbraco 5 keeps showing Login Expired on Administrator Panel

On administration panel, Jupiter regularly takes off a "Login Expired" box asking to login again. I am using a IIS7 hosting service I am using SQL Server 2008 R2 I checked the full trust capability ...

Umbraco 5 surface controller and partial macro

I m playing with Umbraco 5 (complete newbie) and currently trying to experiment with the surface controller and macro s. I ve created a basic surface controller: public class TestSurfaceController : ...

IIS 7 rewrite rule and Url.Content issues

I have the following rule in IIS 7: <rule name="Category" enabled="true"> <match url="^store/([0-9]+)/(.*)" /> <action type="Rewrite" url="store?...

Can t delete anything in the Backoffice

I ve been developing complex websites with Sitecore for the past 4 years, but Umbraco is completely new to me. I ve setup Umbraco 5 (multiple releases of it, including the very latest) on my machine. ...

Umbraco v5.x learning resources

Umbraco has lately made a move from ASP.NET Web forms to ASP.NET MVC 3. I have tried to find good resources which would help me to get started, but since it is so new I am out of luck. I would not ...

umbracoNaviHide not working in Where statement

Trying to get children of a given document type, with umbracoNavihide not set to false: The following produces correct output. @foreach (var child in root.Children.Where("ContentTypeAlias == "...

热门标签