PHP MVC framework for ASP.NET MVC / NHibernate developer
For the class, I would like to use a PHP MVC framework very similar to ASP.NET MVC with NHibernate. I really like ASP.NET MVC. I need to use PHP and MySQL. I would not want to worry about SQL to save time. I would like to just develop PHP model classes and controllers without any data access logic I would have to write.
Any suggestions? Thank.
Also, I am very limited in what I can install on the server. For example, I cannot update PHP or run other installers. I want something that I can drop by.
source to share
My personal preference for "MVC Framework" will probably be Zend Framework - although that's not the only possible choice (I'm thinking of symfony , for example).
On the "don't write SQL" part, I would use Doctrine , which is a great ORM framework.
It is actually the standard Symfony ORM framework and can be easily used with the Zend Framework.
source to share
I suggest Symfony . It uses Doctrine (which is also partially inspired by Hibernate), but it integrates deeper with Symfony than Zend Framework. Symfony provides a number of helper classes that really help automate Doctrine (my favorite sfDoctrinePager). Zend Framework is a good choice, but I recommend taking a look at Symfony first. I would avoid other PHP MVC frameworks as they tend to be less flexible and if you are switching from another language you may have your own preferences as to how to attack a specific problem - Symfony and ZF will both give you leeway in this sense.
source to share