Reputation: 2935
While I know PHP extremely well, I was wondering if there is any frameworks / GUI's out there that allow you to develop PHP in the manor that you can develop ASP.net sites? Most important features would be the separation of behind the scene's coding from the actual web view itself. This means each page has it's own class generated behind the scenes and can auto detect when certain buttons are clicked. It would be ideal for all this to be handled by the framework so I don't have to do it all.
Things like textbox1.text would be amazing, but I have no expectations of that. Getting from the $_POST is ok.
Other key features I'd like is the ability to create classes with namespaces and #regions so i can easily access / see only what I want at a specific time. A Data Access Layer object like .net would also be amazing so my SQL could stay clear and in an object form.
Again I am being very optimistic in asking if anyone knows of a setup like this, but figure it's worth asking as I have to develop a rather large PHP project and development time decreases 10 fold due to the usability of even Netbeans compared to ASP.net / Visual Studio.
I appreciate any input
Upvotes: 2
Views: 2003
Reputation: 9082
The closest PHP framework I have seen is Prado.
PRADO is a component-based and event-driven framework for rapid Web programming in PHP 5. PRADO reconceptualizes Web application development in terms of components, events and properties instead of procedures, URLs and query parameters.
I haven't looked at it in years though and the old site says they have a new framework, but I'm not sure if it uses the same style.
Upvotes: 3
Reputation: 522520
What you're looking for is a PHP framework with an MVC architecture. There are a lot of those out there, so take your pick. It won't work exactly like .NET since it's a different technology, but you should definitely use a properly structured framework for any serious project.
Upvotes: 3