web-applications

What is the best practise design for a scalable web application involving session state

The reason I ask this is recentlydesigned an application , initially wanted to use no session state to keep things simple, but eventually succumbed to the ease of the session state idea for storing state. I was aware that moving to a web farm solution would involve configuring session state to run in sql. However I had never run across a...

Virtual Earth VEShapeLayer Will Not Render

The goal: Allow user to turn on and off different layers of data; and to dynamically pull the data for the current extent from a database on map move event. This works fine and good if you hard code your VEShapeLayers as done here. My list of layers is coming from a database, I have everything working the way I want except that when I ...

Automatically Print Image from Website

A coworker and I were having a discussion about what is and isn't possible within the browser. Then a question came up that neither of us could answer with certainty. Can you create a webpage such that when you navigate to it, it engages the client-side printer and attempts to print a document. For instance, whenever you visit my pers...

Making a faxes accessible from a ColdFusion Web App

We program a Testing Web Application for a University in ColdFusion with a MS SQL Backend. Right now we have to manually take faxes sent to our fax machine and then find the account they are related to and input the info (the actual fax has to be found in a filing cabinet if we ever need to reference it again). What I would like to do ...

what is the Best approach for writting automation tests for JAva web applications

I have found out that for java automation testing better approach would be to use Cruise Control(java), JUNIT (java testing framework) along with Watij. Any further suggestions please. Any one who has succesfully integrated these tools and what limitations are found for this. regards ...

noindex, noarchive for dead web pages? what do you think is correct?

I've noticed that a fair number of web apps, in particular do not deal very well with pages/accounts that have been deleted. First off, I'll state that I am of the position that the content owner always owns the content and that if the content is deleted or the owner deletes the account, the provider/web app should do everything possibl...

Storing documents using Ruby On Rails

I would like users of my ruby on rails app to be able to upload documents (Word Documents, Spreadsheets, PDFs, etc). What is the best way of doing this? ...

python web framework focusing on json-oriented web applications

I'm looking for a python equivalent of ruby's halcyon - a framework focused on "web service"-type applications rather than html-page-oriented ones. Google brings up a lot of example code and experiments, but I couldn't find anything that people were using in production and hammering on. Failing that, what is the best web framework to us...

Intranet music web application for an office media server?

My office is thinking of setting up a media server with speakers connected to it so that everyone in our office can queue up music via a web app. Right now we just pass around a speaker cable. Does anyone know of a Linux web app we could install or some third-party web service that would allow anyone with access to the site/account to q...

chat website using twisted

Possible Duplicate: If I develop a chat server using twisted, where can I deploy it? 1)If I develop a chat server using twisted, where can I deploy it? suppose i develop a webapplicati i can deploy it on any commertial server which allows hosting of web application. 2) But if i devlop a comet using twisted where can i deploy ...

Can someone explain callback/event firing

In a previous SO question it was recommended to me to use callback/event firing instead of polling. Can someone explain this in a little more detail, perhaps with references to online tutorials that show how this can be done for Java based web apps. Thanks. ...

How can I speed up a web-application? (Avoid rebuilding a structure.)

After having successfully build a static data structure (see here), I would want to avoid having to build it from scratch every time a user requests an operation on it. My naïv first idea was to dump the structure (using python's pickle) into a file and load this file for each query. Needless to say (as I figured out), this turns out to ...

Java Web Application Structure

Hi, I'm looking to implement a simple web-based application. The main reason I want to do it is to learn a bit about Java EE technologies, but I want to make sure that the approach I'm taking is sane. The application should allow someone to upload a file (initially an image, but will be video eventually). I will do some analysis on the...

HTML default element size (Scaling HTML pages)

Hello, Is there a way to work out the likely size of an HTML element, an H1 tag for example in pixels relative to the size of the view port. I am wanting to display HTML pages within within pages, and I want to scale the content appropriately. Clearly, if an element specifies a height in px or similar, I can scale that down easily, but...

Does the speed of a programming language matter for web applications?

I see a lot of benchmarks between PHP, Python, Ruby, etc all over the Internet. Ruby has gotten a lot of flak for being super slow, which leads to developers refusing to use it for web development for "performance reasons". But does the performance of the interpreter really matter for web applications? Isn't the bottleneck located in the...

Webappas using client side XML database.

I am thinking for a new approach to make small webapps using XML. Here the the procedure to make it. First of all design a DataBbase for Application. This database is the soul of your application. This database contain all the necessary data and values. Now when a user requests to this webapp, the server will execute a server side scrip...

Is there a way to extract a custom request header with cgicc

I am using Cgicc , which has some methods to extract specific request headers, e.g. getUserAgent would return "User-Agent" header. Is there a generic method that can return an arbitrary header value, e.g. something like getHeaderValue("x-my-header"); Is there a way to do this using cgicc? and if cannot be done with cgicc, how else c...

Temporary ASP.NET Files - duplicate file problem

I get an error when ever I replace a user control, or dll on th website. The solution is to stop iis and delete the contents of the folder, obviously not ideal to stop the site. I read that this might be caused by class names being reused, as in when you make a copy of a control and add it to the solution. Is it typical for this folder...

Flash Web Sites

i have a few questions about flash web sites. are their "pages" done using frames? is that the only way? for login/access control, is setting variables to indicate login secure? is there a way to use PHP Sessions like in regular PHP sites? or will it be the same as flash variables? ...

Best way to implement a 'find my nearest' in my webapp

Hello I'm currently building a web app for a UK company with many outlets in the UK. I want to implement a 'find my nearest' based on the following. Postcode Landmarks So the user could enter either to get a list of their nearest. I've done this before using postcode data in a database and then using Pythagoras to figure out the nea...