Getting back into PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
zmarji
Forum Newbie
Posts: 1
Joined: Tue Aug 25, 2009 7:48 pm

Getting back into PHP

Post 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
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Getting back into PHP

Post by alex.barylski »

Zend framework
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Getting back into PHP

Post by Benjamin »

Symfony :wink:
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Getting back into PHP

Post 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
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Getting back into PHP

Post by Benjamin »

Symfony ;)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Getting back into PHP

Post 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
Post Reply