Linked by snydeq on Tue 14th Oct 2008 16:58 UTC
General Development Peter Wayner examines the platforms and passions underlying today's popular dynamic languages, and though JavaScript, Perl, PHP, Python, Ruby, Groovy, and other scripting tools are fast achieving the critical mass necessary to flourish into the future, 10 forces in particular appear to be driving the evolution of this development domain. From the co-optation of successful ideas across languages, to the infusion of application development into applications that are fast evolving beyond their traditional purpose, to the rise of frameworks, the cloud, and amateur code enablers, each will have a profound effect on the future of today's dynamic development tools.
Thread beginning with comment 333669
To read all comments associated with this story, please click here.
PHP <> Spaghetti code
by andrewg on Tue 14th Oct 2008 18:21 UTC
andrewg
Member since:
2005-07-06

But will PHP be able to shake the casual structure that encourages beginners to whip up spaghetti code? Will it be able to continue to mix the presentation layer and the application layer without driving everyone insane? Will Zend's collection of server optimizations provide enough performance to overcome any limitations of the language?

Any language can be made to produce spaghetti code and mix presentation and application layers together. Have a look at the Zend framework and you will see how well it enables MVC design. Views and layouts including being template language neutral.

RE: PHP <> Spaghetti code
by Clinton on Wed 15th Oct 2008 06:50 in reply to "PHP <> Spaghetti code"
Clinton Member since:
2005-07-05

The problem is that it isn't enforced as it is in Django, for instance.

Sure, good coders can write good code in any language and beginners can write crap code in any language. The nice thing is that frameworks like Django make it harder to write bad code by encouraging good programming practices whereas languages like PHP offer no such encouragement.

Reply Parent Bookmark Score: 2

RE: PHP <> Spaghetti code
by StephenBeDoper on Wed 15th Oct 2008 08:02 in reply to "PHP <> Spaghetti code"
StephenBeDoper Member since:
2005-07-06

There's also the CakePHP framework, which looks to be quite nice (http://cakephp.org/). Unless the cake is a lie, of course (sorry, requisite).

Edited 2008-10-15 08:02 UTC

Reply Parent Bookmark Score: 2