Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2006, 04:25 PM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to webmechanic
Default Trying PHP Framework

Hi, First time posting the message at here. Hope everything turns to be good.

Now a days in the world of PHP (especially version 5 more OOPed), many developers are running towards php frameworks. A lot of talk is going on between the developers on php frameworks. This is why, i also digg myself in php frameworks. Found many interesting frameworks platforms for php. Out of these many frameworks, cakephp and symfony is looking very promising. So, i have decided to use one of these frameworks in my future projects.

But few questions arises in my mind :confused:.
Is this trend of using framework is positive? I mean why should we use frameworks ? PHP is known to be the best performing web scripting language as compared to ASP.NET and JAVA. The reason i think is may be PHP simple structural programming. If we use frameworks in PHP, does that means slowing ur server performance?
If you have used the cakephp/symfony framework then what is ur feedback about that particular framework in terms of "easibility in coding vs performance of scripts"? (:rolleyes: wow gr8 topic easybility vs performance )

Everyone is welcomed to share information about what they think about using php frameworks.
 
Old July 13th, 2006, 03:27 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Frameworks simply set up a structured MVC model for developing complicated websites. This is great because it separates the business logic, such as talking to the database and interacting with external systems, from the display of web pages. If you do this, the business logic could then be reused to service other front-end systems, for example cell phones or Adobe Flash applications. What's great about a framework is that it forces you into separating these aspects of your web application -- in a good framework, there's little room for shortcuts :).

Because of the complexity of seperating model, controller, and view logic, I would only recommend it for complicated web sites. I have not used frameworks for PHP, but I have for Java and I think they're a great thing. They're especially good on multideveloper projects because there's a well defined architecture for the system, so people can easily work together to develop different parts of the system without debating about the interaction layer.

Jon Emerson
http://www.jonemerson.net/





Similar Threads
Thread Thread Starter Forum Replies Last Post
changing host server framework 2.0 from framework jay_vijesh ASP.NET 1.x and 2.0 Application Design 1 September 11th, 2006 02:18 PM
2.0 framework being evil? JesseM C# 1 May 6th, 2006 11:29 AM
How use framework components in compact framework? r_bazghaleh C# 0 February 19th, 2006 05:05 AM
Framework 1.0 to 1.1 reyboy General .NET 2 September 16th, 2004 02:12 PM
VS IDE doesn't see Framework 1.1? Ron Howerton VS.NET 2002/2003 5 February 5th, 2004 01:01 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.