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
Getting back into PHP
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Getting back into PHP
Zend framework
Re: Getting back into PHP
Symfony 
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: Getting back into PHP
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
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
Re: Getting back into PHP
Symfony 
Re: Getting back into PHP
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...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
http://framework.zend.com/docs/quickstart
learn about coupling and cohesion