对于学习 Web 开发来说,什么是好的语言/框架组合?

发布于 2024-09-26 08:43:34 字数 1534 浏览 0 评论 0原文

对于学习 Web 开发来说,什么是好的语言/框架组合?我知道其他人也问过同样的问题(例如,学习网络开发-选择语言和框架),但是,我的情况有点不同,因为我有一些额外的限制:

  • 编写框架的语言不得是“关于我应该做事的方式“固执己见”。另一方面,固执己见的框架并不是什么大问题,因为我总是可以在某些时候抛弃用另一个框架甚至我自己的迷你框架替换它框架。

  • 框架必须让我了解它是如何工作的,也就是说,我必须能够访问源代码。 (这与开源框架不同。我只是希望能够阅读源代码。)

此外,由于我的 Web 服务器是安装了 Apache 2.2 的 Windows 7 Professional x64 计算机:

  • 该框架必须提供对至少一个可安装在 Windows 7 Professional x64 上的数据库引擎的便捷访问。

  • 我的 Web 应用程序的部署必须像安装 Apache 模块、正确编辑 httpd.conf 文件并重新启动 Apache 一样简单。

可选地,按照优先级降序排列:

  • 希望框架所用的语言是动态的。

  • 希望该框架能够方便地访问任何可安装在 Windows 7 Professional x64 上的 SQL 数据库。

  • 希望该框架或与该框架兼容的模块/插件能够方便地访问可以安装在 Windows 7 Professional x64 上的非关系数据库。


编辑:由于我的问题不仅一次而且两次被标记为“主观和争论”,我想澄清一些事情:

  • 如果“沟渠”这个词太粗鲁,我很抱歉。我已经抛弃了替换了它。

  • 通过指定语言不是“固执己见”,我的目的是避免问“什么是值得推荐/标准/批准/祝福/本质上好的做某事的方法?”将来。我想完全自己设计我的应用程序,无论是桌面应用程序还是网络应用程序。如果只是为了找出为什么某些设计不值得推荐/标准/批准/祝福/本质上良好。

  • 通过指定框架让我研究它是如何工作的,我的目的是避免问“为什么当我尝试执行 Z 时子系统 X 会抛出错误 Y?”。我想自己找出来。如果仅用于教育目的。

  • 我发现没有任何其他东西可以被解释为“主观和争论”。特别是,指定操作系统和 Web 服务器仅意味着“我不想安装除已安装在 PC 上的其他东西”。 (此外,Apache 几乎是 标准 Web 服务器。)

  • 是的,这个问题是开放式的。这是因为我正在征求建议。而且,由于我是 Web 开发的完全新手,因此争论您的建议是没有意义的(至少对我来说)。另请注意,问题是社区维基

What would be a good language/framework pair for learning Web development? I know other people have asked this very same question (for example, Learning Web Development-Choosing a Language and Framework), however, my case is a little different, since I have some additional constraints:

  • The language the framework is written in must not be "opinionated" about the way I should do things. On the other hand, the framework being opinionated is not much of a problem, as I can always at some point ditch replace it for with another framework or even my own mini-framework.

  • The framework must let me see how it works, aka, I must have access to the source code. (Which is not the same as the framework being open source. I just want to be able to read the source.)

Also, since my Web server is a Windows 7 Professional x64 machine with Apache 2.2 installed:

  • The framework must provide convenient access to at least one database engine that can be installed on Windows 7 Professional x64.

  • Deployment of my Web applications must be as easy as installing an Apache module, editing the httpd.conf file properly and restarting Apache.

Optionally, in decreasing order of priority:

  • It is desirable that the language the framework is written in be dynamic.

  • It is desirable that the framework provide convenient access to any SQL database that can be installed on Windows 7 Professional x64.

  • It is desirable that the framework or a module/plugin compatible with the framework provide convenient access to a non-relational database that can be installed on Windows 7 Professional x64.


EDIT: Since my question has been labelled "subjective and argumentative" not only once but twice, I want to clarify some things:

  • If the word "ditch" was too crude, my apologies. I already ditched replaced it.

  • By specifying that the language not be "opinionated", my intention is to avoid having to ask "What is the recommendable/standard/approved/blessed/inherently-good way to do something?" in the future. I want to design my applications, desktop or Web, entirely on my own. If only to find out why some designs are not recommendable/standard/approved/blessed/inherently-good.

  • By specifying that the framework let me study how it works, my intention is to avoid having to ask "Why subsystem X throws error Y when I try to do Z?". I want to find it out on my own. If only for education purposes.

  • There is nothing else I can find that I think can potentially be interpreted as "subjective and argumentative". In particular, specifying an operating system and a Web server just means "I don't want to have to install other things than I already have installed on my PC". (Besides, Apache is pretty much the standard Web server.)

  • Yeah, the question is open ended. This is because I am asking for suggestions. And, since I am a complete newbie to Web development, there would be no point (at least for me) in arguing your suggestions. Also notice, the question is community wiki.

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

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

发布评论

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

评论(3

舞袖。长 2024-10-03 08:43:34

您可能需要学习服务器端语言和客户端语言。

对于客户端开发,我推荐:

JavaScript 和 JQuery 框架库 http://www.jquery.com

对于服务器端开发,我推荐:

C# 和 .NET 框架库 http://www.microsoft.com /express/windows/

You'll probably need to learn both a server-side and a client-side language.

For client-side development, I recommend:

JavaScript with the JQuery framework library http://www.jquery.com

For Server-side development, I recommend:

C# with the .NET framework library http://www.microsoft.com/express/windows/

掀纱窥君容 2024-10-03 08:43:34

和 Seaside 的 Smalltalk 会是最有趣的。可以下载一键图片,并且图书已上线。

1 Smalltalk 坚持在类和方法中组织代码,但愿意接受有关如何做到这一点的建议。 Seaside 是一个固执己见的 Web 框架,重点关注 DRY。

2 它是 Smalltalk,因此所有对象和来源都是可用且可检查的。

3 无需数据库即可轻松上手。通过部署在 glass 面向对象的数据库上(需要零代码),可以最轻松地实现更大规模的持久性。它在 VMWare 映像或 Linux 或 os-x 计算机上运行。如果您想编写代码,可以使用 GLORP ORM 和 SqueakDBX 连接到 openDBX 支持的所有数据库,或直接连接到 PostgreSQL。

4 有那么难吗?

5 是否提供 ODBC 适配器。

6 有各种 NoSQL 数据库的接口。

Smalltalk with Seaside would be the most fun. One click image can be downloaded, and the book is online.

1 Smalltalk insists that you organize your code in classes and methods, but is open to suggestions on how to do that. Seaside is an opinionated web framework, with a strong focus on DRY.

2 It is a Smalltalk, so all objects and sources are available and inspectable.

3 You can easily get started without a database. Larger scale persistence is done most easily by deploying on a glass object-oriented database (zero code needed). It runs in a VMWare image or on a linux or os-x machine. If you want to write code, you can use the GLORP ORM with SqueakDBX to connect to all databases supported by openDBX, or directly to PostgreSQL.

4 Does it have to be that difficult?

5 If it provides an ODBC adapter.

6 There are interfaces to various NoSQL databases.

溺ぐ爱和你が 2024-10-03 08:43:34

PHP and CakePHP are pretty good for LEARNING, there are lots of examples, tutorials and help out there and CakePHP follows the MVC pattern.

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