web-applications

ExtJS vs. jQueryUI

I recently had the experience of doing the same thing (a search combo box) with jquery and extjs. I found extjs to be buggy and overly complex. On the contrary, I found jquery to work very well and be very simple. I am wondering what are other people's experiences of using extjs. Does extjs complexity actually buy you something? ...

What is the preferred way to reconcile multiple Default Page(s)?

Here's the problem: we have a family (approx. 8) of websites, each hosted on a different subdomain of a single domain common to every member of the family. E.g., ecommerce.my_domain.com forums.my_domain.com signup.my_domain.com For various reasons, each subdomain is administered separately from the others--i.e., different servers, c...

How to specify jetty-env.xml file for Maven Cargo plugin for Jetty?

I am migrating from Maven's jetty plugin to the Cargo plugin (cargo-maven2-plugin) because Cargo will happily run WARs from dependent Maven modules. Within out web-app we have taken great pains to externalize all configuration through JNDI. These JNDI definitions are web-app specific and therefore are placed in a jetty-env.xml file tha...

I am having trouble understanding XSS

I understand that XSS is when you can get a site to run arbitrary JavaScript by appending it to a URL or embedding it in the page somehow. I understand this is bad because it can allow people to steal cookies and such. What I don't understand is how that is possible. ALl my reading about it just shows people using alert() to display th...

iFrames bad or good?

Possible Duplicate: Are iframes considered 'bad practice'? Some say that iFrame is evil. But it seems that Facebook uses iFrames for the Facebook applications, and dumping FBML (Facebook markup language). I have never used iFrames before, but is it a good practice to use them if you want to "install" other web applications o...

Modern browsers break same origin policy?

According to this video http://www.facebook.com/video/video.php?v=562087699610 modern browsers break same origin policy so javascript can make ajax calls to whatever domain. Is this true? If yes, does this mean that this will be natural/acceptable whenever necessary eg to fetch data from my partner applications? ...

Technology Platform for WebService in non programming company

The company I am working at is required to develop a web service API. Currently the company does not have in house software or web developers, we are primarily MySQL database developers. We would like suggestions on languages and frameworks that will allow rapid development of a web service that is basically acting as a proxy to MySQL s...

Building a Schedule Screen/Grid; whats the best plugin/tool for this?

Hi, this is a mockup i want to buid... I"ve having trouble properly laying out with just css/js ... is there a jquery plugin/tool that could help with this? Could this be called a reverse orientation calendar? Writing it from scratch has been hell so far, and i'm not remotely close. ...

Concurency and AJAX applications

I have an application wich is multi-user and only one user can do a specific action and has to wait for another user to finish is task. Right now it's implemented with spin lock like so: while(($Application = Application::LoadLock($_SESSION['userid'], $_SESSION['DB'])) === false) usleep(100000); But this way the transition aren'...

Web app's folder limitation

Our web app stores all user images and videos in the file system. We will have 10Million+ users. Which will eating a parent folder (in some share) which will have 10M sub folders (one for each user) Do you know if windows will place any limitations on the number of subfolders the parent Images folder can have? Is this a bad way to sto...

How to convert UTF8 to unicode

Hi, I try to convert a UTF8 string to java unicode string. String question = request.getParameter("searchWord"); byte[] bytes = question.getBytes(); question = new String(bytes, "UTF-8"); The input are Chinese Characters and when I compare the hex code of each caracter it is the same Chinses character. So I'm pretty sure that the c...

Is Google Chrome effectively buggy in its handling of desktop DPI?

They appear to assume that "web designers assume a fixed 72DPI" (or something specific anyway). But desktop DPI usually depends on screen physical size. When I visited this site, I noticed its fonts look tiny compared to other browsers. After some quick research, I stumbled into Development advisories from Google Chrome that pin point...

Tomcat native library benefits

Can anyone advise on the main benefits of installing the Tomcat native library? I am running a standard installation of Tomcat to serve a moderately complex intranet based web app using Ext Js on the front end so lots of javascript and AJAX over the network and VPN from various locations. Is it even worth installing this library for th...

java application servers with php and exploded war support

i am looking for a java application server to install on my machine to deploy a project in an EXPLODED war way but i need this server to support php. i tried using tomcat 6 with apache 2.2 but i failed in doing this. ...

What's the best way to connect iPhone app (iOS SDK) to php/MySql backend

Hey guys, New to iPhone dev here. Just wondering what's the best way to connect an iPhone app frontend (based on Cocoa) to a php/MySql based backend? The iPhone application will frequently access and change data stored on our server. Many thanks ...

How to use local storage to keep a users favorites list intact upon successive visits

So i have a web application I've developed using jquery and some jqtouch. I have javascript functions to clone list items to another "favorites" list if the user so chooses. My question is how can I use localStorage to keep their favorites in the list when they come back into the web application? I can't seem to find a straight forward...

I need really basic visual studios 08 help..

Im making a really basic website with only 4 pages in visual studios 08. Using the ASP.NET web application template I have created a master page and 4 associated content pages. I added a tree view to the master page to navigate between them. Could someone please explain the Contentplaceholder, how is it typically used? How do I move it? ...

Loading JS configuration from server?

I want my JS to load certain information that needs to come from the server. Examples would be URLs, language specific messages, etc. What is the best way to get this information from the server to the JS? Right now, I have such values stored in an actual JS file. I don't like this approach because information is duplicated on the serve...

Deploying GWT app to Glassfish 3.0

Hello, I'm having some troubles figuring out if its possible to run a GWT Application inside a Glassfish Application Server 3.0. I was already able to run it using Tomcat, but that seemed more natural and more easy to do. Can you point out a place where I can learn how to deploy my app to glassfish? I'm currently using GWT Plugin wi...

Looking for a web-based log collection/display application

A project I'm working on currently involves using a disparate set of technologies, including .NET, PHP, Asterisk and bash scripting. Each of the applications in use produces some logging; technical logging for administrators and user logging. The technical logging is easy, all logs are written to disk as text files. For the user logging...