Ajax :: Maximizing Speed With Queries?

Jul 15, 2011

I''m looking to develop a web app where there will be extensive Ajax queries, array manipulations and loading of tables on pages.. What are the best software programs or technologies out the fore maximizing the processing of these queries? ? i remember i once heard about some technology called PURE that let you transfer AJAX JSON responses directly into HTML to maximize speed.

Are there any good programs like that people know of ( or a better alternative to PURE if pure is no good i literally know nothing about it ) that can work well with jQuery, or can jQuery achieve better speeds somehow?

View 1 Replies


ADVERTISEMENT

Ajax Speed Problem

Oct 16, 2007

Ive been having a problem of late with one of my sites that uses PHP5 /
Ajax. The problem is that periodically the ajax functions lock up and it
gets stuck in the loading phase of the request. If i restart the apache
server everything goes back to normal (i assume it severs the connection
to the ajax called function).

I think this is a problem with the javascript part as i have tried it
using a straight post request and have have no problems and slow loading
time is localized to the one user (ie. still works fine on the other
computers on my office network).

I have recorded this happening in Firefox, safari and IE6 & 7

My server is running debian with apache2 and php5

Just wondering if somebody can shed some light on what my problem may be? Code:

View 3 Replies View Related

RE-Maximizing A Window

Apr 13, 2007

I've got an application that uses a browser window to display help text for
the program. When the user presses a button, a help window appears
(maximized) in the user's default browser. This works properly when there is
no browser window open yet.

If, however, the user minimizes the window and then presses the button
again, nothing appears to happen. What I want to be able to do is to cause
the browser window to be maximized again at that point. I've got the
javascript code that makes the window initially open maximized but I want
something that will re-maximize the window when invoked again.

View 6 Replies View Related

Maximizing A Popup Window

Jul 23, 2005

Iīm using a javascript based popupwindow in a webcalculation program. Once the calculation is done, and the result has been showen in the popupwindow, the user is able to go back to the webpage and ajust some of the values and press "calculate" again. Onceīs the user does that, I would like the popupwindow (which is minimize) to maximize.

Iīve tried window.resizeTo(), but it didnīt help, so are there any other ways to maximize the window?

View 2 Replies View Related

JQuery :: Speed Up An Ajax "Search As You Type" Function

Feb 23, 2011

I'm working on a 'live search' for some products in my database. I use a web method in an aspx page to hit the database up for data. The search fires off on each keyup event.

Here's the code that is fired to get the search results:

My problem is that when a user types in the input field really fast, the whole page slows down, it looks like the user isn't typing and there is a lot of lag for the cursor to catch up with the current position. What can I do to prevent this slowdown in my input field and speed up my page responding to the user's typing? I'd really like to have fast results and response time like Google's search.

View 1 Replies View Related

Passing Search Queries To Google Custom Search?

May 23, 2011

I have chosen to use Google Custom Search with my website and was given the following code, my question is, how can i pass a search query from my homepage which has a standard form on there to the search page which holds this code?

I am given a search box within this code but would prefer to use my own on the homepage...

<div id="cse" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'en'});

[Code]....

View 3 Replies View Related

Database Connection - Connect To A Database And Execute Some Queries

Oct 31, 2011

I have been searching how to connect to a database and execute some queries, and then use the data that I get to populate some tables in a web page, all this using javascript.

I am confused because I have seen in some webpages that javascript is not designed to connect with databases, and also I have see other pages where they say that it is possible.

Does anyone know if it is possible to use javascript to connect to a database (informix), and execute some procedures or queries?

View 4 Replies View Related

Measuring Download Speed

Jul 23, 2005

I would like to design a page that measures the user's download
connection. Does anyone have an example link or script that might aid
me in this task?

View 4 Replies View Related

Anyway To Check Connection Speed?

Jul 23, 2005

anyway to check connection speed?

View 3 Replies View Related

For Loop Speed Trick?

Aug 31, 2006

In the Yahoo! UI event.js file I see the following quite a bit

