哪个平台更适合电子商务网站? php或.net。 [英] which platform is better for ecommerce website? php or .net.

查看:104
本文介绍了哪个平台更适合电子商务网站? php或.net。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在建立一个网站,用户可以登录并制作个性化的卡片,并将这些卡片保存在他们的帐户中以备将来使用。电子商务功能将用于卡片订单。将有大约50种类别的卡片,每个类别约100张卡片以及用户的个性化卡片也将保存在他们的帐户中。因此网站上将有大约7000-10000张卡片,这些卡片将保存在服务器上。



那么我应该怎么做才能让网站速度变慢?所有卡都是可编辑的。



我有ASP.net和PHP团队都是中级。我不知道应该去哪一个?



JavaScript将用于卡片编辑器。



对于电子商务功能,我应该使用专用服务器还是共享服务器?有没有专用的电子商务服务器?



在网站上保存这么多卡片不会减慢网站的整体速度和工作速度吗?我应该如何保存这些卡?



应用程序也应该重量轻。



那么哪个平台应该更好ASP.net或PHP ?由于我们有Linux服务器,所以ASP.net网站可以托管在Linux服务器上吗?

解决方案

那么我该怎么做才能让网站速度不应该慢?所有卡都是可编辑的。

您应该考虑使用最小化的javascript和css,以及尽可能减少重量级的图形。因此用户体验会更好。但是您无法控制客户端浏览器的性能。在服务器端,它取决于并发用户的数量,当然还取决于服务器的性能。而且在平台上 - 例如,你可以通过编译代码而不是解释来加速php执行(看看这里: http://phplens.com/lens/php-book/optimizing-debugging-php.php [ ^ ])。



我有ASP.net和PHP团队都是中间人。我不知道应该去哪一个?

嗯,这是你的决定。我有多年的PHP支持,但多年来我更喜欢ASP.NET MVC而不是其他任何东西。但我永远不会推荐ASP.NET Web Forms。 ASP.NET MVC非常适合电子商务应用程序,与php相比,您可以省去 loooooot 的工作。



对于电子商务功能,我应该使用专用服务器还是共享服务器?

这取决于关键性和负荷。你可以从共享的那个开始,随着需求的增长而增长。



是否有专用的电子商务服务器?

这里的问题没有任何意义,原因有两个:从技术角度来看,没有专用的电子商务服务器 - 你写的,你有Linux服务器。



在网站上保存这么多卡片不会降低网站的整体速度和工作速度吗?

嗯,这取决于服务器的负载,服务器端逻辑的复杂性以及将卡从客户端发送到服务器所产生的网络流量。但由于我不知道卡片到底是什么,我无法告诉你。作为一个想法:如果你把你的cads表示为json数据,你可以将它原样保存在数据库中。



我该如何保存这些卡片? ?

在数据存储库中,例如像MySQL这样的RDBMS,这在Linux-PHP-Apache场景中很常见。



那么哪个平台应该是更好的ASP.net或PHP?

对于业务应用程序,我会认真推荐ASP.NET MVC 。 br />


由于我们有Linux服务器,所以ASP.net网站可以托管在Linux服务器上吗?

你可以。请参阅: http://www.mono-project.com/docs/web/aspnet/ [ ^ ]


嗨Rohit,



Q>那么我应该怎么做才能让网站速度变慢?所有卡片都可以编辑。

A>如果您使用ASP或PHP语言来构建您的电子商务网站,它不应该影响。 ASP或PHP仅限语言。网站速度取决于您的编码以及您的托管服务提供商。如果您使用共享主机,也许您可​​能会遇到响应时间慢的问题。



Q>我有ASP.net和PHP团队都是中级。我不知道应该去哪一个?

A>这取决于您的喜好。这只是关于语言。我个人使用ASP.NET,所以如果你问我,那么我将用nopCommerce构建我的电子商务网站。如果您使用PHP,那么您也可以使用magento或prestashop。



Q>对于电子商务功能,我应该使用专用服务器还是共享服务器?有没有专用的电子商务服务器?

A>如果您想获得最佳性能,那么当然专用服务器是最好的。但是,如果您只是新手,只需启动您的电子商务网站,那么您就可以使用共享托管。对于ASP.NET,我建议您查看asphostportal.com。我也用它们。



Q>在网站上保存这么多卡片不会降低网站的整体速度和工作速度吗?我该如何保存这些卡?

A>嗯....我相信不,你只需要优化它。如果你不优化它,也许它可能会变慢。



我希望我的答案可以帮到你。 :)

