What I'm planning is creating a website that is based fully ajax requests. But there are some questions in my mind,
1- Should I use a javascript routing engine, library ext.? Do I really need it? Because the website I'm working on is very large and will surely grow up.
2- I will just load every page content via ajax, but I won't use JSON, I'm planning to use PartialViews is that OK?
3-
<script type="text/javascript">
$("a.ajax").click(function() {
$(".placeholder").load(this.href);
return false;
});
</script>
<a class="ajax" href="/Home/Products/2">Products</a>
<div class="placeholder"></div>
This is the simple code of my process, the problem is here history, when user wants get back, it will fail. How can I achieve this problem?