经典 ASP 很像 PHP 以及有关 MVC 的一些问题吗?

发布于 2024-09-24 08:37:00 字数 527 浏览 1 评论 0原文

我并不是有意引起争议。如果您认为合适,请关闭。但我必须选择经典 ASP 中更新 Intranet 的最佳方式。我看过无数的框架,仍在寻找和学习,但尚未决定。我知道 PHP 仍在更新并且是一门很好的语言,但我在想。如果我想要一个框架,我不能使用经典 ASP 创建 MVC 框架吗?我确信我可能可以,但这不是重点。我想...我可以做到这一点,或者我可以使用 PHP 创建没有框架的页面,我会在哪里?与 Classic ASP 有着同样的困境,只是语言不同。这让我觉得 PHP 在我的环境中可能是“危险的”,因为每个人都可能不理解或“相信”MVC。 PHP 可以很容易地进行牛仔编码和层混合。毕竟,启动记事本并编写代码非常容易,而不必担心层层“东西”。

我的问题:所有平台和语言都是如此吗?有没有这样的设计,使得很难再陷入邪恶的道路?我唯一能看到的就是 ASP.NET MVC。很难开始使用它并最终不使用它。 Java EE 6。我不知道。我知道 Java 从很久以前就已经非常 MVC 了。

谢谢你的任何想法。我不需要听人讲授 MVC 的优点。这不是我的重点。我只是有一个观察,并想了解如何保持我的项目 MVC。

I don't mean to be controversial. Close if you see fit. But I've got to choose the best way to update my Intranet that's in Classic ASP. I've looked at umpteen framework, still looking and learning, but undecided. I know that PHP is still being updated and is a fine language, but I was thinking. If I wanted a framework couldn't I create and MVC framework with Classic ASP? I'm sure I probably could but that's not the point. I thought...I could do this or I could create pages with PHP with no framework and where would I be? Right back with the same predicament with Classic ASP, only a different language. This makes me think that PHP could be "dangerous" in my enviornment where everyone may not understand or "believe" in MVC. PHP would lend itself to the cowboy coding and mixing of layers quite easily. After all it's pretty easy to fire up notepad and just code without having to worry about layers and layers of "stuff."

My question: Is this true of all the platforms and languages? Are there any that are designed in such away that it would be pretty hard to fall back into the evil ways? The only thing I can see is one, ASP.NET MVC. It'd be pretty hard to start in that and end up not using it. Java EE 6. I don't know. I know Java has been pretty MVCish from long ago.

Thank you for any thoughts. I don't need to be lectured on MVC goodness. That's not my point. I just had an observation and wanted thoughts on how to keep my project MVC.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

瘫痪情歌 2024-10-01 08:37:00

只是为了记录。如今,经典 ASP 也有很多框架,包括 MVC 框架,如 ASP Xtreme Evolution、Ajaxed、Troika.ASP 等等。就像任何其他语言一样,经典 ASP 中也有好的东西,但用 Java、Ruby、Python 甚至可能所有语言编写的东西也有糟糕的东西。在进入新环境之前,我建议您阅读 ASP一种被误解的技术,请注意经典 ASP 有很多好的部分,包括 Javascript 部分!

Just for the record. Nowadays, Classic ASP also have a lot of Frameworks including MVC ones like ASP Xtreme Evolution, Ajaxed, Troika.ASP and a lot more. There are good things in Classic ASP just like in any other language, as there are terrible things written in Java, Ruby, Python and probably in all languages. Before throwing yourself into a new enviroment, I would recommend you to read ASP a misinterpreted technology to notice that Classic ASP has a lot of good parts, including the Javascript ones!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文