web-applications

Web application backend - confused with options

I'm looking to start on a project web 2.0 app for a bit of fun. I'm a little confused as to what sort of backend I will require. The site revolves around a user submitting an item, then other users submitting responses, then rating each response up or down. That sounds a little like digg.com I realise. How do I go about tackling a projec...

Unique Features in Web Application Frameworks

There are a lot of web application frameworks out there, based in Java/Ruby/Python/PHP amongst others. I'm keen to discover, compare and contrast features that are unique to individual frameworks. Which framework feature do you think is useful and why is it important to know about? e.g. Stripes: FlashScope - Flash scope is useful s...

Hardware access with web apps

Hi, Currently I am creating an application which uses a camera on mobile device (Android). Recently I watched some reviews of web apps and the concept looks promising for the future. Does anyone know whether it is possible to access the device hardware from web apps? Thanks! ...

Why Import Child Namespace if Parent Namespace Imported?

Why would someone have Import System as well as Import System.Web.UI.WebControls If System is root of all namespaces what is the harm in just having Import System in the code behind. ...

Why Tomcat ignores META-INF/context.xml when run from netbeans?

I have following situation: I have a Maven war project in NetBeans 6.7 I added Tomcat 6.0 as a server, which I use to run this project NetBeans itself creates context.xml file in META-INF directory, I added jdbc resources there, I am sure they are correct. The name is 'jdbc/defaultDS'; I checked in the target directory, context.xml fil...

Can you customize the Publish command of Visual Studio?

Hi Guys, I use the Publish command in Visual Studio to deploy a web application to my IIS server. It is very convenient but I have several issues with it, such as: It does not deploy the Crystal Report files (*.rpt) files It deploys the web.config file and overwrites the server specific settings Is there any way that I can custo...

jquery javascript module architecture on a website

I want to write a module on one html site - I will never leave the site I think about two possible concurrent basic approaches: We go into the module by use only a specific function (with specific params - everything which will happen, happen there - logic, exception handling etc) We go in by using one handler-fct, which manages some ...

Web Application Project, and App_GlobalResources

Hi All, I currently have a C# Web Application Project with a multitude of pages as well as their corresponding codebehind files (aspx, cs, designer.cs). When I open the dll created during the build process and open it in the visual studio object explorer, I can clearly see all of the codebehind. Within the same project I have a number ...

What are CGI scripts used for these days?

I'm pretty well up to speed on general web programming languages, but one of the tools I'm working with right now is in CGI. All I can tell is that CGI scripts are quite slow. Is CGI still commonly used today? If not, what has it been replaced by? Are there any niche functions in which CGI is still alive and actively used? ...

How to detect the country and city of a user accessing your site?

How can you detect the country of origin of the users accessing your site? I'm using Google Analytics on my site and can see that I have users coming from different regions of the world. But within my application I would like to provide some additional customization based on the country and perhaps the city. Is it possible to detect ...

Build J2EE Web Application

I have a lot of experience with HTML, SQL. Also a lot of experience in Java. But I don't know how to build a Database driven J2EE Web Application. From what I understand I'll be needing Spring, Hibernate, EJB 3 as a good foundation of technology to get started. I'll need a MVC framework (JSF, Spring MVC, Struts, etc.). I have gone th...

Visual Studio 2008 Generation of Designer File Failed (Cannot use a leading .. to exit above the top directory)

Hi, It seems the universe is against me this week. I have been happily coding away on my ASP.Net application for weeks now without issues. Today I tried to add a textbox to a form, and on saving the form, I received the following error: Generation of designer file failed: Cannot use a leading .. to exit above the top directory I googl...

Creating a web game, what technology to use?

I am planning on creating a web game. I want this game to be able to run inside the browser, have decent performance and with a lot of continuous animations and input. I want this game to scale well, because I want it to get massive later on. I thought about trying to create a java applet, but then I started to doubt. Is an applet the r...

Zend Framework. What is the best way to administer your site/app?

When developing for the Zend Framework is it common for developers to have to build a custom backend admin area for each unique app? Or is there a popular 3rd party backend tool people are using to manipulate your app's database? I'm thinking of learning ZF but what stands out is how do you keep an eye on what users are doing with your ...

How to promote/advertise your web app/site on the web?

What is the best way to advertise a web application or site on the web, specifically paid advertisement, but if there are any great free ones, those are welcome as well. Please refrain from mentioning meta tag's and technical SEO related site modifications. Google ad-words is one way we all know about. But I'm looking for other sugges...

Which free third-party services can I use to enable user content uploads (images/documents) to a web app?

I'm looking for a workaround to allow user content uploads to a web app that does not permit it natively because of restrictive file limits with my hosting provider (it's all I can afford right now). I need a free third-party web service for: Image uploads Document uploads What I'm thinking is to use Flickr for image uploads and the...

WAS 6.1, Hibernate, Spring and transaction managmement configuration

I'm using Websphere Application Server Express v6.1 and am writing an application which uses Spring 2.0.7, Hibernate 3.5. My datasource is Oracle 10g. I have 2 question Which is a better transaction manager? Websphere's or Hibernate's? If IBM is the answer then how should I configure it in the spring config XML? This is my current d...

iPhone web application development

I would like to create a website that is iPhone-friendly ... that looks like an iPhone app, but is really on the server, just like Gmail for iPhone. My understanding is that this is how Apple originally had planned for application development to happen. However, I can't find documentation on how to do this. Is there a link or something...

Validation Design and Documentation

In a perfect world you have the validation (verification) of inputs in the business logic layer, not in the presentation or persistence layer. In reality you can (or want) to place it anywhere. Lets make a simple sample (web-application using a framework like JSF or ZK): A certain input field accepts 4 digits between 0001 and 0500. Yo...

Automatically deploying changes to a web application

What's the best way to automatically deploy changes to a database driven web application? Is there a single product out there that can modify the following... Website (dlls, aspx, css files etc) Database Schema (add tables, columns, etc) Database data (modify table contents) Reporting Services reports I've seen various separate prod...