First of all, I'm new to PHP web programming. I have a lot of experience in the Microsoft asp.net/vb.net/c# world but very little in the PHP world. I'm trying to understand what appears to be a totally different approach for PHP. In the MS world of web programming, you design the GUI for your app and then write code mostly as events for the components. From what I've seen in PHP, that is not the method. It seems to me that most web programming in PHP is done by using basic HTML components, input boxes, etc., then using PHP to manipulate the actions of those components.
Am I close to being correct? Or totall of course?
If anyone knows of a good resouce for a MS programmer making the switch to PHP, I would appreciate a pointer.
Thanks,
riversr
PHP concept question
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: PHP concept question
Your observation is correct. You can either embrace one of the several PHP styles (the current being MVC with View Helpers) or try a .NET style PHP framework like Prado.
(#10850)
Re: PHP concept question
Instead of events we have http events (requests).
Its called passive MVC.
I'd just read up on Zend Framework and follow their quick start guide. You'd still be totally abstracted from URLs. You use route names in your views to generate links. Then you can control how routes are mapped to URLs
Its called passive MVC.
I'd just read up on Zend Framework and follow their quick start guide. You'd still be totally abstracted from URLs. You use route names in your views to generate links. Then you can control how routes are mapped to URLs