Page 1 of 1

Getting back into PHP

Posted: Tue Aug 25, 2009 7:52 pm
by zmarji
Hi folks,

I started my web development path with php a long time ago, and I thought I'd post here to get some info from more seasoned developers.

I've decided to get back into PHP and I have an idea for a small social media like site that i want to build using php. I'm wondering about what frameworks to use, or should i start from scratch, I've been developing in .net for a few years and I'd like to use OOP as much as possible and possibly MVC. Any insight on this would be much appreciated.

Thanks

Re: Getting back into PHP

Posted: Wed Aug 26, 2009 12:48 pm
by alex.barylski
Zend framework

Re: Getting back into PHP

Posted: Wed Aug 26, 2009 1:01 pm
by Benjamin
Symfony :wink:

Re: Getting back into PHP

Posted: Wed Aug 26, 2009 4:32 pm
by alex.barylski
I won't get into the technical advantages/disadvantages of any framework but I will advocate Zend strictly from the enterprise perspective.

A standard PHP framework would do us all a lot of good -- Zend in this case is hands down the clear winner. It's the official framework of the company that backs the deevlopment of PHP itself. :)

Unless your extremely pedantic about coding conventions, styles, implementation techniques, etc...I would suggest strongly you use Zend...if you are pedantic then you will probably implement your own MVC framework like most OCD programmers do -- myself included :P

Re: Getting back into PHP

Posted: Wed Aug 26, 2009 8:51 pm
by Benjamin
Symfony ;)

Re: Getting back into PHP

Posted: Fri Aug 28, 2009 11:10 pm
by josh
zmarji wrote:Hi folks,

I started my web development path with php a long time ago, and I thought I'd post here to get some info from more seasoned developers.

I've decided to get back into PHP and I have an idea for a small social media like site that i want to build using php. I'm wondering about what frameworks to use, or should i start from scratch, I've been developing in .net for a few years and I'd like to use OOP as much as possible and possibly MVC. Any insight on this would be much appreciated.

Thanks
The most important part is the V in MVC, the view... separation of presentation logic, that can be achieved with something like smarty. Next important thing in my opinion is to create objects that represent your entities in your application, and that you should be able to use this objects without the database ( datamapper ).. for instance it should be easy to use your objects inside of a unit test or to load csv data, etc...

http://framework.zend.com/docs/quickstart

learn about coupling and cohesion