web-development

Choice of operating system with Web Development in mind

I consider myself fairly versatile when it comes to O/S selection. I have used DOS/Windows PC's all my life, switched my main laptop to Mac two years ago, and have used numerous flavors of Unix/Linux/BSD while studying for my Comp.Sci. degree. However, as I'm trying to improve my development environment, I'm starting to wonder if I'd be...

Unable to serve pages on Mac OS X using default Apache Web Server

I have enabled the Web Server on my Mac OS X (10.5.6) by going to the System Preferences -> Internet & Network -> Sharing and clicking on the Web Server option. It gives me the IP address of my system as the Web Server, but even after clicking on it, it does not show the page, but gives an error: Failed to Connect Any help on this would...

Safari centers the text in my website when firefox, IE left-align it. Easy fix?

I've run into a weird quirk. The website I'm building for Escondido Arts Gallery has all of it's text in each element left-aligned in firefox and IE, but for some reason everything is center aligned in Safari. Is there one simple css or html fix I can do to fix this, or am I going to have to 'text-align: left' every element? ...

What is the best way to restrict access to a development website?

I have a site i am working on that i would like to display only to a few others for now. Is there anything wrong with setting up windows user names and using windows auth to prompt the user before getting into the development site? ...

How to handle db constraint violations in the user interface?

We implement the majority of our business rules in the database, using stored procs. I can never decide how best to pass data constraint violation errors from the database back to the user interface. The constraints I'm talking about are tied more to business rules than data integrity. For example, a db error such as "Cannot insert dup...

Advantage of the asp.net from other technology

Do you know what the advantage of asp.net from other technology? ...

Jan 2009 Microsoft update breaks mp3 sound objects in IE7

There are a couple of web sites I maintain that use HTML audio/mp3 objects within a page. They use to work but then something broke. The pages rely on Windows Media Player if the client browser is IE. A month or so ago, the object would appear as a WMP control. It should look like this But now what appears resembles a mail slot a ti...

portable non-relational database

I want to experiment/play around with non-relational databases, it'd be best if the solution was: portable, meaning it doesn't require an installation. ideally just copy-pasting the directory to someplace would make it work. I don't mind if it requires editing some configuration files or running a configuration tool for first time usag...

Efficient SQL Query/Schema for a Leader Board

Hello. I have written a stupid little game and want to have some kind of leader board website. Usually leaderboards are limited to 10 or 20 top players, but I thought it would be nice if I could record, for every player, their top score. Then, I could always display their world-wide rank. A simple schema such as: create table leaderbo...

Is it possible to load an entire web page before rendering it?

I've got a web page that automatically reloads every few seconds and displays a different random image. When it reloads, however, there is a blank page for a second, then the image slowly loads. I'd like to continue to show the original page until the next page is loaded into the browser's memory and then display it all at once so that i...

Title attribute - useful for making a web page accessible?

The sources I've read on making web pages accessible provide conflicting information on whether the 'title' attribute is actually useful. Some claim that it's best practice to give a web control a title attribute containing a more detailed explanation than the visible text on the control provides. Others claim that the default for most...

The Definitive Image Gallery Engine / Plugin Guide

I want to get a good list of image gallery engines of all flavours: Stand alone, plugins for Wordpress or Rails, AJAX, no AJAX, using simple folders or a database on the server. Please state what is needed (eg MySQL and Django) to run each item if possible. Thanks! [I asked a similar question a while back but had limited responses. Hop...

Using VS 2008 Web Deployment Projects with ASP.NET MVC

Has anyone got a Web Deployment Project to work with ASP.NET MVC? When I open the "deployed" project, a lot of the files are missing that MVC requires and makes it tough to Publish to the server with all the missing files in the project. Or... Is there a better way than a Web Deployment Project to modify the Web.Config for MVC apps? I ...

Is there a stable Programming Language for Web Programming?

A renowned PHP user once said: There will be a relaunch in 2 years, anyway. Those times are gone. Web applications that are older than 5 years are common. With the original developer(s) gone. The release cycles of the operation system, programming language, and framework are getting in the way of doing real work, if you don't have a bi...

uiwebview double tab event

hai any one help me that i have one obstacle, i have implemented swipe navigation in my web-based application. For that i have place a uivew over a uiwebview. By way of using this technique i have get the uiview touch event and make the impact action over its super view as uiwebview. In that i got an runtime exception while the user do t...

how to print the contents of a hidden iframe?

i want to print a page which i put in an iframe but dont want the contents to be displayed in the webpage , but the print button doesnt work when i put the iframe to display='none' what i did:- i set the iframe style='none' "name="frame1" > <input type="button" onclick="frames['frame1'].print()" value="print!"> how can i print the ...

What is the best way to limit voting on our website?

We have website with articles users can vote for. What is the recommended method of limiting votes? There are so many sites that have voting implemented that I know some possible solutions but I guess that is some basic bulletproof recommended method based on sessions, IPs, time limit, etc. What is the best way to send votes from brow...

Is it ok not to have a button for a search box?

I was wondering if it was ever ok not to have a submit button (Ok, Go or Search for example) near a search box in Web pages. I know that hitting enter is much faster and that it will perform the search. However, is it an accepted convention for the average non tech savvy user or only for the tech community? For example, the search box...

Turn unordered list to a table with jQuery

Hi, i like to get an <ul><li> and make it a nice table I will style with CSS. I like the transformation to be made with jQuery * Place|Name|Earning * 1|Paul|200$ * 2|Joe|400$ * 3|James|100$ * 4|Carl|1000$ on and on.... and make a table head with the first line of the <ul> and table cell with the others... There will be maybe 4-5 <...

Where should I implement functionality in Page object - constructor or OnPreInit?

Hello all, A question I have been thinking about for a while - would Stackoverflow users commonly implement significant functionality in a constructor (specifically in classes derived from the System.Web.UI.Page class) , or should we keep the logic here as simple as possible and instead implement functionality in OnPreInit (using the co...