What is most popular ajax framework for modern days? [closed] - javascript

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
If I'm developing a client side application with heavy load, what is the most appropriate choice of Ajax framework?

I'd recommend you the JQuery. It is not just an ajax framework, it is more than that.

Client side? jQuery. Server side? Depends on your environment. Also, AJAX is not a framework per definition, but there are various libraries like jQuery which will ease the pain when using AJAX.
AJAX exists just to send some data and recieve some data from your server or some other site without forcing you to do a whole page reload. That's all about it in the nutshell.
If you're looking for a technology that will automatically place widgets on your site that use AJAX, that's a whole different story...

Related

Best practice for loading initial data into a backbone app? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I understand from the Backbone docs it is best practice to bootstrap model data into the application by embedding it in script tags that render on the initial page load.
I realize that this is done to avoid sending extra requests to the server, which will speed up page load.
But...
Does it really make that big of a difference? I am currently calling fetch on a half-dozen models and collections on page-load, and everything seems to load very quickly.
Are there any other reasons for using this suggested method of bootstrapping data? If not, it seems like extra effort for negligible gains, to me.
Maybe it's fast on your development machine with just you as the user (you didn't specify the environment), but when you have many more users those requests can begin to add up. In that case, if you can bootstrap some of the data then the benefits can become more apparent. Try using chrome inspector's network monitoring pane to get more detailed information on the difference between the two methods.

What is the best way to minify CSS and JavaScript on an ASP.NET server? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I've got CSS and JavaScript on an ASP.NET server running .NET 4 with C#. How can I send minified CSS and JavaScript response to client?
you can use Microsoft Ajax Minifier
http://www.asp.net/ajaxlibrary/Download.ashx
I think you need a minifier, there are many online minify sites available you can use like JSCompress
You can use the Closure-tool. It also has a RESTful api which can be used easily.
We use http://www.codethinked.com/squishit-the-friendly-aspnet-javascript-and-css-squisher it's really easy and good to use. You can simply choose debug or production mode in your configuration file.

Real Time : Websockets vs Comet [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
i have a few questions about real time applications.
Comet vs Websockets, what is better? For example checking the online users, chat etc.
How does running any of these processes (comet server, websockets) affect normal server functions performance (Page load, php, operating with databases)?
How can i actually install websockets / comet to my hosted server and not just having it on localhost.
Im sorry if some of these questions are stupid, but im quite new to this, so i have to start somewhere :)
Once again, this is a question that is only answered by "it depends on what you're doing". Also, a simple SO and/or Google search will give you several results that I suggest you should read for a better in-depth view.
Both techniques will deliver data "real time", and both can be used to check online users, check etc. Also, Comet is an umbrella term and there are many "Comet Servers" that use WebSockets as the transport mechanism when possible. Comet servers don't just use AJAX, XHR Long-Polling, Forever-Frame etc. They now use WebSockets and fallback to other transport mechanisms where required.
Depending on what kind of back-end technique you're using, ASP.NET SignalR is pretty awesome too.

Good guide to using Ajax in a Django project? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm working on a Django project that will need jQuery, jQuery UI, and one or two more JavaScript libraries. What good tutorial or reference can be recommend on how to make JavaScript and Django talk with each other? (that is, handling XMLHTTPRequests, passing information from a Django model to a JavaScript function, etc.)
Using Ajax in Django is just like any other web request that comes to your Django application. You need to route the request to your controller which has to provide some HTML to jQuery's Ajax handler, that is, X function(data){}.
For more understanding, see Ajax in Django with jQuery.

What is the easiest, most reputable, most seasoned AJAX framework? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 13 years ago.
I have dabbled with various AJAX frameworks, namely GWT, Dojo, Ext-JS, jQuery UI. I am interested in understanding what AJAX frameworks best meet the following criteria:
- Most easy to learn
- Most painless to keep maintained
- Most reputable, stable, founded & grounded
- Easiest to read and share
- Integrates well with J2EE
why, jQuery of course ;-)
jQuery on the client side, DWR on the server side.
This is a tough question to answer here, because most Ajax frameworks keep improving, changing, and attracting new users. You never know where the next ultra-large scale Internet site will come from, and if they choose an Ajax framework that rates low here, they are as likely to put the developer hours into fixing it as they are to change frameworks.
So please take the advice on this question with a grain of salt, especially as the question gets older and older. Someone might update the answers or maybe not.

Categories