PHP jQuery - Dynamic load or complete Page
<p>i want to write a middle sized web-application in php with mysql and jquery.
Does it make sense to generate only one "startup" page and load every content site dynamic with a jquery post ?</p>

<p>And does it make sense to make a folder structure like</p>

<pre><code>images
index.php
func.js
content
        / news 
               / add.php
               / delete.php
               / index.php
               / func.js
</code></pre>

<p>where the root index.php describe the full website layout and in the root func.js is the "what to load on landing and witch button goes to witch function" content and in the content/news/ folder there are many files for every action one file with a specific func.js file with actions for the news site ( in this demo ).</p>

<p>Or is it better to make only one file with a get like : <code>news.php?action=show</code></p>

<p>Or would you preferr that the news/add page includes the full webpage? not only the content to load from the main - layout ?</p>

<p>greetings</p>
