• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Advises from portal professionals.  RSS feed

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone!
I am newbie in programming and i don't answer for the question about which is main differences if we compare usual php site and small bank or bussines portal that uses servlets, jsp, jspf and etc???

Which are benefits in their features, please explain you opinion from your experence and desprove those below if they wrong!

- Portal must be realized on the three tiers model where clients --> container ---> Db servers, but php only use a two tiers model is it right?
- php have a long http responce if the client try to do hard request to db server but portal uses the app.server for it?
-so complicated for programming in the php not for java?

What is yet more?

Thanks!
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you're somewhere out in left field with most of your assumptions. Maybe there's a disconnect in nomenclature, for example you seem to use the term "portal" in a somewhat non-standard way (the "Portal" in this forum refers to http://www.coderanch.com/how-to/java/PortletFaq).

Portal must be realized on the three tiers model where clients --> container ---> Db servers, but php only use a two tiers model is it right?


Which tier do you think PHP is missing? There's no conceptual difference between a servlet container like Tomcat and a PHP container like mod_php.

php have a long http responce if the client try to do hard request to db server but portal uses the app.server for it?


It's possible to create both slow and fast apps using both technologies.

As regards PHP vs Java, that borders on being a religious debate, and both sides are going to disagree. IMO PHP is not well suited for enterprise-class backends. While it can do the same things as a Java site can do, PHP apps tend to end up with code that is not easily maintable. It's really meant for building the web frontend of apps, but not the entire app, so it lacks some of the app structuring mechanisms Java apps have.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!