Web design Problems
<p>Dear Friends I need you help.. First Little back ground..</p>

<p>I am creating a website in PHP using codeigniter.. the problem is the design of website has become so complex and perplexing that I can not wrap my head around it. Here is what I have done already and the problems...(please bear with me)</p>

<ol>
<li>I am using MVC and the code is distributed in Views, models and controllers. However the code has become very long with hundreds of functions, each model is over 300 line. </li>
<li>AM using Classes (obviously) and common functions are bundled into libraries.Also I have created use cases of the basic functionality (using normal flow charts). However when I start programing (so many new things creep up) after a while there is no similarity left between the diagram and the program being written, it seems like an exercise in which I have to write first and draw later..</li>
<li>Every time some thing goes wrong and I have to fix a module I have to re learn HOW i did what i did since it is a inter mingling web of functions calling functions calling functions.</li>
<li>Am using Edraw mind map for basic diagrams but get hardly any help from diagrams since when ever i word on one (the diagram or the software) it takes a vary different shape from the other.</li>
</ol>

<p>My questions are::</p>

<p>1:: Am I doing some thing wrong ? Is there more to organize the website code beyong using classes MVC and libraries.
2::How do other developers make diagrams and can I see some real life examples of their design.
3:: Any ideas on keeping the code organized any further</p>

<p>Any help form you will be highly appreciated..</p>

<p>Though Its a long shot but *<em>is there a system in which one can add code to the diagram that he has developed rather than typing function after function in a long list of code.</em>*eg when we design a module in a flow chart then instead of reverting to coding we can add code right there in the diagram????</p>
