Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 12:40:23 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design > Scripts and Coding
Connect with Facebook

Scripts and Coding PHP, MySQL, scripts

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-07-2010, 03:49:42 PM     #1 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

Which PHP framework

In another thread it was suggested to use one of the PHP frameworks. I've looked at these in the past, but to migrate an existing project is not practical, however, I have a new project (quite small and simple so ideal to learn something new).

The logical one to choose seems to be Zend given the Zend & PHP linkage, however, there is lots of mention of other frameworks. Anyone suggest a justifiable reason not to use Zend and if so which other framework would you use and why?

The project is PHP, so please no Ruby or Python suggestions
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 21-07-2010, 04:21:53 PM     #2 (permalink)

 
Join Date: Oct 2005
Posts: 508
jonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond reputejonno has a reputation beyond repute

i've been using ZF for a couple of years, it was a bit ropey bug wise to start off with but 1.9 seems to have improved. zend form specifically is a lifesaver, it seems to save me literally hours of time.
jonno is offline  
Old 22-07-2010, 09:20:22 AM     #3 (permalink)

 
davedevelopment's Avatar
 
Join Date: May 2009
Location: Brough, East Yorks
Posts: 993
davedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond reputedavedevelopment has a reputation beyond repute

I thought I'd give others a chance seeing as I might have been the author in the other thread, I'm a big fan of ZF, use it daily for my 9-5 job. If you have a small project to learn with, go for it.

The only reason I wouldn't use ZF (or specifically the MVC stack in ZF) is for very small projects, that I don't think will grow, in which case I'd use CodeIgniter (or Yii, which I've not used yet) as it's much smaller. For example, I wrote a small URL shortener in CodeIgniter, but I wrote ZFSnippets.com in Zend Framework.

The other great thing about Zend is that it is also a great component library, you can drop it into any existing application and start to use the components such as the validators, Zend_Db and all the services classes etc.
__________________
Me: Blog | Company | Twitter

Coming Soon: DaveDomains | DaveCatcher | FreeToReg.co.uk
davedevelopment is offline  
Old 22-07-2010, 09:36:36 AM     #4 (permalink)

 
Nick's Avatar
 
Join Date: Apr 2008
Posts: 730
Nick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond reputeNick has a reputation beyond repute

It depends what you are doing? I've always found ZF a little heavyweight and tend to prefer CodeIgniter (MVC)
Nick is online now  
Old 22-07-2010, 10:39:49 AM     #5 (permalink)

 
Join Date: May 2007
Posts: 1,148
monaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond reputemonaghan has a reputation beyond repute

I already tend to write code to run through a central router and drop out to include files / classes, so the jump to a formal MVC will not be too much of a culture shock!

My concern in the past with frameworks (not just PHP) was the DB library, having spent years as a DBA, normalised schemas are "normal" for me, but mapping these easily into standard db libraries has always seemed a black art needing a lot of work to generate updates to data read from joined tables. Has this improved? Previously I've always found it easier to do the DB work manually rather than framework libraries.
__________________
Alex Monaghan - Drop Catch & Drop Lists - PM for details
Online Accounting|Pine Furniture|Barbie
monaghan is online now  
Old 22-07-2010, 08:25:20 PM     #6 (permalink)

 
tifosi's Avatar
 
Join Date: Oct 2004
Location: Lancashire
Posts: 1,907
tifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond repute

Zend is a monster for small projects.

YII is good, relatively lightweight and the code is very upto date php5 oop.

Kohana is a good alternative especially the newer v3: http://kohanaframework.org/

S
tifosi is offline  
Old 22-07-2010, 08:31:56 PM     #7 (permalink)

 
tifosi's Avatar
 
Join Date: Oct 2004
Location: Lancashire
Posts: 1,907
tifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond reputetifosi has a reputation beyond repute

Quote:
Originally Posted by monaghan View Post
I already tend to write code to run through a central router and drop out to include files / classes, so the jump to a formal MVC will not be too much of a culture shock!

My concern in the past with frameworks (not just PHP) was the DB library, having spent years as a DBA, normalised schemas are "normal" for me, but mapping these easily into standard db libraries has always seemed a black art needing a lot of work to generate updates to data read from joined tables. Has this improved? Previously I've always found it easier to do the DB work manually rather than framework libraries.
Most of the more modern frameworks have very good abstraction models, the better ones also utilising PDO which is one of the better but still unregognised features of php5.2+.

Some of the better frameworks use ORM for database -to-class mapping, though there's the opinion it's somewhat of an overhead.

Essentially IMO a well structured normalised table structure should be framework independent and the database abstraction layer should just do it's job.

S
tifosi is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
PHP include in a Smarty Template admin Scripts and Coding 1 13-05-2008 06:37:26 AM
PHP help admin Scripts and Coding 0 17-11-2007 03:11:05 PM


All times are GMT. The time now is 12:40:23 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".