php和java分别适合什么网站,哪个更适合动态网站 - PHP或java?

Hi,

I wanted to know which lang with be easier, better and stressfree for building a dynamic website.

What I have tried:

I tried using coding PHP, seemed simple and understandable. However, for a better server side scripting, I would like to know which would be better.

解决方案You can create a "dynamic website" in any language, the main question you should ask yourself is what are the limitation on you :

1) What platform you are deploying on?

2) What language you are more familiar with?

3) What limitations are imposed on you that could impact your decisions?

A server-side scripting language is enough for dynamic website; PHP or Java part comes later. You just need to handle how a web page is served to visitors.

PHP is most widely used in beginners, training institutes etc. Java EE for web is a much complex infrastructure, and due to its tough learning curves beginners often don't use it. It is used by giants, such as Red Hat etc. Then there comes my choice, ASP.NET (an entirely biased sentence) is a really simple, powerful and agile framework for development and beats them all, in any way they can compete.

So, if you are a beginner go with ASP.NET Core, it has all the features of a modern scripting language + agility that PHP offers + security and extensibility that Java EE offers. Besides, you can host it without having to purchase additional licenses — it is open source and free; as in everything. ;-)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值