web-applications

Is there a way to use a web service (WCF) WITHIN a web application?

Is there a business case for using WCF WITHIN your web application (ASP.NET/SQL Server)? I'm not talking about a service to be consumed by others, but rather a service to be consumed WITHIN the web app. So far, the only use for web services WITHIN the web app I came up with is when I need to call the database from the client (through AJ...

Accelerometer in a iOS Safari/WebApp in iPhone and iPad

I have found a way of finding out the orientation of the device (portrait, landscape left, landscape right, upside down) via the listener <body onorientationchange="updateOrientation();"> and in the header function updateOrientation() { switch(window.orientation) { case 0: // normal ...

Storing data for web application in python dictionary

Is it feasible to store data for a web application inside the program itself, e.g. as a large dictionary? The data would mostly be just a few hundred short-ish text blocks (roughly blog post size), and it will not be altered/added to at all by the users (although I would want to be able to update it myself every so often). Up until now...

What is a good strategy for seprating layers for an appication that can be used online and offline?

I have a Java web application that has a 'disconnected' Java Swing desktop app. Using the desktop app users connect to the internet and download data they need from a server. They can disconnect and use the application offline. When they reconnect to the internet they can sync their data back to the server. The server itself is a Java...

Book suggestion for Java web application testing

Hi. Could you recommend some books on Java web application testing? Thanks. ...

How to Draw with your Finger on an iPhone Web App HTML5 - Is it possible?

As a webapp, not a native app on the iPhone or Andriod. Is it possible to draw with your finger? If so, how? Anyone have or can provide a barebone simple example that just loads a blank page? Thanks ...

Custom CMS with multiple users. Best practices

Hi, I'm currently developing a web application for a particular niche. The point is that users can create an account, manage specific data and use that data on their website through API calls. So it's actually some sort of WordPress CMS but without the front end functionality. It is also not open source. So in short, user can manage th...

How can I tell a widget to maximize to fill the whole space available?

I'm developing a widget for mobile phones using the Vodafone Mobile Widget Platform and I'm trying to get it to fill the entire screen. Using height and width to 100% doesn't seem to work as expected. Anyone know what to do? ...

How can Google Data js-client access feeds without any same-origin-policy issue?

I've been reading about the JavaScript Client Library for Google Data Protocol and it seems that it can access any Google service that has a proper interface (Docs, Spreadsheets, Calendar etc.) If I use this client in my own application hosted on my own domain, how does the js client library get around the same-origin-policy that seems ...

Waiting on JQuery to finish .live() or .bind() bindings?

Hi, I have a script which adds click event handlers to about 500 elements in the page via JQuery .live or .bind (not decided which yet), and I am having a JQuery performance issue. With a small dataset, I can load the page and as soon as the page has finished loading according to the browser, I can click on something and off we go. ...

Security vulnerability testing tool for .NET web applications?

Hi, I am planning to check my website against all common security vulnerabilities like cross site scripting ,sql injection etc. Can somebody tell me is there any automated tool which I can run for my .net web app and find all security flaws exist. I tried CAt.net but it is not able to support big apps. i saw abt owsap but againt it is a...

Are replication data-centers useful for speeding up responses?

There are different types of data-centers so I want to explain that I'm talking about data-centers setup with the purpose of providing content faster to a certain local on the planet. From what I understand, each data-center shares access to the data storage and basically just exists somewhere in the world to keep requests from travaili...

A question about duplicating Drupal installation on another server

Hello, I have hired a programmer overseas to develop a Drupal website for me and he has done a very good job (the site is installed at his server). I payed him and he sent me the Drupal files and the database .sql file. Here is what I have done so far: 1- I have created a database on my server named something different from the databa...

Charge users trough their phonebill.

Do anyone know how to charge people through their phone bill? I send out sms's from my webapp I pay for. So I want to be able to charge a price per sms is 1 DKK + regular sms price. I know a lot of radio stations and television shows are doing this. Is it possible to do this for a relatively small traffic webapp? ...

Open a web page when I receive an incoming call

We have a web application, and people have asked us if we can pop up screens when they get an incoming call on their PBX. I think that the easiest way to do this would be to have a small app that sat in the system tray and waited for a call using TAPI or TSAPI. When a call comes in, it would open a web page to a configured URL, passing ...

How does Google Drawing work?

just wondering what is behind the major functionalities used in Google Drawing. Does it use jQuery? ...

Difference in Application performance running in IIS and Apache Tomcat

I have a web application that works fine in IIS 6.0. I have modified to make it work in Apache Tomcat also. Will there be any visible changes in performance between the 2? Are there any specific advantages or limitations. ...

Error after adding Richfaces

I am running a webapp on a glassfish v3 server. I've just added richfaces to my application, but I get an error when i try running my project: INFO: Initializing Mojarra 2.0.2 (FCS b10) for context '/WMC' INFO: Unsanitized stacktrace from failed start... java.lang.RuntimeException: WEB9033: Unable to load class with name [org.ajax4jsf.t...

Source code different than code being built

I'm having an issue with a Visual Studio 2008 web application project where changes I make to the form or the code behind do not get built when debugging, and so I cannot use breakpoints and in fact none of the changes I make will display unless I navigate to "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" and del...

Get value from a row in a JSP page using display tag

Hi, Sorry for a bunch of Struts2 / JSP questions, but I have a table generated with Display tag: <display:table name="table" pagesize="10" id="row" requestURI=""> <display:column title="Action"> <s:form theme="simple"> <s:submit action="remove" value="Remove" onclick="return confirm('Are you sure you want to delete...