Coming from Asp.net, looking for PHP equivalents for...
Posted: Sun Nov 19, 2006 6:32 am
Hello all,
I have good experience with Asp.net (and other languages/frameworks) but I never used PHP beyond very simple pages, now I need to do something more complex in PHP but before I jump into hacking & slashing at the code, I would like to understand some basic concepts so I can plan ahead better.
So, if anyone here is familiar with Asp.net, I would like to know the PHP equivalent for the following. I don't need long technical explanations, a simple pointers to the right class names/methods/components/3rd party libraries/articles will do.
- barduck
I have good experience with Asp.net (and other languages/frameworks) but I never used PHP beyond very simple pages, now I need to do something more complex in PHP but before I jump into hacking & slashing at the code, I would like to understand some basic concepts so I can plan ahead better.
So, if anyone here is familiar with Asp.net, I would like to know the PHP equivalent for the following. I don't need long technical explanations, a simple pointers to the right class names/methods/components/3rd party libraries/articles will do.
- Master Pages - In Asp.net (2.0), you can tell each page to use a "master page" and then you just write the page content, keeping all your site's overall layout, design and other global appearances/behaviors in one place. The framework knows to take each of these pages and plant them into a defined place in the master page. Is there any similar concept in PHP (or 3rd party libraries)?
- Web Controls - What's the PHP equivalent for controls that you can just add to a page, set some properties/variables and have them do their thing and render themselves to something useful and reusable (e.g. lists, grids, checkbox lists etc)?
- Dataset - Holding chunks of data in memory in a database/table like structure. Data not necessary originating from database but also read-only data from XML or text files that can be later queried, sorted, filtered, assigned to web controls and so on. Is there such a thing?
- Authentication - Is there anything built-in to handle all the mechanisms for authentication (to handle the forms, sessions, cookies) ?
- User input - Asp.net, for better or worse, has quite extensive model of handling user submitted data via post backs, raising events on various user activities and simulating events on controls that normally don't have them (image buttons for example). Does PHP have something like this or I am left to manually handle any input submitted by users, going through an array of posted variables and deciding how to respond to each myself?
- barduck