web-applications

S.O.A. with .NET for scalability

Anyone know where I can find useful resource for some information for this. I reckon SOA is the way to go for scalabilty, but are there down sides such as performance and security I should look at. Overall what architecture should be considered best for enterprise web applications A good , complete, up to date book would be valuable, an...

Developing web app, question for mobile developers

I'm going to develop a web app that I expect some people will also end up wanting to view on their phones. The UI will be fairly straightforward (no frames, just CSS/HTML). May have a bit of Flash, but not for the first version. My question is, for testing viewing of the web app on mobile devices what devices would you recommend that I ...

[JavaScript] Define associative array of arrays

Hello, I want to define an associative array like this var = [ { "100", [0, 1, 2] }, { "101", [3, 4, 5] } ] Essentially I want to be able to access an array of three numbers by specifying the custom index. However, no matter what I try I cannot make it work. I know I can define it as: var["100"] = [0, 1, 2]; var["101"] = [1, 2...

Display folder contents on webpage using Python

I wanted to know if there was a way I can get my python script located on a shared web hosting provider to read the contents of a folder on my desktop and list out the contents? Can this be done using tempfiles? ...

What tech stack/platform to use for a project?

Hey guys, This is a bit of a weird meta-programming question, but I've realized that my new project doesn't need a full MVC framework, and being a rails guy, I'm not sure what to use now. To give you a gist of the necessary functionality; this website will display static pages, but users will be able to log in and 'edit their current...

Top stories in RSS reader

How do you know what are the top stories or hot topics just in RSS feed aggregator NewsNow for example?? Could you please explain? I am new to Ruby on Rails. I want to build a RSS reader in Ruby on Rails. Could you suggest me some good tutorials or links?? Thanks Gautam ...

Update a field from server without reloading the existing page using simple javascript.

I want to change a value of a field say document.getElementById('reloader').innerHTML = updated value from Server I do not want to use Ajax, PHP, ASP, JSP .. or anything like these. Is it possible by using simple javascript? Server is C# 's application made by using HttpListener. Please question if needed more info. ...

local web application vs desktop application speed?

Which one would be faster - a local web app gui made with something like qooxdoo or a desktop app? How much speed difference would there be expected? I would prefer creating a web app which could in the future be shared than creating a desktop gui which is specialized on certain gui toolkits. ...

python web script send job to printer

Is it possible for my python web app to provide an option the for user to automatically send jobs to the locally connected printer? Or will the user always have to use the browser to manually print out everything. ...

Build 1 war from two separate web applications using ANT

Hi, Is it possible, by using ANT, to create 1 war-file out of two separate eclipse java web application projects? Besides from just copying the right files to the right places i would have to be able two create one single web.xml. Also some other files that exists in both projects should be united into one file. Thanks Pich ...

Cache Web Application files locally (for responsiveness)

is there a way i can cache all required application files on the local computer for speed without any disruption (at least those that can be run locally)? i want it to be able to start even without connection right from the start, isit possible? is Google Gears what i shld use? i heard theres a HTML5 feature/module for it? ...

Link all'interno di un campo testo

Ciao a tutti, nella Rails app che sto realizzando, l'utente ha la possibilita' di inserire un post (campo memo) con all'interno una URL. Ad esempio: "bla bla bla bla www.blabla.com bla bla bla ..." Nel mostrare tale post vorrei che www.blabla.com diventasse un link cliccabile (come avviene in twitter). Ovviamente deve essere fatto un...

How can I get HTML to link to a browser (or system) specified URL?

Hi All, I'd like to be able to create a "HTML link" that the user can click on and be taken to an URL (location) specified either in the browser (preferences?) or system environment. Is this possible? Any suggestions on how to do it please? For example, it may look something like this (or alternatively it could be a clickable image...

What considerations should be made for a web app to be released on a cloud hosted system?

I have a web app that is primarily a WordPress app, but it pulls content from a Django app, simply by calling a service that uses Django models. My understanding of cloud computing is a bit vague. If the site needs to scale up with short notice, does the cloud provider (Amazon, Rackspace, whomever) simply spin up new instances (copies) ...

get direction google map api, how to use in applet

hi i hav an mapviewer applet with my map images and all of feautre need to word correctly(geo coordinate to pixel coordinate an viceversa , zoom in and out , ...) so i want to add a thing like Get Direction on google map to my mapviewer, can i use google api in my applet? how ? or is any suggestion to do that? ...

synchronized block in JSP tag class

Hi, I am trying to find answer for the following ,for the past couple of days ,but couldnt find comprehensive answer Problem Statement I have a custom JSP tag class which handles a web form submission ,captures data and write it to same file in the filesystem. As all web applications,this can be triggeredsimultaneosly ,and i fear that ...

tools to recreate a web application flow

Are there any tools that can recreate web application flow.. for example i open www.abc.com and do some transactions in the application(basically i navigate between pages)..... So can i recreate the same transaction automatically using any tool ..... THanks in advance.... ...

Smooth redeployment of WAR in production?

I was wondering if there is a 'smooth way' of redeploying a Java WAR to a production server (no cluster, no OSGi)? All I can come up with is stop server, update file, restart server. And 10 minutes beforehand I need to display a maintenance warning on the site. What's your approach? ...

Is Webhooks a style/pattern or a specification?

I've been reading about Webhooks and I'm trying to determine if it's a specification vs a style/pattern. By "specification" I mean that the implementation details, e.g. headers, payload and so on are well defined. By "style" or "pattern" I mean in the sense that REST is a style (as opposed to a spec) or a pattern which describes usage ...

Share ASP.Net membership info between two applications

Hi All, I have an existing webapp and i'm attempting to setup BlogEngine .Net to share the membership tables Everything seems to work.. accept i can see that the Membership.ValidateUser call in blogengine returns false! While the other apps returns true. I'm at a loss.. Membership.GetUser called from both apps returns the correct user...