web-applications

Is JavaScript an application language?

I have always thought of JavaScript as a client-side scripting tool for augmenting the functionality of HTML, which in turn is usually generated by some other server-side technology - Java, .NET, Rails, Django, PHP, etc. Recently though I have heard people talk about JavaScript as an "application language". I understand that application...

Prototyping Web App Framework

I've been searching SO for ideas and suggestions on what best to use for prototyping a web app (see related question section). I have 3 weeks to created a prototype to demo. All functionality is specified. The UI is not but this is not required for the demo. In the past I have built highly bespoke solution in Perl and/or PHP, using Jav...

Key factors for designing scalable web based application.

Currently I am working on web based application. I want to know what are the key factors a designer should take care while designing scalable web based application ? ...

Caching issue in frameset frame

Hi, I have a web application and it is done in VS 2003[C#]. There is a frameset which is divided into 3. TopFrame LeftFrame ContentFrame LeftFrame loads contents related to each logged in user. The contents are loaded from SQL Server 2000 database. But there occurs a strange problem when one user logs out and another logs in. The...

Save temporary Ajax parameters in jQuery

Hi there, I am developing a heavily scripted Web application and am now doing some Error handling. But to do that, I need a way to access the AJAX parameters that were given to jQuery for that specific AJAX Request. I haven't found anything on it at jquery.com so I am asking you folks if you have any idea how to accomplish that. Here i...

Can we use iPhone Mapkit Framework in a web app ?

Hi All, I am trying to develop a web app for iPhone on LBS. I am using the ASP.NET MVC to do this. Is there any way to use the Mapkit Framework provided by iPhone 3.0 in my web app ? I am waiting to find this answer .... Thanks and regards All. ...

web integrated mobile application

i want to built an application, using the netbeans mobile application software(ME), which gets data from a website and then display it on the screen may be in a text box. ...

Would it ever be wise to have a SQL server per web server?

I'm wondering if, under the circumstances that You get lots more reads than writes Your SQL server of choice is cheap/free and offers a fast mirroring/replication service Your database isn't insanely large rather than having separate SQL servers it would be better to have an instance of SQL on each machine getting instant updates fr...

Pre-validating website users via a remote site

Hi, I need to work out a way to setup the validation of the users of a web application before they've actually arrived at the site. That is, someone browses to a url, enters a username and password which is then validated against a db or whatever. They are then automatically redirected to the real web application, on a different domain ...

Saving/editing parent and child information on same webpage

This is a question related to how people are handling a situation in the user interface for a web application. I have a page which is displayed when a user wants to create/edit a Parent object. It has a few attributes related to this Parent object, as well as a Save button so the Parent can be saved. Each Parent object has a collectio...

java logging vs Log4j in Spring framework. Which one is the most suitable.

Hi, We are developing a web-based application in Java using the Spring framework. We are wondering which Logging system would be the most appropriate for it, whether Log4j or JUL (java.util.Logging), which is integrated with jdk. As far as I'm concerned, the former is more popular among developers and offers higher customization option...

MasterType problem after converting from ASP.Net WebSite to Web Application project

After converting a Asp.net website to web application, I receive 'Type MyNameSpace.MyMaster is not defined' error on pages that use the MasterType directive. eg In the aspx file <%@ MasterType VirtualPath="~/MyMaster.master" %> In the designer.vb file the following code is generated and has the error described above: Public Shadows...

What is the most suitable RIA programming language to construct a REST API?

We are currently designing a REST API that we want to publish in a few months. Since this is a brand new application we can choose any other programming language other than PHP. At this moment we are using the following link to have a base of best practices for APIs. What is the most suitable Rich Internet Application Programming Langu...

Javascript/CSS token field. Much like Cocoa's one.

Hi all! I've made a desktop application which uses Cocoa's NSTokenField: More info about it here: http://developer.apple.com/documentation/Cocoa/Conceptual/TokenField%5FGuide/Introduction/Introduction.html Now I'm remaking this application as webapplication using PHP and AJAX. Is there a way to use a token field (comma seper...

Should I sanitize user input upon 'before_validate' or 'before_save'?

If I receive user input, does it make any difference if I validate first and then sanitize before saving it to the database? Or is there any risk in validating unsanitized input? (when I say 'sanitize' I mainly mean stripping out any HTML tags) UPDATE & CLARIFICATION: I wouldn't put HTML tags into the database. I would sanitize the i...

how templates work on wordpress?

Does any have the idea of how wordpress works. I am very much curious about to know the working and flow of execution in wordpress. How they are managing the templates and htaccess controll follow etc. Help me and share your knowledge with me. ...

How to know in what technologies run a webapps

Language, We can see some webapps that run in Java beacause the .jsp .jsf .do .faces extension is shown in urls, or .php for PHP, or .asp, aspx for .NET, but i some other is not displayed, like zoho.com/view/ZB_Main for example. Does exists some technique for knowing that? ...

Creating the shortest possible case-insensitive verification number

This is going to be a little long and rambly, but I want to make sure everything is in the proper context. Back in 2004 I wrote an online Learning Management System using Classic ASP and VBScript. I'm now working on some upgrades (and periodically asking myself WTF I was thinking when I wrote various segments of code...), and I want to ...

Maven: Including a META-INF folder in the classes folder.

Hello all, I have a very simple war project and I want to include a folder:META-INF at the top of the classes output folder where all the compiled java classes are. Im doing this by using maven but it seems that by default maven won't include anything that is not a java class. So it ignores my META-INF folder that is sitting at the top...

How do I write a single-file Django application?

I want to write a very small Django application in a single file, requiring all the appropriate modules and stuff, and then be able to run that as a normal Python script, like this: $ python myapp.py You can assume I won't render HTML, so I don't need templates (I'll return JSON or some other auto-generated string). ...