web-applications

Should I create a Model & DAO for this in my Java web application?

I have the following action servlet and was wondering if I should create a model called supervisor and a corresponing supervisorDAO as I did for program? The programDAO puts multiple program model beans into the returned arraylist. For supervisors, I am using a general input/output database utility to get an arraylist of hashmaps (retA...

As a developer, why would I NOT want to use Dreamweaver as simply an advanced Code Editor?

I am an applications developer for a for-profit college in Virginia. At this point I could code all of what I do in notepad if I wanted to, or had to, but I prefer to use an IDE for speed and organization. As a Mac user, I've used such IDEs as NotePad++, Coda, TextMate, TextEdit, NetBeans, and of course Dreamweaver. At work my company...

With Appscale, does it mean I can deploy GAE applications on Xen VPS hosts without worrying about server maintenance?

I'm pretty new to Appscale and GAE. Say I have a web application on GAE (offers hassle-free maintenance on server security etc), if I move the application to a Xen VPS host using Appscale, do I still enjoy hassle-free maintenance (since Appscale is based on GAE)? ...

Question about iphone web app and jquery/xml/ajax solution

Here's some background of what i am trying to do: Ok, i am building an iPhone web app. Originally i was building it as one single page (index.php) with each "page" of the site being a <div> element and all of the contents of that page would sit inside the <div>. I originally wanted to create the app this way as one way to utilize JQTou...

Detect if page is from a mobile device?

How do i know if my webpage (asp.net) is being loaded from a mobile device? I want to apply mobile.css instead of normal.css. I consider a mobile device all phones, psp/ds/wii, itouch and ipad could go either way. I dont know if i am choosing the css by headers server side changing the css file or if i should use JS or something. How do...

How to add www to url and redirect?

How can I response redirect from http://domain.com to http://www.domain.com? Code, not Web.config, which doesn't seem to work for me. ...

Where to deploy the Web Application???

I have made a Facebook application (using C# and ASP.NET + SQL server), which is hosted on my localhost. Is there any other place where I can deploy this web application, so that it can be accessible from anywhere on the internet. What changes should be made in the connection string, while deploying this on the internet??? ...

rails contact management webapp design help

hi, maybe the rails pros here can help me with the software design of a contact management web app. i want to create Groups, where I can add Contacts to. I thought I generate a Group scaffold and a Contact scaffold with group:references Then I the models to Group: has_many :contacts Contact: belongs_to :group I also set the rou...

Performance: Java vs. Database

Hi folks. When programming there are decisions to make all the time, like: Should I generate my Menu/Buttons/Navigation dynamically from a db entry or static via code Should I count entries of a list by Java or firing a DB query ..or maybe you find more of those DB vs Javacode questions. (I hope that question is not too common:) Wha...

How to do live updating similar to Google Docs?

I want to do something very similar to Google Doc's live updating - where all users can "immediately" see the actions of the other users in the doc. To achieve this, my ideas so far: Continuous AJAX requests being done in the background (this would seem performance-intensive)? Surely there's not a way for the server to push notificat...

A good library or some good tutorial for making secure chat web application using PHP,JAVASCRIPT

hello i want to make a secure web based chat application(just for the learning purpose) so suggest me a good library or tutorial page for that. i want to include these feature in my chat application: 1.one to one chat 2.one to may chat(group chat) 3.online friends should be displayed. 4.store chat history. i am using: PHP,JAVASCRI...

Basic architecture guideline for web based project : cloud

We are doing small database maintenance work to earn some money. A new client asked if we can develop a shopping website to list items to sell and buy. This is to cater 300K users,(around 20K users online at same time ). Each user has custom home page, saved setting for shopping carts, items to sell, basic reports (earning etc). we...

If someone said their web app was RESTful, what types of features would you assume it contained?

I was reading about a blog application that was described as RESTful. If someone told you their web application was RESTful, what types of features would you assume it contained, to differentiate it from a non-RESTful web application? ...

How to approach caching in a web application?

Hello there, this might be a more general question, not just Rails related. I'm about to start working on an application that will need to employ some kind of caching strategy sooner or later. How to approach caching when programming a web application? Should I think it through up front or is it a matter of a later decisions? And then...

Using web technologies to create desktop applications

Recently, the pace at which web browsers improved and implemented new technologies (e.g. HTML5) seemed to have accellerated considerably. At the same time, the tools for developing web applications, like e.g. jQuery, or the myriads of web frameworks have also made web development much easier. Are we now at a point were it makes sense t...

User-Contributed Code Security

I've seen some websites that can run code from the browser, and the code is evaluated on the server. What is the security best-practice for applications that run user-contributed code? Besides of accessing and changing the server's sensitive information. (for example, using a Python with a stripped-down version of the standard library) ...

When should I use an object database?

I have been using relational databases for some time now and recently came across a different type of database: object database. One of the products built around this idea had a description: A scalable, "post-relational" database with a multidimensional data and application server for distributed web applications. This makes me wonder,...

HTML5 offline mode and geolocation

Is it possible to still use the geolocation features when you are in offline mode in HTML5? It appears that when I am online (navigator.onLine = true), the geolocation works fine. But when I go offline (navigator.onLine = false), I get thrown to my error callback and the error indicates geolocation not available. ...

mobile webapp CSS breaks on orientation change

The CSS for my webapp gets completely misaligned when the mobile device is rotated to landscape (target devices are iphone and android). I tried using the javascript solution explained here in order to get my app to switch between a portrait.css and a landscape.css file on orientation change, but that still didn't work. It even messed up...

Starting multiple projects when debugging in Visual Studio 2010

In Visual Studio 2010, I have a web application and a console application (actually a service using NServiceBus, but it runs locally as a console application) that I want to both startup when I hit Debug. Right now I have the Web Application set as the startup application and it opens in a browser, then I right click on my Service and...