[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.


Closed Thread
 
LinkBack Thread Tools
Old 11-02-2007, 08:03 AM   #1 (permalink)
NamePros Regular
 
Join Date: Mar 2007
Posts: 997
0.00 NP$ (Donate)

.jd. is just really nice.jd. is just really nice.jd. is just really nice.jd. is just really nice


php frameworks?

What are php frameworks, or frameworks in general?

How will they help me, and how what would I use them for?

All help is appreciated, thank you
.jd. is offline  
Old 11-02-2007, 08:30 AM   #2 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
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
Peter is offline  
Old 11-02-2007, 10:27 AM   #3 (permalink)
NamePros Regular
 
Join Date: Mar 2007
Posts: 997
0.00 NP$ (Donate)

.jd. is just really nice.jd. is just really nice.jd. is just really nice.jd. is just really nice


I can see the advantage, but do the average programmers use them?
.jd. is offline  
Old 11-02-2007, 10:34 AM   #4 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute

Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
Quote:
Originally Posted by k1dprodigy
I can see the advantage, but do the average programmers use them?
In PHP I would say at the moment no. Proper frameworks for PHP have only recently started to get talked about (although some have existed for some time).

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
Peter is offline  
Old 11-02-2007, 04:42 PM   #5 (permalink)
NamePros Regular
 
Join Date: Oct 2006
Posts: 918
40.00 NP$ (Donate)

neroux has a spectacular aura aboutneroux has a spectacular aura about


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!
neroux is offline  
Old 11-03-2007, 07:09 AM   #6 (permalink)
NamePros Member
 
Wildhoney's Avatar
 
Join Date: Sep 2006
Posts: 74
0.00 NP$ (Donate)

Wildhoney is an unknown quantity at this point


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
Wildhoney is offline  
Old 11-03-2007, 08:07 AM   #7 (permalink)
New Member
 
Join Date: Nov 2007
Posts: 20
0.00 NP$ (Donate)

InFloW is an unknown quantity at this point


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.
__________________
Hawk Host
Quality Shared and Reseller Web Hosting
http://hawkhost.com/
InFloW is offline  
Old 02-13-2008, 10:50 AM   #8 (permalink)
NamePros Regular
 
Join Date: Jun 2005
Location: Earth!
Posts: 529
65.00 NP$ (Donate)

mrleewood is on a distinguished roadmrleewood is on a distinguished roadmrleewood is on a distinguished road


hi,buddy,you can find compare kinds of PHP Frameworks at my site phpframeworks.com.
mrleewood is offline  
Old 02-14-2008, 03:08 PM   #9 (permalink)
New Member
 
Join Date: Feb 2008
Posts: 4
0.00 NP$ (Donate)

neds75 is an unknown quantity at this point


Hi,
Depending what you want to do with framework.
My favorite framework is Zend, I tried also phpeclipse for php, but I do not like it too much, but good thing about it is that it is free.
neds75 is offline  
Old 02-15-2008, 12:22 PM   #10 (permalink)
New Member
 
Join Date: Feb 2008
Posts: 9
0.00 NP$ (Donate)

jimmysanders is an unknown quantity at this point


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
jimmysanders is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 03:17 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85