English 中文(简体)
页: 1
原标题:asp.net handing over design to another person/company

Good day, I have a project that requires that I share the design portion with a creative person, while I look after the meaty business logic (C#). Project needs to be web based and available for mass market (not an internal company system).

Can anyone recommend how best to approach this. I generally do web forms, but i would think MVC is better suited although I dont know it well. Would the design guy be able to develop with "placeholders" where I just inject my server tags, or will it require quite a bit of slicing / dicing to get my stuff into his?

I once did a php project where the designer gave me html with the $tags in it and smarty templates did all the magic for me. Can the similar principle be followed here on the MS stack? If not can you reccomend an approach?

设计者喜欢银利的想法,但我的格乌特告诉我,这不是一个伟大的想法。

最佳回答

首先,如果你重新规划针对大众市场的解决办法,我就说是避免银灯。 确保其与超文本相比略有传播? 此外,贵方的国库可能知道如何打上超文本,而不是如何设计XAML接口。

This said, I think MVC is definitely the way to go, on MS stack. You could take care of all the Controller/Model stuffs, while your UI pal can design a pretty layout. After that you simply (more or less) can inject your pieces of Model inside the page, using Html helpers and other stuff.

我个人以这种方式走过了几步,而且这种做法非常有效。

问题回答

我要说的是,MVC3与Razakor是个好主意,可以同样地用于你如何描述PHP。 (Silverlight is nice, but大概是公共网站最好避免的,因为它需要一幅画面,即很多人没有。)

MVC的多种冰状:

  • As long as you sketch the model out beforehand, you can have two people work separately, one on the Razor views and one on the Controller logic. The designer can create mock models to work with, and you can create mock views.
  • You can defer final design of various model components by using Partial Views, which MVC will use by default throughout the application, for a given class type.

简言之,商法中心的主要目标是促进业务逻辑和列报的分离。

分离申请的层次是正确做的anyway,但在此情况下更是如此。 d 我建议使用MVC,并尽可能保持观点模式。

视网站不同部分的运行情况而定,有时设计和超文本将首先进行,而其他时间则使用密码。 如果观点模式简单,那么设计者可以学习如何使用这些模型,特别是如果他正在使用视觉演播室(从而完成汽车)。 如果不是的话,用所有观点模式提供空洞的观点,就会是一个良好的开端(或在线文件!)。





相关问题
WebForms and ASP.NET MVC co-existence

I am trying to make a WebForms project and ASP.NET MVC per this question. One of the things I ve done to make that happen is that I added a namespaces node to the WebForms web.config: <pages ...

Post back complex object from client side

I m using ASP.NET MVC and Entity Framework. I m going to pass a complex entity to the client side and allow the user to modify it, and post it back to the controller. But I don t know how to do that ...

Create an incremental placeholder in NHaml

What I want to reach is a way to add a script and style placeholder in my master. They will include my initial site.css and jquery.js files. Each haml page or partial can then add their own required ...

asp.net mvc automapper parsing

let s say we have something like this public class Person { public string Name {get; set;} public Country Country {get; set;} } public class PersonViewModel { public Person Person {get; ...

structureMap mocks stub help

I have an BLL that does validation on user input then inserts a parent(PorEO) and then inserts children(PorBoxEO). So there are two calls to the same InsertJCDC. One like this=>InsertJCDC(fakePor)...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

热门标签