web

How do you handle cross-browser compatibility testing?

Working for a small web design/development firm, we're sometimes tasked, by clients, who are unwilling to budge on their browser compatability list. Any given project could need to be tested against some combination of IE 6, 7 & 8, Firefox 2 & 3, Opera, Safari & Chrome running on OS X, Windows XP, Vista or Linux. Since the bulk of deve...

uml class diagram web service

Hi How do i draw in UML a class that is using a web service? Thnx :) ...

Capturing the image of a web page using Firefox and Safari

I have a utility that I put together that uses the .NET Framework to capture an image of a web page so that I can use the thumbnail image to preview a page. There are sites which offer this service like websnapr.com, kwiboo.com and shrinktheweb.com. I would like to instead do it myself and leverage Firefox (Gecko) and Safari (WebKit) to ...

Writing web based/desktop application

I want to create a simple program similar to http://www.basecamphq.com/ that allows you to track progression and completion on projects that will work across a computer network or by the web (really which ever is the easiest to accomplish) The program would be relatively simple but need to have a database that could be edited using a si...

Turning numbers into colored bars automatically in HTML/Javascript

Hello, I want to auto-generate a HTML table from some custom data. One of the columns in my data is a number in the range 0-100, and I'd like to show it in a more graphical way, most desirably a colored horizontal bar. The length of the bar would represent the value, and the color would also change (i.e. below 20 it's red, etc.) Someth...

iPhone accelerometer in web applications

I want my website to change its layout according to the device positon. The site has 2 layout types: vertical(height > width) ang horizontal(width > height). do you see any solution? upd: I don't see any complexity in changing the site layout. I want to know is there any event to handle. p.s. will iphone's browser change its orientatio...

Web page load time tracking sites

I want to track and analyze web page load times on my user's systems. I ran across this article http://www.panalysis.com/tracking-webpage-load-times.php that uses Google analytics to track pages, but it's too coarse for my needs. Are there any sites out there that specifically let you track page load times using a JavaScript snippet yo...

Web-based license activation

I have an existing app that has a free trail, and the same code/download can also be "upgraded" to a full-featured application by giving it a "license key". This is done with some magic and the semi-hacky method of getting some name for a machine. So, basically I am selling licenses per computer. The current payment and activation p...

Modifying Database IDs from Rails Console?

I have a small database and have been adding entries through a Rails page. I "destroyed" one of the entries and now my sequence of IDs are skipping by one. For example, I now have 42 then 44, instead of the obvious: 42, 43, 44. I was wondering if there was a way to edit the ID number of a new object through the console. I have tried: r...

How to see SOAP data my client application sends?

I have a project where I have created web service proxy classes with wsdl.exe and then simply create an instance of that class (inherits System.Web.Services.Protocols.SoapHttpClientProtocol) and call the method that should send a SOAP message. I'm using Visual Studio 2008 if that matters. And I'm trying this in my development machine wit...

Server-side Push in Rails

I'd like to implement a scalable chatroom in rails using AJAX. I know from research that the only scalability happens with a server-side push. My two questions are: 1) In a reasonably efficient chat server, at what point does polling become prohibitive? 2) I really don't want to use Juggernaut. I don't know much about how comet works...

what language to program a site with?

I am planning to program a deviantartish site. It wont be like deviantart but the things it would need to do would be alike (watch people, send notes, upload, tag, access (my)sql etc). I am sure i will use a lot of ajax, but what should i program this site in? php or python (or ruby?). My server is debian linux so i dont think C# is ava...

Single web server and ETags

Hi, Does anyone know if it is worth disabling ETags on an web application that is hosted on a single web server? Currently we don't make use of ETags in our application. If it is worth disabling them - why? Many thanks. ...

Need help with building a web server

Greetings! I'd like to build an apache web server, running on debian lenny. It will primarily be used for hosting a web-shop, so it should have some light db i/o and lots of image serving (item previews/thumbs/etc...). It's tough to put a finger on the exact number of concurrent requests that I'll get hit with, but I'd say that a non-...

Web pages to print media -- solutions?

I've been a big fan of MediaWiki and similar wiki-based text editors. I like the ability to quickly add text, collaborate, and share. However, there's always still the need for nicely formatted print output. Things like headers and footers (that say what I want them to say), page breaks, margins, etc. Most solutions I've seen involve so...

Choosing a simple web application framework

I'm evaluating web application frameworks for a hobby project I'm starting, and am beginning to go crazy trying to decide among the vast number of frameworks available to choose. The framework language isn't helping me filter out frameworks as I have varying levels of experience with Java, Python, Ruby and C#, and don't mind frameworks i...

jQuery: child firing an event for its parent element

Hi, I have several nested div elements like this: <div class="main"> blah blah blah <div class="clickme">clickme</div> </div> <div class="main"> bleh bleh bleh <div class="clickme">clickme</div> </div> <div class="main"> blih blih blih <div class="clickme">clickme</div> </div> I want to fire a toggle event that will show/hide the di...

What is the difference between DoS and Brute Force attacks?

Hello guys, I was reading about DoS attacks on Apache servers but the "Brute Force" word pops up sometimes I know DoS attacks but "Brute Force" seems to be similar, is there a difference or it is just another word of DoS ?? ...

Creating a simple 'spider'

I have researched on spidering and think that it is a little too complex for quite a simple app I am trying to make. Some data on a web page is not available to view in the source as it is just being displayed by the browser. If I wanted to get a value from a specific web page that I was to display in a WebBrowser control, is there any...

Self contained web-based (ASP.NET) gallery viewer

I need to add a gallery to my website, to show screen shots of websites and applications. I run IIS. I'm looking for something that is fairly self-contained and ready to integrate without a lot of work. I'd like to through a bunch of images in a directory and let it go. I would love some nice effects for browsing the gallery. What w...