for (var i=0,len=unloadListeners.length; i<len; ++i) {

when I always just write

for (var i=0; i<unloadListeners.length; ++i) {

Is it worth it to declare the variable len to save time evaluating
unloadListeners.length?

View 14 Replies View Related

Site Slow In IE7 - Speed It Up?

Apr 6, 2010

I've got the following site that loads great in FF and Chrome (no surprise), but is terribly slow in IE7. It's even quick in IE6, but not 7. Here's the site code...

Now I'm using JQuery in a couple places, but it's by no means nothing crazy. The page is fairly simple.

I thought of preloading the main content images, but even after they are loaded in the cycle, the loading time is still slow.

View 10 Replies View Related

Moving JS After CSS To Speed Up The Website?

May 21, 2011

I read somewhere that putting Javascript code after CSS code on webpages makes them feel like they load faster. I was wondering if any of you has any experience with this and if you do follow this rule in your projects.

View 5 Replies View Related

Speed! VBScript Vs JavaScript

Sep 30, 2000

Just wondering if anyone knew if there was a definite speed advantage to VBScipt as opposed to JavaScript?

View 7 Replies View Related

Why Does The Speed Not Permanently Change

Apr 5, 2010

Why does the speed not permanently change?

<SCRIPT>
<!--
function ScrollMarquee(speed) {
var speednow = "";
speednow = speed;
window.setTimeout('ScrollMarquee('+speednow+')',speednow);
[Code]...

View 7 Replies View Related

Speed Depends Upon Browser Or CPU?

Feb 6, 2009

I wonder javascript execution speed depends on what ?

Meanwhile, if a flash slide show vs flash-like javascript slide show, which one will win due to download speed and execution speed?

View 2 Replies View Related

Moving Layers And Control Speed

Jul 23, 2005

I have to move 2 layers (one from up to center and one from bottom to
center) and I found this way:

<div id="up" style="position:absolute;left:10px;top:-20px">Up</div>
<div id="down" style="position:absolute;left:10px;top:200px">Down</div>

function movediv(){
var u = document.getElementById("up")
var d = document.getElementById("down")
u.style.top = "100px";
d.style.top = "100px";
}

It doesn' work...because:

1) They don't move at "the same time"...I would like to obtain
simultaneous move.

2) I can't control speed so moving is invisible!

View 8 Replies View Related

Controlling Loop Speed For Animation

Jul 20, 2005

I'm using the following to allow dynamic resixing of an image (when the usre
presses down on a button):

function widthup() {
image.width = image.width + 1;
width.innerText = image.width;
if(x==1) {
setTimeout('widthup()',0);
}
}

even when the 'setTimout' is at zero it goes pretty slowly. Any way to have
something faster?

View 3 Replies View Related

JQuery :: Custom Speed For Some Pics?

Jun 22, 2011

It's possible to set custom speed for each pic or for some pics?and How remove the frame

View 4 Replies View Related

JQuery :: Fade In Speed Of Slideshow?

Oct 31, 2011

I am new at this jquery stuff. In fact, I'm more of a cut and paste kind of gal I have a web page that I incorporated a slideshow. The picture seems to change a bit faster than I'd like, and I can't seem to make the picture go slower than it already is. Can anyone tell me what value I need to change to accomplish this? I changed a couple numbers, but didn't seem to have an affect. Also, is there a way to add a pause and play button so if the fading picture bothers someone, they can pause it?

[Code]...

View 3 Replies View Related

JQuery :: Speed Up Dom Insertion When Used With Data()

Feb 2, 2010

Suppose I want to populate a drop down ajaxly. The population is written like:

var $select = $("#target");
$.each(datas, function(){
$("<option/>")
.val(thia.value).html(this.name)
.appendTo($select)
.data('srcData', this);
});

But the speed is considerably slow when the datas is large. I know that I can use just string concatenation and html() finally to speed it up but what can I do with the data()?

View 10 Replies View Related

Button To Increase Or Decrease Var Speed

Jul 28, 2009

I'm trying to create a button that will increase and decrease the var speed variable

ex:

View 2 Replies View Related

DOM Modification Speed - Adding Elements

Nov 12, 2010

I'm justing wondering about the behavior of JS in regards to adding elements, suppose I have something like this:

I'm just wondering at the point I hit that "// DO SOMETHING WITH ONE OF THESE DIVS", are all the divs I have added in the DOM available to access?

I ask because I have some code at work in which a tester is reporting an error that happens which I can't reproduce, and they and others have had it a few times.

The only way I can explain it in my mind is if the div is not available to me at the time of execution. So I'm just looking to rule it out or confirm my hunch.

Is document.getElementById("myDiv").appendChild(obj); synchronous and the next line of code wont execute until the DOM is ready or is it in fact a asynchronous call and therefore adding alot of elements to the DOM could result in a lag so some divs or not available straight away.

View 1 Replies View Related

Detect Connection Speed And Redirect?

Nov 17, 2010

In the home page (index.html) i have a flash intro. The first time a user sees the website, the intro should play. Once he goes to another page (about_us or contact_us) and comes back to the home page, it should show a different swf (the version without the intro) - i have created two swf files. I need to know how to change them when the user has already seen the intro or was in the home page before. When i googled, i found something on cookies. I have no clue on how to set them and change the swf file.

View 1 Replies View Related

Speed Up Loading Of File From Other Site?

Jan 27, 2011

I have a JS file on site A which reads a few parameters from a short text file on site B. The call is made through code...

Any ideas on how to speed this up, either by bypassing DNS (but without exposing username) or by offering another way of reading data across sites?

View 2 Replies View Related

Detect Connection Speed And Redirect ?

Nov 17, 2010

I have pasted below java script code:

Automatic detect default page and check to low band version go to html page or high band version go to flash page.

View 1 Replies View Related

JQuery :: Adjusting Speed Parameter Does Not Have Any Effect

Sep 14, 2010

I can't change the speed on any jQuery functions that use that parameter, for example fadeIn(). No matter if I add slow, fast, 100, 180000... my tags/images/whatever always fade in at the same speed which is something between half and one second. Is this a bug?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved