is struts better?

T

Tim Slattery

Hi
Is anything struts/spring can do that php cannot or very hard to
do?

Struts can completely separate presentation (the way the data is
displayed on the page) from processing (the steps gone through to
produce or retrieve the data). I'm not an expert in PHP, but I believe
that you have to mix processing code with HTML presentation code.
 
A

Arne Vajhøj

Is anything struts/spring can do that php cannot or very hard to
do?

PHP is a technology that can be used in different ways. Similar
to JSP and servlet technology.

Struts is a specific framework using a specific style of
web app.

You can find similar frameworks for PHP, but they are not
nearly as popular in the PHP world as they are in the Java
world.

Frameworks like Struts are very good for large solutions where
you really need structure. They are overly complex for
small solutions.

Today you should consider JSF instead of Struts.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top