web-development

Java Servlet Container on a small VPS

A while back I was using Virtual Private Server (VPS) that had very limited RAM. I used it to host Jetty. It was so slow that it became completely unusable. I believe the main problem was memory-related. I switched the project over to PHP and the problems disappeared. Needless to say, I'm very hesitant to try Java again in a VPS. E...

HTTP Error Codes - Is there a sites with pages/sites that give (produce) the various error codes?

Hi, For testing purposes it would be nice to have a site that has links that align with the various HTTP error codes (or at least the main ones), that is they will produce the associated error page. For example a link that will produce a 501 etc. (I am NOT looking for a list of HTTP error codes) Is there a sites with pages/sites that...

Does this Web App Server-Data Server configuration make sense on a cloud server?

I was planning to have my web application on one server instance, my sql (express) on another instance and a separate domain controller on another. The purpose to allow the asp.net application to access sql server under windows security. This is hosted on a cloud server. Am I getting any security benefit doing this considering its on t...

What in your opinion is the single best tool for any back-end web developer?

It doesn't matter if the back-end is done with PHP, Ruby, Python, ASP.NET, etc. In your opinion, what is the single best tool is for a back end-developer? Why? ...

What are the alternatives to paypal for non-supported countries?

Hello, Not sure whether to ask this question here but here is the question. What are the alternatives to paypal for countries whom paypal does not support? For example, I am from Pakistan and i am looking for easy way like paypal to transfer and receive amounts from the services buyers whom i render my freelance service. Thanks ...

How do you add drag-n-drop upload ability from Outlook to a Web form?

I am looking for a way to allow users to upload Outlook emails to a web-based system in a simple manner. I can get this to work in a manual fashion for the users. They can drag and drop the email from Outlook to their desktop, which creates a .msg file. This works very nicely, esp. if there are attachments in the email which are als...

Site Performance and Download

I am wanting to find an automated way to download an entire website page (not the entire site just a single page) and all elements on the page, then sum the size of these files. When I say files, I would like to know the total size of HTML, CSS, Images, local and remote JS files, and any CSS background images. Basically the entire page...

Problem sending mail with Pear in PHP

I have written an email contact form in php. I am using the Pear Mail package to send the email. It works nicely on my development computer, but not on the server. Here is the code: ////////////////////////////////////////////////// // EMAIL OPTIONS ////////////////////////////////////////////////// $to = "[email protected]"; ...

What is the difference between jQuery live() and liveQuery plugin?

The question says it all. Which one is better and when to use what, I never use jQuery live() as I am using liveQuery plugin for a couple of years, I am used to it and still continue using it. But I want to know the subtle differences between the two and when to use each of it? ...

How to design a static/dynamic survey application?

I'm struggling here a lot really. I need to prepare a form that is something between static and dynamic. Basically on the first part of the survey you get a question asking you to select items from the checklist. You select the items and then you are presented with a list of n number of questions. Now, some facts: the questions and p...

Is this a good web development platform?

I love the tagline and demo of this WYSIWYG Web Development and Layout platform. I started with Joomla and ended up with www.tedpenner.com which from the perspective of Advertising, seems like a big ugly mess. I have moved since paid for some help with wordpress to develop something much better at www.painofintegrity.com but I still ha...

Offline HTML templating

I'm designing a simple website with no dynamic content that I want to be light and portable — no PHP or other server-side scripting needed, or wanted. I'm running into a question that I've had a few times before. I'd love to be able to write common elements (head, foot, navigation) once and write the individual pages on the site with co...

Recognize Website User without Login?

I'd like to create a piece of code that can be embedded on many different websites (widget). Is there any way that my code can identify a user without them logging in? I.e, can I use any of the established identity mechanisms floating around the web to reliably identify them across instances of this widget? I don't need to (nor shoul...

What's a good web framework and/or tool for a software developer?

I'd like to make a website, it's not a huge project, but I'm a bit out of the web design loop. The last time I made a website was probably around 2002. I figure the web frameworks and tools have come a ways since then. It's mostly the design aspect that I'd like it to make easier. I can do the backend language in any language. My qu...

Can you make an embedded MP3 keep playing from where it left off?

Is it possible to make an mp3, that is embedded in a webpage, keep playing from where it left off if the page is reloaded? Perhaps into a cookie or with any other method. <embed src="track1.mp3"></embed> For example: track1.mp3 is embedded in a webpage; it is 3 minutes long. A visitor loads the webpage and listens to the first 1 minu...

What are the best Image transcoding libraries/Solutions available?

My project requires some image transcoding functionality, i.e converting images into various formats. My requirements are: Preferably scalable, for performance reasons. Compatible with Microsoft .NET Can be either paid software, or FOSS. Can anyone suggest some good libraries they have come across. Thanks! ...

What is the point in having 2 stylesheets one for layout one for style?

Hi, Im working on some web software that has 2 style sheets one for style (style.css) and one for layout (layout.css). Im wondering what the poing in this is (apart from the obvious) I mean some style options will effect the layout and vice versa. So would it be better to roll all css into on page to make it easier? Maintining multiple ...

How do you make something to appear slowly on a page using Javascript?

Is there easier way to make something to appear slowly on webpage? I tried to incrementally increase opacity of the CSS, but it (opacity) tag is different for each browser. Is there well know Javascript function that everyone uses? Or is there any css tag? [edit] Thanks for Jquery suggestion. Is there other option? My page is very small...

Create one multipurpose page or individual pages to display item catalog?

Stackoverflowers, I am debating between 2 scenarios for handling the display of a product catalog for a website redesign I am performing. I will be using the IIRF isapi filter to perform the rewriting for an asp.net website. Here is what the urls will look like www.domain.com/catalog/productgroup1 www.domain.com/catalog/productgroup2...

Problems clearing <textarea> after message is sent

I'm currently making a web-based chat system but I've run into a problem. I have set up a function in javascript to check if the user presses enter in the textarea and send the message if this has happened. The problem is every time that function is used the textarea is left with a single carriage return in it as if the value of the text...