web-development

Installing Pinax on Windows

Can I install Pinax on Windows Environment? Is there a easy way? Which environment do you recommend? ...

Drupal Templating/Theming Resources or Advice?

I'm interested in creating a custom theme for a Drupal site I'm working on. I am new to Drupal, however I have a decent bit of experience in working with the underlying concepts that it seems are needed to build a theme (CSS, PHP, HTML). So, my question is - where do I start? Is there a canonical guide to creating Drupal themes? Resourc...

Random Querystring to avoid IE caching

It is a well known problem that IE caches too much of html, even when giving a Cache-Control: no-cache or Last-Modified header to everypage. This behaiviour is really troubling when working with querystrings to get dynamic information, as IE considers it to be the same page (i.e.: http://example.com/?id=10) and serves the cached versio...

Amazon S3 for Social Networks?

http://www.s3fm.com/ is really useful for uploading/viewing files for personal viewing. I was wondering if there was something good for social networks (using Amazon s3 or something similar), where it will only show the subset of files uploaded by a specific user (for example, limit access to the user's specific bucket). Can s3fm be a...

Does software quality really matter for Application Developer - *Practically*?

Does software quality really matter for a Application Developer in practice? I know this question seems like the most dumb question. But please see below why I am asking this question. I am fond of such engineering principles, patterns and had been implementing and enjoying so far. But now I am realizing that such principles re...

How can I estimate browser's Javascript capabilities?

I serve a web page which makes the client do quite a lot of Javascript work as soon as it hits. The amount of work is proportional to the amount of content, which varies a lot. In cases where there is a huge amount of content, the work can take so long that clients will issue their users with one of those "unresponsive script - do you ...

How to accurately parse smtp message status code (DSN)?

RFC1893 claims that status codes will come in the format below you can read more here. But our bounce management system is having a hard time parsing error status code from bounce messages. We are able to get the raw message, but depending on the email server the code will come in different places. Is there any rule on how to parse th...

Migrating from POST forms to CSS

I've been tasked to migrate a web application to a more 'modern feeling' AJAX web 2.0 deal. The application as is currently uses PHP to pull data from the database, present the user with forms, and then update the database based on those form submissions. Frames are used to have a persistent main navigation menu, and a content area where...

What is your favorite linux environment for Web Development especially in Java?

Which Linux distribution are you using? Which Linux tools are you using? (I know Eclipse is one of them.) ...

Strategy for Crowd Sourcing and Iterative Development

Hi all, I've recently gotten involved with a web-based crowd sourcing project. I have two main issues, both with several subquestions. Any insight into any of these questions would be greatly appreciated. 1) Do you guys recommend going through a closed beta testing period? Or encourage as many people as you can to use the site? ...

Can I force a refresh of my stylesheet file?

I have just spent half a day quietly going mad. I'm making changes to my classes in the Site.css file and they were not being reflected in the site being developed on my machine. Because I'm learning my way through jQuery and playing with addClass and removeClass and I'm creating the parameters for those calls dynamically, I was sure...

Fonts appearing abnormally large in IE7

I have the following specified on body: body { font: 63.5% Helvetica, Arial, sans-serif; In Virtual Machines, I am unable to setup an IE7 installation to reproduce this problem, but on others' machines, some with IE7 render the font on the page abnormally large. The actual CSS and html are hundreds of lines long across multiple file...

Automatically include a JSP in every JSP

Hi all, I would like to simplify my JSP's even further by transparently including them. For instance, this is the line I would like to remove: <%@ include file="/jsp/common/include.jsp"%> The include.jsp file basically declares all the tag libraries I am using. I am running this on WebSphere 6.0.2 I believe and have already tried t...

For our next hire, should we hire a Java or HTML/Javascript/CSS Skill set?

Our Company is looking for new web developer. Our main tool is built in Java, and there is a relatively big list of things that we need to fix in the java layer, and then there are all the clients that we deploy every month and we do for them a lot of front end tasks in HTML/CSS/JavaScript. I am inclined in hiring someone with Java as...

How do I trigger the browser context menu on an element. (As if the user right-clicked)

I have the need to trigger the opening of the browser (IE, Firefox, Safari, etc) context-menu via javascript. The problem I am trying to solve, is when an overlaid element is right-clicked, the element below it shows its context menu. So if the top element is a label, when you right click, I need to show the context menu for the input el...

What is the correct/safest way to escape input in a forum?

I am creating a forum software using php and mysql backend, and want to know what is the most secure way to escape user input for forum posts. I know about htmlentities() and strip_tags() and htmlspecialchars() and mysql_real_escape_string(), and even javascript's escape() but I don't know which to use and where. What would be the safe...

Why is gzip compression with Internet Explorer not working?

My site is gzipped compressed, and it doesn't load properly in IE. It works fine in FF/Chrome, but in IE, the only thing that pops up is a box asking to download the .gz file which contains the html document for the page. Is this normal? Do I have to turn off gzip? ...

help for beginner at web dev/design

I was wondering, how does a web designer/developer start out in his buisness with nothing to show (in the sense of a portfolio,) and only his word to show he does good work? How are those people supposed to get buisness? ...

What programming challenge you can administer to a HTML/JavaScript/CSS candidate?

We are in the process of hiring a HTML/JavaScript/CSS web developer, and we are looking for an objective programming homework that they are able to complete 24 hours before the actual interview. There are few questions in SO about programming homework but nothing related specifically to HTML/JS/CSS. Ideas? Reference 1 Reference 2 ...

When to use a gridview and when to use a repeater on table rows to show tabular data?

When we get tabular data from the database and want to show on the UI, such as search result for products, products list or list of registered users for site administrators. The famous control to do that is the grid view, while i prefer to use a simple repeater and this repeater loop on a table row, that's when i will need to bind this ...