Want to do a medium-sized e-commerce website, now in between Java and PHP tangled, Online said Java extensibility is good for two development but the cost of learning cost development, PHP development quickly learning cost is low, but online said not conducive to two development, unable to write core functions. Do not know a medium-sized shopping site, such as Dangdang (perhaps smaller) with PHP enough? Online said 90% with PHP, domestic java,php,.net have, performance layer with PHP, the core layer with Java, do not know whether PHP is not enough, so-called core layer is what, look forward to the great God doubts!
Reply content:
Technical team to which familiar with which, do not think of what can be expanded, two times development, performance and so on.
Why don't you think about it?
What you are thinking is the future is a medium-sized e-commerce website, in fact, more than 90% of the likelihood of a year or two did not pick up.
If the "unfortunate" in the future a large amount of traffic to consider performance, can be extended, then you have to congratulate you, these things in front of the money is not a thing.
The simplest, if ecshop and so on these open-source mall can meet your needs, use these bar, find a good-looking template, a day to put up, security, ease of use (front and rear) are more than the novice write more reliable.
Remember, do not use any technology for dazzle, especially in the early days, the most important thing is to verify the business model, marketing model, time than anything important. The main problem is to do e-commerce website selling health care products and so on,, PHP has open-source programs, to use the good ... If you already have a technical team and a technical person, let him decide what to use.
My personal opinion is to use Java better.
Java is currently in the Internet, enterprise applications, mobile app 3 areas of practice are relatively mature, the market has a considerable supply of human resources.
You do e-commerce website, these 3 areas will be involved, PHP do the internet This is no problem, enterprise applications and mobile app is not good for PHP. If your technical team is doing Java, you can flexibly mobilize resources. Communication is also convenient, someone quit or take over.
"PHP Development rapid Learning cost is low, but online said not conducive to two development, unable to write core functions"
This is not the case, two times development, core functions and language line no matter.
"The presentation layer with PHP, the core layer in Java," in the early years to do so, should now be very little, there are many reasons,
For example, the number of early PHP is much larger than Java, and the cost of Java is high.
There are early Internet applications are used PHP later in Java, it is not possible to cut off the redo, so there is this program.
"What is the so-called core layer?"
The core layer refers to the way the schema applies and organizes the code.
The core layer consists of the most critical and can affect the process business code, generally easily unchanged. For e-commerce, order Processing, payment settlement, promotional discounts, commodity management, inventory management are key applications,
The code may be placed under one of the application's package, which is the core layer.
It is also possible that each critical application is individually deployed on a separate server, which is a core layer of several applications. It doesn't have much to do with language.
Do e-commerce said to choose Open Source Platform, PHP more, less Java;
Open source e-commerce platform has magento,opencart,prestashop,oscommerce and so on, these are PHP, Java is very few.