Until this day I have been using notepad++ for website developing. my codes are like:
...
<div><?php
$han=mysql_query("Blah blah ...");
$row=mysql_fetch_array($han);
// and so many codes to process text ..
echo $something;
?></div>
...
But maintenance of this kind of code is really hard. Now I see that everything is changing on webdesign. Everybody is going to make their websites responsive. I wish I could change my html code without seeing dynamic codes.
for example think I have have html file like this(static.html):
<div>#{content_here}</div>
and also a separate php file like this:
<?
$static_content=file_get_contents("static.html");
$han=mysql_query("Blah blah ...");
$row=mysql_fetch_array($han);
// and so many codes to process text ..
$content_here=$something;
echo str_replace("#{content_here}",$content_here,$static_content);
?>
This way I can separate static content from dynamic content. But this is all my innovation. And every time I invent something then I find that there is even a better and more extensive thing already invented.
So is there already IDEs that support this kind of web development? possibly get contents generated by php in json format and then blend it with Html content.