web-applications

Hiding DAOs behind service, why?

Upon reviewing a bunch of MVC style web applications, I'm noticing that it's common to have a very large service interface sitting in front of the business layer. The implementation of this interface usually includes a bunch of DAOs. So you have something like: public class FoodServiceImpl implements FoodService { private FruitDAO ...

Dynamic stageWidth and Height in Flash AS3

This seems like it would be a really easy thing to do, but its been giving me all kinds of headaches. I have a movieclip that is a gallery, It's linked to be called from AS when a button is clicked. When an image in the gallery is clicked, It fades in using the Tween class and is supposed to be centered in the main stage, but its cente...

Most Wanted Features for Websites

I'm trying to identify what would be the best selling point for a set of articles I'm writing. Should I cover RSS feeds or Facebook/Twitter/YouTube integration into a web site? Or something else? I'm already covering Image galleries, blogs, forums, polls, (and even shopping carts). I apologize if this is too subjective. I just want to kn...

Preferred database/webapp concurrency design when multiple users can edit the same data

I have a ASP.NET C# business webapp that is used internally. One issue we are running into as we've grown is that the original design did not account for concurrency checking - so now multiple users are accessing the same data and overwriting other users changes. So my question is - for webapps do people usually use a pessimistic or op...

Ruby on Rails Question - Answer Website

Does anyone know of a good tutorial or application for asking and answering questions for Ruby on Rails, much like this site (although it probably will be for a very different purpose in the end)? ...

How to imitate the native iPhone look and feel in a web app developed with the ASP.NET platform?

Hi, I'm planning to develop a web application that targets the iPhone. I will use APT.NET to develop the application. I will probably use ASP.NET MVC. I'm researching how I will imitate the native iPhone look and feel in my web application. I'm looking for an approach that will be easy to use with the ASP.NET platform. So far, I fou...

MVC View Details and Edit

I have a view which displays data from the database like a blog post and at the bottom I would like the ability for a user to comment, how would one achieve this? ...

Date based licensing logic for Java web app?

I am trying to come up with a logic for a date based licensing mechanism for a Java web app. The app needs to be deployed in client sites which may not have access to the Internet (deployed on the intranet). In this case how do I build a licensing mechanism based on Start / End Dates. If I use the server system Date / Time for this, I ri...

How to render contents of a tag in unicode in BeautifulSoup?

This is a soup from a WordPress post detail page: content = soup.body.find('div', id=re.compile('post')) title = content.h2.extract() item['title'] = unicode(title.string) item['content'] = u''.join(map(unicode, content.contents)) I want to omit the enclosing div tag when assigning item['content']. Is there any way to render all the c...

What do you recommend for deploying web apps?

For deploying applications (Ruby apps, in my case) I've used Capistrano and currently use Vlad the Deployer. What do you use for deployment, and why? ...

Web application background processes, newbie design question

I'm building my first web application after many years of desktop application development (I'm using Django/Python but maybe this is a completely generic question, I'm not sure). So please beware - this may be an ultra-newbie question... One of my user processes involves heavy processing in the server (i.e. user inputs something, serv...

How to package a webapp as a deployable war?

I'm new to Maven but I'm hooked on what it offers. How do I take a webapp and have Maven package the webapp as a deployable WAR? Additionally, can I set up Maven to automatically version the builds? ...

Database schema for large web apps

Many of the SaaS web app services have a company based concept. So, each company using the service has its own set of users, files, and other data. How do the web apps usually handle this on the DB side? Do they create a new database for every company (containing the data tables related to that company) ? Or do they have some kind of com...

What is recommended for monitoring traffic to my asp.net application

I have a asp.net 3.5 application hosted on IIS 7.0. I'm looking for a comprehensive system to monitor traffic, down to page level minimum. Does .net have any specific tools or is it better to write my own, or what systems/software is freely available to use Thanks ...

Configuring Tomcat 5.5 to UTF-8 encode all sendRedirect() redirections?

A requirement of the product that we are building is that its URL endpoints are semantically meaningful to users in their native language. This means that we need UTF-8 encoded URLs to support every alphabet under the sun. We would also not like to have to provide installation configuration documentation for every application server and...

iphone offline cached apps dissapear after closed in safari?

hey all, We're developing an html5 offline webapp for the ipod touch/iphone. We have the manifests and everything working correctly, but we can't figure out why our app will not reopen after the 'tab' in iphone safari is closed. For example's sake, here's what works: 1) open the url to the offline-enabled html file in safari on the i...

Best web based video player HD - h264 ?

Hi, I'm looking for a web player with the following features : - Play h264 in HD - Feeware - Good buffering control Actually, I'm using JwPlayer but it doesn't support buffering ! ...

Problem with IIS7 and integrated pipeline

Hi, I have a problem with IIS7 and integrated pipeline. Previously I had win xp with IIS 5 and everything worked correctly. I have migrated my application to IIS 7 in Vista I have decided to put the pipeline mode of my application pool to integrated mode (which in theory is better). All things are working properly except one… The prob...

Use Zend Framework to create a flexible base application

Hi, We are developing an e-commerce platform utilizing the Zend Framework. We have several instances of the application up and running, using the same code base. Config settings are used in order to differentiate the various shops. The challenge we are facing, is that we want to keep the general platform as it is now, and extend it rat...

MVC Web Application Database Driven Menu by User Permissions

We are going to port a legacy windows app to a large web application for a vertical market. Looking at MVC. Each implementation may have 50 to 5000 users. Looking at putting navigation in Master Page. The application will contain 200 to 300 menu items, resulting in over 500 views. We want to display a trimmed navigation menu for each use...