I am making a website where user can login and make personalized cards place order and save that cards in their accounts for future use. E-commerce feature will be used for card orders. There will be roughly 50 categories of cards and around 100 cards per category plus user's personalized cards will also be saved in their accounts. So there will be approximately 7000-10000 cards on the website, which will be saved on server.

So what should i do so that website speed should not be slow? All cards will be editable.

And I have ASP.net and PHP teams both are intermediate. I don't know with which one i should go?

JavaScript will be used for card editor.

And for E-commerce feature should i be using dedicated server or shared server? Are there any dedicated E-commerce Servers?

And saving so many cards on website wouldn't it slow the overall speed and working of website? How should i save those cards?

Application should also be light weight.

So which platform should be better ASP.net or PHP? As we have Linux servers, so can ASP.net website be hosted on Linux Server?

解决方案

So what should i do so that website speed should not be slow? All cards will be editable.
You should consider using minimized javascript and css, and as less heavy graphics as possible. Thus user experience will be better. But you can't control client browser performance. On server side it depend on the number of concurrent users, and of course on the performance of your server. And also on the platform - for example you can speed up php execution with compiling the code instead of interpreting (have a look here: http://phplens.com/lens/php-book/optimizing-debugging-php.php[^]).

And I have ASP.net and PHP teams both are intermediate. I don't know with which one i should go?
Well, that's your decision. I have many years of PHP behind me, but for some years I prefer ASP.NET MVC over anything else. But I would never recommend ASP.NET Web Forms. ASP.NET MVC is perfect for an e-commerce app, and you can spare a loooooot of work compared with php.

And for E-commerce feature should i be using dedicated server or shared server?
It depend on the criticality and the load. You could start with a shared one and grow with the needs.

Are there any dedicated E-commerce Servers?
This question here makes no sense from two reasons: from technical point of view, there is no dedicated e-commerce server - and you wrote, that you have Linux server.

And saving so many cards on website wouldn't it slow the overall speed and working of website?
Well, it depends on the load of the server, the complexity of the logic on server side and the network traffic generated by sending the card from client to the server. But as I don't know what a card is exactly, I can't tell you. As an idea: if you represent your cads as json data, you can probably save it in the database as it is.

How should i save those cards?
In a data repository, for example an RDBMS, like MySQL which is common in Linux-PHP-Apache scenarios.

So which platform should be better ASP.net or PHP?
For a business application I would certenly recommend ASP.NET MVC.

As we have Linux servers, so can ASP.net website be hosted on Linux Server?
You can. See: http://www.mono-project.com/docs/web/aspnet/[^]


Hi Rohit,

Q> So what should i do so that website speed should not be slow? All cards will be editable.
A> It should not impact if you use ASP or PHP language to build your ecommerce site. ASP or PHP is language only. The website speed depends on your coding and also your hosting provider. If you use shared hosting, maybe you can experience slow response time.

Q> And I have ASP.net and PHP teams both are intermediate. I don't know with which one i should go?
A> It depends on your preferences. It is only about language. I personally use ASP.NET, so if you ask me, then I will build my ecommerce site with nopCommerce. If you use PHP, then you can also use magento or prestashop.

Q> And for E-commerce feature should i be using dedicated server or shared server? Are there any dedicated E-commerce Servers?
A> If you want best performance, then of course dedicated server is the best. But, if you are just new and just start your ecommerce site, then you can use shared hosting. For ASP.NET, I would really recommend you to check asphostportal.com. I also use them.

Q> And saving so many cards on website wouldn't it slow the overall speed and working of website? How should i save those cards?
A> Hmm.... I believe no, you just need to optimize it. If you dont optimize it, maybe it can slow.

I hope my answer above can help you. :)


这篇关于哪个平台更适合电子商务网站? php或.net。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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