starting php again after a .Net coma
Posted: Wed Aug 24, 2011 11:16 am
I think this fits the theory area... but please correct me if I am wrong.
I've used php for a few class projects in grad school, making me still a PHP noob. I graduated and got a job as a developer. For the past two years I have lived and breathed .net (C#). Recently I decided to start doing php driven sites for some friends and have realized how warped my mind is after using .net NONSTOP.
I need help drawing a parallel between the two so that I can more easily re-pickup PHP. In .net there is a clear separation between back end code (code behind file, .cs) and front end code (.aspx) [yes I do know that the front end does contain some server side scripting, but not nearly as much as the code behind] If I remember correctly PHP mixes back end and front code on the same page, or maybe that was just my poor programming techniques in school.
Anyways, am I able to create php pages in the same fashion as .net or am I forced to intermingle the code as I did in the past? Is there a better way? Hopefully someone can point me in the right direction
I've used php for a few class projects in grad school, making me still a PHP noob. I graduated and got a job as a developer. For the past two years I have lived and breathed .net (C#). Recently I decided to start doing php driven sites for some friends and have realized how warped my mind is after using .net NONSTOP.
I need help drawing a parallel between the two so that I can more easily re-pickup PHP. In .net there is a clear separation between back end code (code behind file, .cs) and front end code (.aspx) [yes I do know that the front end does contain some server side scripting, but not nearly as much as the code behind] If I remember correctly PHP mixes back end and front code on the same page, or maybe that was just my poor programming techniques in school.
Anyways, am I able to create php pages in the same fashion as .net or am I forced to intermingle the code as I did in the past? Is there a better way? Hopefully someone can point me in the right direction