9
votes
5answers
1k views

How do web servers enforce the same-origin policy?

I'm diving deeper into developing RESTful APIs and have so far worked with a few different frameworks to achieve this. Of course I've run into the same-origin policy, and now I'm wondering how web ...
0
votes
1answer
185 views

can I use XML for AJAX in a website created using HTML5

I am new to web programming and just started learning XML and AJAX. I am creating a social gaming website for my college project. I am confused at the point of using XML for AJAX in HTML5. As XHTML is ...
0
votes
4answers
237 views

Do I need a database to implement AJAX functionality for my app?

I am new to the construction and design of a web app so I'd like some advice please (Django is my framework). I'm trying to code up a "how-to" website instructing users the step-by-step process for ...
1
vote
2answers
283 views

What's the best approach to handle javascript/ajax code in a project?

In a general sense, for medium/big projects, what's the best way to handle javascript/ajax code? Is it better, to have a script file where to put each script or, to add the script directly into the ...
37
votes
6answers
3k views

How safe are hidden AJAX requests that fake performance?

What is a hidden AJAX request? I've noticed an increase in the usage of hidden AJAX requests designed to make a user's action appear to happen immediately. I'll refer to this type of AJAX request as ...
3
votes
3answers
1k views

Is dynamic HTML layout good from an SEO perspective?

Just wondering whether dynamically built HTML layout is fine from SEO perspectives? So let's assume e-commerce engine and its most popular page - products catalog. So 90% of the page is built using ...
5
votes
2answers
475 views

I'm using JSON and degrading gracefully, so how do I prevent duplicate code?

There are a bunch of questions on Stack Overflow about whether AJAX should return JSON or HTML, and most seem to agree that it is ideal to return JSON for the sake of speed. However, that means that ...
0
votes
3answers
675 views

Fileupload using Ajax [closed]

I was working on Ajax web application last time, and realized that we cannot upload a File using Ajax. I saw it on many sites, and tutorials saying we cannot upload a file using Ajax, for that we need ...
8
votes
5answers
1k views

What are the steps to learn AJAX based web application development?

I am a complete starter in web development, as I know only basics of HTML and CSS, although I have a history of desktop development. What is the usual roadmap to get started in web apps, based on ...