web-development

Good Practices for Web Development Project Management

I realize that the phrase "good practices" is a bit dubious and overused, but I think it applies to my question. I have some good web development experience, but I would like to hear what are some good basic practices when doing freelance work vis-à-vis project management. For example, I have the target domain, mydomain.com. Should I d...

Is it reasonable to close child windows if main window is closed in a web application?

In a web application, sometimes you have popups in the application. Is it reasonable to when the user closes the main window, close all child popup windows if they are open? keep in mind the main window will not stay on the same page, the user may navigate to other pages within the same application (meaning even if you keep a reference...

PHP: Class file in the same directory not being recognized?

I have two php files in the same directory: test.tattler.php class.tattler_stats.php My test.tattler is supposed to create an object of my tattler_stats but it gives me this error: Fatal error: Class 'tattler_stats' not found in /.../test.tattler.php on line 4 Code in test.tattler: <?php include 'class.tattler_stats.php'; $tatt...

How can I access a server-side control in a codebehind in my MVC project?

First and foremost let me state that I know that accessing server side controls in my View is frowned upon in MVC. However, I need to in my situation (as far as I can see). Here is my story. :) I have a 3rd party control that I'm using in my web application. I've currently been given the task to port our WebForms solution to MVC. This p...

How do you centralize UI across multiple ASP.NET sites?

One of the projects I was in charge of as a JSP/Struts developer at my last employer was a themes tag library (present on every WebSphere server as a shared library) that let any Java web dev in the company pull in any of the standard themes like intranet, public, etc. with minimal effort. The themes included header, footer, navigation, ...

what technique is being used to generate fonts on this website?

http://webdesignfromscratch.com/ If you look closely, the browser will render the fonts at first, and then quickly the header text flickers and then it becomes an image. Does anyone know what technique is being used here? ...

How should web sites deal with localization settings? (from “What are common UI misconceptions and annoyances?”)

I’ve chosen to take this as a question in its own right since it was generating so much debate in the comments of the original post. It’s interesting to see that a lot of people on SO (who are developer's) just don't get localization. Here’s my take on how it should work: In all browsers that I've looked at (and for the .NET developers...

django development add-ons

I have come across various django development add ons, particularly, django-extensions django-annoying django-debug-toolbar django-tools I haven't exactly used all of these. I think it is hard to beat the simplicity and power obtained by the combination of django's pretty error pages combined with iPythonEmbed shell. Which of the...

Visual Studio: How to make Cassini listen on ::1?

Visual Studio's internal development web-server only listens for connections from the local computer. Unfortunatly, the web-server only binds to the IPv4 loopback address: 127.0.0.1 On machines with IPv6 enabled (i.e. Windows Vista, Window 7), it does not bind to the IPv6 loopback address: ::1 When you push play in Visual Studio, ...

What is a free, windows-based HTML/CSS page design app?

My little brother would like to start making websites, and I've suggested Frontpage or Dreamweaver. What are good free alternative programs for it? ...

Web crawlers and GET vs POST requests

I have heard that web crawlers are supposed to follow only GET requests and not POST ones. In the real world is this a valid assumption? ...

How to get the size of the font on a webpage?

In webspiders/crawlers how can i get the actual initial rendered size of the font a user sees in an HTML document, keeping CSS in mind. ...

How should sites (Google and/or you) treat Accept-Language header?

For a long time I've been not happy with the behavior of Google in the cases below, and after accidentally noting that 80+ other people feel the same way (and 20+ people upvote the idea of Google bug report) I thought it's useful to tap into SO's wisdom on HTTP protocols and the web culture. This behavior appears every time I go to a d...

Creating website

Hi, I want to create a website over banking. I just wanna know what's more do I have to know to create website. Is the knowledge of servlet, JSP, HTML, CSS is enough to make a website? Or do I have to know Javascript as well? Thanks in advance. ...

PHP Practices for first time web-programmer

I have this idea for a website that's been floating around my head for quite sometime now and now have finally decided to get to work on it. Due to the nature of the project and my experience I am getting comfortable with the idea of running it as a PHP+MySQL application on an Apache server. This is my first time doing web programming o...

What does your ideal web development (ASP.NET) environment consist of?

I start at a new client on Monday. They’re just beginning to do web development (ASP.NET) and I’m going to help them with setting up a proper development environment. I don’t think I’ll have a say on what type of machines the developers will be using, so this is more of a backend scenario. So far the main things I’ve come up with incl...

Which PHP CMS do you recommend for a website?

I am building a website and need to use a CMS. If I use an already made CMS, I need to be able to extend it easily. Is there a specific CMS that you recommend or should I make my own? ...

Is there a standard open icon library for web developers?

We are looking for an icon library that is open licensed. We want to use the icons as a prototype not the final version of the application, but they need to be open to use. EDIT 1: Even though many of the responses are good and useful, I will mark as correct answer the one with more votes. First because I like it, and second because ...

Validator not displaying after deployment

I have a asp.net website which having text boxes having required field validation. when i rebuild the application and runs it i could see the validations in the website. But after deploying the website(Publishing) in IIS, i could NOT see the validators in the website. Please help me! ...

What's the best approach in auditing a big java/j2ee web application

I have to audit a large web Java/J2ee application that has evolved over several years. It's been written by some other company, not the one I'm working for. In it's current state it has become hard to evolve and maintain, new functionalities are hard to add and often lead to bugs that sometime show up in production. There seem to be some...