Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-07-2009, 09:43 PM   #1
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Rep: Reputation: 16
Question Coding Dilemma: Build application with PHP framework or build all myself?

I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques.

For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.

I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.

I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?

I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.

Thanks in advance!
Old 05-08-2009, 04:17 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,562

Rep: Reputation: 140Reputation: 140
If I was in your shoes I would use the Zend framework. You can use it without knowing all gory details but you have access to them anytime. So you can understand how it works whenever you have time to spend on that. When designing your own classes that reflect business logic the programming templates will be useful anyway.
I think you are better off in the long run if you get used to a common framework.
(Myself I was working with PHP about 5 years then had to switch mod_perl, then to Java. So I don't have more experience than you but I heard from more experienced colleagues that zend framework was their favourite choice...)
Old 05-10-2009, 07:04 PM   #3
Registered: Aug 2005
Location: Australia
Distribution: Ubuntu, FreeBSD, Fedora
Posts: 125

Original Poster
Rep: Reputation: 16
Thanks for the advice j-ray.

I think I will go with the Zend Framework. I've been using it on and off for a couple of years and have found it to be really good.

I am also starting up a project at home that I will code myself - framework and all - purely to help me understand all the different patterns by having to write them.


php, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Add an Auto-Incrementing Build-Number to Your Build Process LXer Syndicated Linux News 0 07-09-2008 02:00 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 10:51 PM
LXer: Build Ajax fuctions without Javascript coding LXer Syndicated Linux News 0 10-19-2006 01:21 AM
static build of application cranium2004 Programming 2 02-21-2006 11:01 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration