web-development

Including an embedded web server - possible issues with deployment.

While analyzing some approaches to making our web app easier to deploy on our customers' sites, one of the suggestions was to include an embeddable web server to save the customer from needing to configure/install Apache/IIS. What are some drawbacks to this approach? Specifically, what are the possible issues that we could come across ...

Which Rails plugins should I be using?

Hi Stack Overflow, I learnt rails a couple of years ago out of interest, but now I'm coming back to it because I want to try and build a simple pay-to-advertise niche job site with a few bells and whistles. Many of the rails books I learnt from gave examples of how to build a shopping cart or user authentication system, but looking arou...

How do you build and deploy a scalable web services infrastructure?

I have a client asking this for a requirement and haven't done this before, what does he mean by web service infrastructure? ...

Should I use ondeactivate or onblur when leaving a input textbox?

I have some HTML inputs and I need to run some javascript when the user exits them however I have always used onblur but a colleague has suggested ondeactivate. I can't find much info about ondeactivate and thought it was an old method for old browsers. Will onblur run on older browsers? ...

Lightbox to implement album in a web application.

We are trying to implement a lightbox based album viewer in our web application. However, we are struggling to get it working for IE. Can you please suggest the remedy? It would be great if you can suggest some other alternatives for implementing the picture slide show for album too. ...

How to debug a PHP application?

Which is the best way to debug an PHP application as we can debug ASP.NET application with Visual Studio ? ...

Is there a good tool to debug Perl-based web applications?

Is there a good tool to debug Perl-based web applications? Output to stderr or stdout don't count as tool. ...

Program visualization

I'm starting with a web project and I would like to write its functionality and features on a "piece of paper" like professionals do. I have to prepare the documentation for the project with all information about the purpose and project overview, database structure, MVC and REST functionality (model, view, controller), website and wi...

Extra "_" parameter in POST request using Chrome.

When I use Google Chrome to make an AJAX POST request I get extra empty parameter "_" on server-side. Here's some background information: Web-server: Python Paste Back-end: Python 2.6/Pylons Browser: Google Chrome 3.0.195.1 JavaScript Library: Prototype 1.6.1 RC3 For example simple: >>print sorted(request.POST.keys()) ['_','my_para...

Does Firefox and Safari behave similarly regardless of OS?

By that I mean if Firefox renders exactly in the same way on win/mac/linux and Safari on... If not, what have you experienced? ...

Can a Java applet retain a socket connection when going to a new web page?

I have an applet that I want to maintain a socket connection between multiple web pages. Currently, when a transition is made to a different page, the socket connection is closed. Is there anyway of maintaining that connection between web pages? Or, do you have to reconnect the socket after each web page transition? ...

Lotus Domino web view - should only show current user's docments - but shows more?

I'm working on a Lotus Domino Web application and I have a view that should only show the current user's documents. I know this is not the best for the server because it has to keep calculating this, but it is a requirement... This is the view selection formula that I'm using: SELECT (Form="Atom Request" | Form="AtomRequest") & @Nam...

QtWebKit, QWebElement::setPlainText() problem

From Qt online help: void QWebElement::setPlainText ( const QString & text ) Replaces the existing content of this element with text. This is equivalent to setting the HTML innerText property. My code: QWebElement login = doc.findFirst("input[name=\"login\"]"); login.setPlainText("alibaba"); qDebug() << login.toPlainText...

When not to use pop ups?

I remember reading an article about when to use and when not to use pop ups (javascript alerts, pop up windows, etc.) in web development, but I can't find it anywhere. I thought the general rule was something along the lines of "if it's annoying to the user, don't use it." What's the common consensus on this? ...

How is mime type of an uploaded file determined by browser?

I have a web app where the user needs to upload a .zip file. On the server-side, I am checking the mime type of the uploaded file, to make sure it is application/x-zip-compressed or application/zip. This worked fine for me on Firefox and IE. However, when a coworker tested it, it failed for him on Firefox (sent mime type was something...

Beginner with a good idea - can I develop it on my own?

I have a good (maybe excellent) idea for the web - but only medium ASP.NET skills and beginner ASP.NET AJAX skills. Is it possible to make a great application with only mediocre programming skills? ...

Violating the Rules of Web Development

Check out this page from the New York Times: http://homedelivery.nytimes.com/HDS/learnMorePopUp.do ?mode=common.learnMorePopUp &productId=NDS &prodRate=7.40 I was surprised to see that when I manually modified the prodRate parameter, the page updated: The introductory subscription rate. The regular subscription rate. Try ...

Why is my entire site a tiny bit smaller in Firefox?

In typical web design fashion, there's always something that doesn't look quite right between two browsers. This one just completely lost me though. I open the site in Safari. Everything is dandy. I open it in Firefox. The entire page is displayed, just fine, but about 10-20% smaller. Images, fonts, divs. Everything. Does this make an...

textboxes reads empty string ("") when i press submit button!

I have a form , with 5 textboxes, 1 radiobutton group (4 radiobuttons) , and a submit button, i added some "code behind" to handle cases where a user doesnt fill in all the fields, something like if (question.Value == "") // question = a textbox with runat=server property { // handle error } the problem is that, the 1st time i f...

How do I keep a div in the center of the page?

I'm using jQuery to create a "dialog" that should pop up on top of the page and in the center of the page (vertically and horizontally). How should I go about making it stay in the center of the page (even when the user resizes or scrolls?) ...