常见的 .NET MVC 工作流程是什么? Rails 之间有可移植的吗?
我一直是一名学徒/初级开发人员,从事 .NET Web 表单工作,并涉足大量其他内容。
在尝试了大量技术之后,我选择了 Ruby on Rails 和 ASP.NET MVC。
我正在努力解决工作流程,我想进入行为驱动的开发。
哪些工作流程适合您?
您推荐哪些工具用于测试等?
有没有可以在 Rails 和 .Net 上使用的工具?
您有推荐的集中注意力技巧吗?
I've been working as an apprentice/junior developer working in .NET web forms and dabbling in a ton of other stuff.
After tasting a ton of technologies I've settled on Ruby on Rails and ASP.NET MVC.
I'm struggling with workflow and I want to get into behaviour driven development.
What workflows work for you?
What tools do you recommend for testing etc?
Are there any tools I can use on both Rails and .Net?
Are there any concentration tips you recommend?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在 .NET 中大量使用的工具之一是 ReSharper。它花费了大量的更改,但它使我能够轻松快速地更改我的代码,因为它提供了一种快速简单的方法来执行测试和重构代码。最重要的是,当我可以做得更好时,它还提供视觉提示。
至于 Rails 和 ASP.NET MVC 之间的可移植性,我还没有看到任何东西。就工具而言,最接近的可能是在 .NET 上使用 ReSharper,然后在 Ruby 中使用 RubyMine,因为它们都是由 JetBrains 编写的。
对于 .NET 中的测试,您可能需要查看 mSpec,因为它是 .NET 的 BDD 框架,然后将其与使用 MvcContrib 中的一些东西结合起来进行自动化 UI 测试,您可能会获得更接近开箱即用的工作流程铁轨 3.
One of the tools that I use heavily in .NET is ReSharper. It costs a nice chunk of change but it enables me to easily and quickly change my code as it provides a quick and simple way to execute tests and refactor code. On top of that it also provides visual hints when I could be doing something better.
As far as portable between Rails and ASP.NET MVC, I have not seen anything. The closest you might get as far as tooling goes is using ReSharper on .NET and then RubyMine in Ruby as they are both written by JetBrains.
For testing in .NET you may want to check out mSpec as it is a BDD framework for .NET and then combine that with using some stuff from MvcContrib for automated UI testing and you might get a closer workflow to what you get out of box with Rails 3.
我不是专家,我正在继续完善我的流程。我最近在博客上介绍了它,这应该会让您有一个良好的开端: http://ntcoding.blogspot.com/2011/01/total-bdd-in-aspnet-mvc_16.html
希望您喜欢。 BDD 可帮助您保持条理并确保您正在开发正确的产品。
也花很多时间学习小黄瓜。
您可以在 .NET 中使用 IronRuby,这意味着 RSpec 和 Rails 男孩使用的许多东西。
现在再见:PPPPPPPPPPPPPPPP
I am no expert and am continuing to refine my process. I recently blogged about it which should get you off to a great start: http://ntcoding.blogspot.com/2011/01/total-bdd-in-aspnet-mvc_16.html
Hope you like it. BDD helps you stay organised and make sure you are developing the right product.
Spend a lot of time learning gherkin too.
You can use IronRuby in .NET which means RSpec and lots of stuff the rails boys use.
Ciao for now :PPPPPPPPPPPPPPPP