(as soon as I get my hosting sorted out I'll put my site on the web so you can actually see what I'm talking about)
I'm using PHP & includes to have a multi-lingual website and since it is relatively small (there are 6 small sections and a welcome page) I decided to have all of the website on 1 php file. since the layout is exactly the same and only the content changes from one page to another, I decided it would be easier to use _GET and _SESSION variables to determine what section the user is going to and displaying the content dynamically using PHP, so the user never actually leaves Index.php.
In order to allow for better bookmarking I made sure to use _GET extensively so, in effect, the user can actually bookmark different sections of the site.
Are there any downsides to this design choice? I realize that if the site grows I might have some trouble maintaining it but really it isn't expected to get much bigger than it already is..
			
			I'm using PHP & includes to have a multi-lingual website and since it is relatively small (there are 6 small sections and a welcome page) I decided to have all of the website on 1 php file. since the layout is exactly the same and only the content changes from one page to another, I decided it would be easier to use _GET and _SESSION variables to determine what section the user is going to and displaying the content dynamically using PHP, so the user never actually leaves Index.php.
In order to allow for better bookmarking I made sure to use _GET extensively so, in effect, the user can actually bookmark different sections of the site.
Are there any downsides to this design choice? I realize that if the site grows I might have some trouble maintaining it but really it isn't expected to get much bigger than it already is..
				
		
			