前端和后端 [英] Front End and Back End
本文介绍了前端和后端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用ASP.NET,C#和SQL Server进行Web应用程序。
以下哪项是正确用法:
1.前端:ASP.NET
后端:C#
2.正面结束:ASP.NET
后端:SQL Server
3.前端:ASP.NET / C#
后端:SQL Server
I am doing a Web Application using ASP.NET, C#, and SQL Server.
Which one of the following is correct usage:
1. Front End : ASP.NET
Back End : C#
2. Front End :ASP.NET
Back End :SQL Server
3. Front End :ASP.NET/C#
Back End :SQL Server
推荐答案
更有可能,数字4:
前端:ASP.NET,c#
后端:SQL Server,c#
为了解释,ASP.NET是一种视图引擎(默认使用页面控制器)。你也可以使用MVC,它引入了更强大的视图/模型/ SoC能力。
SQL Server存储你的数据,你需要以某种方式访问和绑定你的数据'前端'。
在与非程序员交谈时,我通常将数据访问和业务规则称为后端,将其他所有内容称为前端,但是在极客的陪伴下谈论层次和模式。
干杯。
More likely, number 4:
Front end: ASP.NET, c#
Back end: SQL Server, c#
To explain, ASP.NET is a view engine of sorts (default using page controller). You can also use MVC, which introduces a stronger view/model/SoC ability.
SQL Server stores your data, which you will need to access and bind somehow to your 'front end'.
I generally refer to data access and business rules as 'back end' and everything else as 'front end' when talking with non-programmers, but talk in terms of layers and patterns when in the company of geeks.
Cheers.
我会说#2。
ASP.Net是一项技术。如果需要,可以在后面的代码中运行VB.net。但它是用户看到的,所以它是前端。我会说大多数技术人员在谈论ASP.net时会假设C#。我最后一次使用VB.net是2004年。
几乎任何有用的网站都运行SQL来存储数据和提供内容。
这就是后端。 C#只是把东西固定在一起的粘合剂。
Ryan McBeth
I would say #2.
ASP.Net is a technology. You can run VB.net in the code behind if you want. But it is what the user sees, so it is the "Front End." And I would say that most technical people would assume C# when you are talking about ASP.net anyway. The last time I used VB.net was 2004.
Just about any website (these days) that does anything useful is running SQL for storing data and serving up content.
So that would be the backend. C# is just the glue that holds the stuff together.
Ryan McBeth
说实话,我不明白它们之间的区别2和3.
我的意思是你基本上要问的是你是使用ASP.Net和SQL Server还是ASP.Net(C#)或SQL Server。
你的意思是你想保留VB.Net的选择2和C#的3选择吗?
在这种情况下,我建议你根据你对VB.Net或C#的熟练程度,选择2到3之间。
To be honest, I dont understand the difference between 2 and 3.
I mean what you are essentially asking is whether you use ASP.Net and SQL Server or ASP.Net (C#) or SQL Server.
Do you mean you want to keep choice 2 for VB.Net and 3 for C#?
In this case, I would recommend you choose between 2 and 3 based on how comfortable (skilled) you are with VB.Net or C#.
这篇关于前端和后端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文