开发者

How to compare 2 Websites after changes in Backend / Framework

Following "problem":

Website build with PHP/HTML working We want to change this site to PHP + Zend Framework + HTML

The Goal: After implementing the Framework the site should look like without the Framework.

Is there any way to test this automaticly? If we just save the page before and compare it with the new version i will not work because some Whitespaces inside the html sourecode 开发者_Go百科can be different.

Is there any working solution for this scenario?


Well it looks like you want to compare two html pages to see if they are same.

Try this : minify the html of both pages. i think it will solve the extra empty spaces problems and then generate md5 hash or compare them or some other way you like .

Or use generated source of both of the pages can use firebug or some other tool like fiddler its already discussed here on how to get generated source.


Backup all files and test Zend with duplicate files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