| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Senior Member | A framework is a collection of code that should help make life easy for a programmer. For example a framework may have classes that will handle database connections (and handling differing engines), xml handling classes, user management classes etc etc. Using a class can help ensure that you are not continuously writing the same complex code over and over again. Such a framework is the Zend Framework which is about as official as you are going to get with a PHP framework. Advantages of using an open source framework such as Zend Framework is that it is continuously being added too and bugs should be fixed quickly. Also as already suggested you will not be writing so much of the mundane behind the scenes functionality that you tend to have to write all the time.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #4 (permalink) | |
| Senior Member | Quote:
1 downside I never mentioned about frameworks is that they can hold a lot of baggage. If for example you know 100% that your application will be used with a mysql 5 database then there is so much surplus code within the frameworks that enable the use of other database engines. To decide if you are going to use a framework you have to weigh up the pros and cons when planning out the project. If you do not know the setup your users will have (as in the database example) then they can be very useful but on the other hand the download and space required for your application increases.
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft | |
| |
| | #5 (permalink) |
| NamePros Regular | A framework is basically nothing else than a hyped up term for a code library. Such a library (or framework) contains code which shall make certain tasks easier, it also shall centralise and generalise code in order not to require you to write some things yourself over and over again. In addition to Peter's suggestions there is also the SPL (Standard PHP Library).
__________________ Paris loves CityPics muov.com • qeww.com • sejz.com • viuo.com • vuav.com • wzeo.com • xeib.com • xueo.com -- Do not let others be treated this way! |
| |
| | #6 (permalink) |
| NamePros Member | I would recommend using Zend Framework as aforementioned. I used CakePHP for a while, but its coupling is far too tight for me. Zend uses loose coupling which is so much nicer to work with and doesn't tie you down.
__________________ TalkPHP.com - The Friendly PHP Community Watch Weeds Online - Watch Reaper Online |
| |
| | #7 (permalink) |
| New Member | Zend Framework is pretty nice (although I haven't had a use for it on an actual project yet). From what I've found though is it's not really that beginner friendly based on the number of people I've helped get it running for them. Someone just jumping into PHP it may not be for them. The framework is really geared towards getting that corporate crowd more than anything. |
| |
| | #10 (permalink) |
| New Member | cakephp is a good frame work. They have a lot of basics done for you already so you can get a website up and running much faster and having it do more (ajax and stuff). The thing that makes it suck and no one want to use it is the great lack of documentation to support it. Imagine learning php with out the php.net documentation site ;p |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |