Hello,
Something I have always had problem with is structuring my web applications. When I was learning PHP at college a teacher used to have the PHP in a separate file to the HTML and he then included the PHP file at the top.
How does everyone else structure there applications (web or not).
This is an example of my latest web application (coded with ASP classic).
Base Directory - Default.asp - Common -- commonProcedures.asp -- commonFunctions.asp -- databaseConnection.asp -- main.css - Pages -- Layout --- pageTestPageOne.asp - Being the HTML. --- pageTestPageTwo.asp -- Processing --- pageTestPageOne.asp - Being the ASP. --- pageTestPageTwo.asp
Many Thanks, J