Need advice about frameworks

57 views
Skip to first unread message

Jon Spriggs

unread,
Oct 1, 2012, 6:26:53 AM10/1/12
to PHPNW Mailing List
Hi All,

I've recently taken over the steering wheel of an open source PHP authentication system [1]. It's got inline HTML, no object orientation methodology, no unit testing and no database abstraction. Part of the reason I took it over was because the existing team don't want to do anything with it, and it's something I quite like the look of.

I'd like to bring it up to date, using classes, unit testing, some way of letting people deploy using various SQL back-ends, and I was thinking of using something like Zend, but I have absolutely no idea of what's what in that space.

So, here's the question; without writing my own framework (again!), what's the differences between the various existing frameworks, and what's worth looking at? As it's an open source (GPL) project, I'd like to not stray into mixing licenses too much!

[1] http://github.com/MOTP-AS
--
Jon "The Nice Guy" Spriggs

Chris Maiden

unread,
Oct 1, 2012, 6:32:53 AM10/1/12
to ph...@googlegroups.com
Hi Jon,

On 1 Oct 2012, at 11:26, Jon Spriggs <j...@sprig.gs> wrote:

> So, here's the question; without writing my own framework (again!), what's the differences between the various existing frameworks, and what's worth looking at? As it's an open source (GPL) project, I'd like to not stray into mixing licenses too much!

I am sure I'll not be the only one to recommend you take a look at Symfony2 - http://symfony.com

Best regards,
Chris

Mei Gwilym

unread,
Oct 1, 2012, 6:45:28 AM10/1/12
to ph...@googlegroups.com
Hi Jon, 

Sounds like a great project. But I'm not sure if containing it within a particular framework is the best idea. 

If you write it according to PSR-0 standards (https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md) then end users could use Composer to add it to their projects whatever their framework of choice. 

Best of luck with this. 


Mei Gwilym




--
You received this message because you are subscribed to the Google
Groups "PHPNW" group.
Post to list: ph...@googlegroups.com
Unsubscribe: phpnw+un...@googlegroups.com
Archive: http://groups.google.com/group/phpnw?hl=en

PHPNW Website: http://phpnw.org.uk/
twitter: http://twitter.com/PHPNW
Events: http://upcoming.yahoo.com/group/4709/
LinkedIn: http://www.linkedin.com/e/gis/112906/3FCE41597A1B
Facebook: http://www.facebook.com/group.php?gid=17897252075
IRC: #phpnw (irc.freenode.net)

Mike Hart

unread,
Oct 1, 2012, 7:27:35 AM10/1/12
to ph...@googlegroups.com
Hi Jon,

I agree with Chris. I initially went with Zend but have, over the last 6 months, moved to Symfony 2 and will never look back. It's a full stack framework and has lots of RAD tools.

Mike.

On 1 October 2012 11:32, Chris Maiden <he...@webgoodness.co.uk> wrote:

John Davies

unread,
Oct 1, 2012, 7:55:41 AM10/1/12
to ph...@googlegroups.com
I would also recommend taking a look at Code Igniter too.
--

John Davies

Adam Westbrook

unread,
Oct 1, 2012, 6:42:24 AM10/1/12
to ph...@googlegroups.com
I'll put an oar in for CodeIgniter - http://codeigniter.com/ - very simple, very well documented, lots of resources and a decent community. It probably doesn't have the feature list you might get with Zend, but at the same time it's much more portable. I'm currently using it for a number of registration and administration systems and it's holding up great.

Either way I'd say best advice is install a few and play with them, you'll find one that you get on well with.


Adam Westbrook
www.twitter.com/adampuddlemedia



On 1 October 2012 11:32, Chris Maiden <he...@webgoodness.co.uk> wrote:

Keir Lavelle

unread,
Oct 1, 2012, 3:42:37 PM10/1/12
to ph...@googlegroups.com
If you find Zend / Symfony2 overkill, I'd recommend Silex or Slim - both are very simple "micro-frameworks" which I find less inhibiting to my own style of coding (I should probably be alarmed by this :P) and another reason I like them is that I am a big fan of Idiorm - which is a lightweight orm that makes database interaction extremely simple, worth a look definitely.

John Davies

unread,
Oct 1, 2012, 4:34:47 PM10/1/12
to Keir Lavelle, ph...@googlegroups.com
For the record and not what was asked, but avoid concrete5 at all costs. Nice from a user perspective but nightmare to code.

Sent from my Windows Phone

From: Keir Lavelle
Sent: 01/10/2012 20:42
To: ph...@googlegroups.com
Subject: [phpnw] Re: Need advice about frameworks

Reply all
Reply to author
Forward
0 new messages