用什么? PHP或.NET [英] What to use? PHP or .NET

查看:47
本文介绍了用什么? PHP或.NET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我是这个网站开发的新手并试图完成我的网页。现在我陷入了这样一个阶段:我必须开发一个表格供用户输入数据并将其发送到我的电子邮箱。 (用户将上传带有名称的图片并提交)。为了做到这一点,我不确定要使用。我使用Windows来构建我的网页,很快就会主持。我查看了PHP,但这需要我下载这么多程序来编译。我还没看过.net但是如果我花了2个星期我就可以学到很多东西。有什么建议吗?。

Hi!
I''m new to this website development and trying to finish my webpage. Now I''m stuck at the stage where i have to devolop a form for user to imput data and have it sent to my email. (user would upload the picture with name and submit). In order to do that, im not really sure wat to use. Im using windows to build my webpage and would host soon. I looked into PHP, but that requires me to download so many programs to compile. I didnt look into .net yet but if i spend like 2 weeks i could learn pretty much of it. Any suggestions?.

推荐答案

在我的一点经验中,我认为安装php与IIS一起工作非常容易。我实际上认为让IIS使用IIS比使用更新的.net框架更容易。唯一需要下载和安装的东西就是php,除非我不完全理解你的要求。


之后,我认为最重要的是个人选择什么你宁愿使用的味道。我个人首先学习了php,然后使用c#学习.net,使用微软的免费visual studio版本进行编程。我个人的观点是使用Eclipse安装php插件的php编程更容易。这只是我的偏见。我上学的人似乎不同意我的观点,但他们的任何经验都与.net有关。


我建议花一周的时间查看.net的内容并稍微玩一下,然后根据自己喜欢的内容做出个人选择。我想从你想做的事情来看,要么就好了。
In my little bit of experience, I thought it was pretty easy to install php to work with IIS. I actually thought it was easier to get php working with IIS than to get the updated .net framework working with IIS. The only thing would would have to download and install would be php, unless I am not completely understanding what your asking.

After that, I think more than anything its a personal choice about what flavor you would rather use. Personally I learned php first and went to learn .net using c#, programing with the free visual studio editions from Microsoft. My personal opinion is that programming with php using Eclipse with the php plugins installed was easier. That is just my biased opinion though. People I go to school with seemed to disagree with me, but any experience they had was with .net.

I would recommend taking a week to check out the .net stuff and play with it a bit and then make your own personal choice on what you would rather use. I think from the sound of what you want to do, either would work just fine.


谢谢你的信息。我喜欢php,但我正在浏览如何编译。结果出现在windos xp上编译它。我将不得不拥有Microsoft Visual C ++ v6或任何其他Microsoft开发环境。然后从PHP 5开始,还支持免费的Microsoft .NET工具链(您需要安装Windows Platform SDK,Visual C ++ Toolkit和.NET Framework SDK)。

**来自PHP网站的win32 buildtools? http://www.php.net/extra/win32build.zip。


** PHP使用的DNS名称解析器的源代码? http://www.php.net/extra/bindlib_w32.zip。这是win32build.zip中包含的resolv.lib库的替代品。


**如果您计划将PHP编译为Apache模块,您还需要? Apache的来源。


**最后,您将需要PHP本身的源代码。您可以使用最新的开发版本吗?匿名CVS,一个?快照还是最近发布的?源码tarball。


这是对的,还是我看错了信息。
thank you for ur info. i like php but i was going through the web for how to compile. the results came up with that to compile it on windos xp. i would have to have Microsoft Visual C++ v6 or any other Microsoft devolopment environment. then "Since PHP 5 the free Microsoft .NET toolchain is also supported (you need to install Windows Platform SDK, Visual C++ Toolkit and .NET Framework SDK)."
**the win32 buildtools from the PHP site at ? http://www.php.net/extra/win32build.zip.

**the source code for the DNS name resolver used by PHP from ? http://www.php.net/extra/bindlib_w32.zip. This is a replacement for the resolv.lib library included in win32build.zip.

**If you plan to compile PHP as a Apache module you will also need the ? Apache sources.

**Finally, you are going to need the source to PHP itself. You can get the latest development version using ? anonymous CVS, a ? snapshot or the most recent released ? source tarball.

Is that right or am i looking at a wrong info.


嗨。


安装PHP在Windows上非常简单。


我个人总是使用Apache HTTP服务器而不是IIS,虽然我听说PHP很容易在IIS上设置。


您可以使用安装向导在Windows上安装PHP。不需要像你之前建议的帖子那样构建源代码。

安装程序可以在 php.net 上的target =_ blank>下载部分。 (Windows二进制部分顶部的第二个)。


安装完成后,您只需要使用HTTP服务器进行设置。如果您遇到任何问题,请随时再发帖。


关于标题中的问题。

我最初在学校学习Java和C#好几年了,所以你以为我会成为一个.Net的人。但不,事实证明我发现PHP更灵活,更易于使用。在我看来,PHP的数据库交互也更容易。
Hi.

Installing PHP is pretty easy on Windows.

I personally always use the Apache HTTP server with PHP rather than IIS, although I hear PHP is pretty easy to set up on IIS.

You can install PHP on Windows using a Setup Wizard. No need to build the source like your earlier post suggested.
The installer can be found at the Downloads section at php.net. (Second one from the top in the Windows Binary section).

Once that is installed you only need to set it up with you HTTP server. Feel free to post again if you are having any problems with that.

As to the question in the title.
I originally learned Java and C# at school for several years, so you''d have thought I''d be a .Net person. But no, as it turns out I found that PHP is much more flexible and easier to use. PHP''s database interaction is also, in my opinion, much easier.


这篇关于用什么? PHP或.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