web-development

Format data, before or after inserting into database?

I can never decide if it's better to format data before inserting it into the DB, or when pulling it out. I'm not talking about data sanitization; we all know to protect against SQL injection. I'm talking about if the user gives you a URL, and it doesn't have http:// in front of it, should you add that before inserting it into the DB or...

Are the Amazon 'cloud' services viable as web hosting options?

I am a keen follower in news related to Amazon S3. It seems to be reliable, scalable and a cheap service. However, web hosts do not seem to be overly scared. I have not noticed any major drops in prices since Amazon and Google released their 'Cloud' based platforms. Is there a reason for this? Or are web developers simply not aware of ...

SWFUpload Examples/Information and Java

I built a couple working examples that upload an image to the server and display it on the page without refreshing. One approach was the iframe method, and the other was DWR (version 3). I wonder if anyone has an example using SWFUpload. I am not quite sure how it hooks into the server side code. Thanks! ...

What happens if the action field in a <form> has parameters?

Is there a well-supported, common behavior that I can expect if I do something like this in HTML: <form method="get" action="/somePage.html?param1=foo&param2=foo"> <input name="param2"></input> <input name="param3"></input> </form> Seems like this sort of thing is inherently ridiculous, but I've seen it used here and there and I w...

Implenting a New Message Notification Feature in a Server Farm Scenario

I'm working on a forum based website, the site also supports onsite messaging (ie. the users can send private messages to other users), what I'm trying to do is notify a member if they have new messages, for example by displaying the inbox link in bold and also the number of messgages, e.g. Inbox(3) I'm a little confused how this can be...

how to integrate dotnet in embedded?

how to integrate dotnet in embedded? ...

Why the jsf view is not updated after new data in the backing bean are loaded from database?

hello, I am - unfortunally - working with jsf and I am experiencing a problem. I have a jsf page that displays a table with some data, using the <h:dataTable> component. Every row of this table has an <h:commandLink> with a Remove action to remove the item in that row. When I perform that action, the method in the backing bean is correct...

Google Map API vs MS virtual Earth API

I thought of using map in my blog. So which api will suit for me?? I am expecting that map should have more features. I dont know how to use it.. Sorry if my question is silly. I need docs of both. Please let me know?? ...

Coolest installer for a webapp

I am working on a project and am woundering how I could build an installer for it. Since I wanted it to be very easy to use I need to take a look at other cool installers. What are the coolest you have seen? I took a look at Woltlab burning boards installer. The installer should later run on windows, linux and mac so bascially I was ...

IE7 display oddity (example attached)

I'm working on a Javascript-based replacement for a Flash applet. The site is having rendering problems only in IE, where it exhibits a behavior that has me at wit's end. http://janetalasher.com/new/content/portfolio/artcloth/ (This is the page) What does IE do that's so strange (in this case only)? If you look in Firefox, you'll see a...

How do you QA websites?

I am wondering if there is a detailed list of tools/practices that can be used to QA websites. The tools that seem to get most mention are link checkers, validators and Selenium IDE. In my capacity, only the link checker and validator seem to work well. I'm not a QA specialist, so I don't know what it is that they do and want to be more ...

Audit and log, all or selective, user input on ASP.NET web application. How would you?

I'm building UI logging into a long-existing ASP.NET enterprise application. I have my own ideas of how to progress from here and am continuing to research & design. But I'd love to hear some details from the SO community. Here are the details, assumptions and questions as of right now, subject to evolve within the enterprise as well as...

Web Application Accessing Local Filesystem

Hello all, I have a web application (.NET, if it matters) where when one of the pages is loaded, a file on the users local machine needs to be copied (uploaded) to the webserver. This upload needs to be without user intervention. This web application will be running on a kiosk where I would be setting up the original permissions and t...

Ping FeedBurner in Django App

I have a django site, and some of the feeds are published through FeedBurner. I would like to ping FeedBurner whenever I save an instance of a particular model. FeedBurner's website says to use the XML-RPC ping mechanism, but I can't find a lot of documentation on how to implement it. What's the easiest way to do the XML-RPC ping in dja...

How to get started with web development

I have an interest in web development, but currently I'm working in vc++ & c++ embedded. I would like to quickly learn & start some type of web project. I would like to do the following: Set up a web page that can be viewed over the Internet. Get my data stored in some type of database on my local pc. Can you suggest the language or...

Having latest copy of SVN'ed files in document root

A while back I asked link text and I got some great answers. What I would like to know is if there is a way to keep the files under my web applications document root, and when I make a change, commit them back to the repository. From what I understand, in order to work on files, they can't be in the web root. Having to move them out to ...

Best practice for keeping named constants in code and database reference tables in sync?

It's generally best practice to use named constants in place of magic numbers, but it sure is tedious and error prone keeping a database reference table and a file of named constants in sync. Is there some easy way to keep these two sources for this info in sync, or am I overlooking an obvious design enhancement? In case my question isn...

Sharing .NET application pools

On an server running multiple ASP.NET sites, is it better to use one application pool per site or for sites to share a single application pool? What are the advantages or disadvantages inherent to each setup? Or is there a hard and fast rule here? ...

What are some good examples of "novel user experience" engineering you like/have used for web and Windows apps?

What I'm looking for in this question are interface bits, eye candy, easter eggs, novel error messages or anything cool and interesting that you thought was particularly creative and that enhanced the user experience of an application. Feel free to brag on your own stuff! I'm thinking if things like: Creative 404 pages The Digg 'Kevi...

JavaFX Bind/Loop question.

Ok, I'm taking the JavaFX with Passion course and have an issue that I can't seem to figure out. It's similar to this question - http://stackoverflow.com/questions/657486/why-doesnt-this-binding-code-work-as-expected-in-javafx def numbers = [1..10]; var currentNumber = 0; for (currentNumber in numbers){ var evenOrOdd = bind if (n...