web-development

Web Development

Hi, Lets take a website project with a number of team members and it has a number of features. During the development, Is it better for same guy to do one complete feature(DB,Application Logic,Frontend(Javascript,HTML,CSS etc)) or Is it better for the different guy to do the Application Logic and Frontend. In most of the cases, DB is ...

AutoIt web equavlient tool?

I wonder if there is an AutoIt equavlient tool for web development that has the same features, and be compatible with ASP.NET? If there, I hope if it's free. ...

Given an element, how do I use jQuery to find out what css classes it has applied to it?

I have a function that takes an element, and then shows all the other elements that have the same class. I know how to show the elements of a give class, but I dont know how to find out what the class of the given element is. Any ideas? I've looked at the docs quite a bit, but I'm not seeing anything. ...

how to make firefox cursor be based on line-height, rather than height of textbox

As shown in the picture above, if you have a textbox with padding, the initial cursor size at least on my Mac is the full specified height with padding. Of course, when you start typing, it goes back to normal text sizes (see that 'Password' watermark). Is there a way to make the initial cursor the right size, aside from simply resizi...

Suggestions on project planning?

This is not a programming question per se, but here it goes. I am a senior CS undergrad, and I started an internship this summer for a mid-sized software company. I've done a few freelancing jobs before, but it's the first time I've been officially (more or less) employed as a software developer. I've been asked to code an internal web...

Sources with information about Software architecture - planning

Iam looking for good free resources about planning of Software projects (web development/database) and writing good "simple" concepts for small/medium sized applications. If someone knows good blogs, sites post it please. ...

Clear background if content present in textarea (jQuery)

Please see this jsFiddle: http://jsfiddle.net/Wmq6f/ I have a textarea that has a background image, it is removed on 'focus' and restored on 'blur' but when the content is present in the textarea it should not show in either case, but I can't achieve that with this jQuery: $('textarea').focus(function() { var $this = $(this); $.d...

How to bypass url mapping in django & make url directly point to file

Hello, I'm new to web development using python. I've good amount of experience in building dynamic websites using PHP. Also, I've never used MVC on PHP. For the first time I'm using MVC (or MTV to be more correct). I'm following One thing different from PHP world is that. URLs doesn't point to files but to functions. This single point...

How to use partial in views with different alias MIME ?

Im using 2 different sets of views for 2 different user's roles. Im using register_alias : Mime::Type.register_alias "text/html", :basic in the controller: class SomeController < ApplicationController def index # … respond_to do |format| format.html # index.html.erb (advance) format.basic # index.basic.erb ...

Simple Architecture for just JSP, Servlet and Beans

Hi! I'm trying to develop a simple "homework submission system" with Java. I'm working on it as a practice for java web development but it is also goint to be used by my students. I read many stackoverflow threads and decided to use just JSP, Servlet and Beans and not to use any enterprise solution, framework etc. Because this is a learn...

How can 2 Hudson instances running on 2 separate Tomcat servers communicate with each other?

I'm trying to get 2 separate Hudson instances each on a different Tomcat server to communicate. Essentially, I want one Hudson to be able to send a job to the other instance which would then build the project and hopefully send back its output to the original Hudson caller. Is this possible ? I have done some research on the Master/Slave...

If you can embedd php into a .html file, why would you use .php?

Is there a reason why certain pages are made as .php when you can put php into a .html file? Is it simply for the sake of organizing your files? Or does it affect how the page loads? (I'm talking about the file extension) ...

How can I send a download of a file from a modal window?

Currently, this code works fine in a regular browser window: if (readerObj.Read()) { filename = readerObj["TRANATTACHMENTNAME"].ToString(); fileBytes = (byte[])readerObj["TRANATTACHMENT"]; Response.Clear(); Response.ContentType="application/octet-stream"; Response.AddHeader("Content-Dispo...

How should I organize a list of items by their category in Django?

I have a "Category" model, and a "Project" model, which contains a ForeignKey to "Category." So each Project can only belong to one Category. I want to create a list that ends up looking like the following: Category 1 Project 1 Project 2 Category 2 Project 3 Project 4 etc. I think the following psuedocode will work: <ul class="cate...

Internet Explorer 8 in Windows XP

I have witnessed how Internet Explorer 8 (IE8) is in Windows XP and how it is in Windows Vista/7. Quite strangely, IE8 seems to be acting like IE7 for certain aspects of CSS and JavaScript (maybe for other elements too). Am I the one who is seeing things? Otherwise, if this is true why is this happening and what are the major differences...

Difference between '%p' and 'my %p' ?

% %p = ('option1' => 'Option 1', % 'option2' => 'Option 2', % 'option3' => 'Option 3' % ); <select name="killer_feature" id="killer_feature" class="select"> % foreach (keys %p) { % my $selected = param('killer_feature') && param('killer_feature') eq $_ ? 'selected="selected"' : ''; % if (!param('killer_feature') && $_ eq 'option2')...

JSF - Highlight changed data in table (within transaction) Reusable framework

While implementing a data entry utility, I was given the need to highlight fields in a table whose values were changed by that transaction. (Not all fields in the table are required to change) A reusable framework for this could replicate the same functionality for similar utilities/transactions without the replicated cost of a "one of...

Monitoring http request header on a page

Can i monitoring http request on a page by using javascript or othe kind of script? Please check this and you wii understand what i mean http://www.mediafire.com/?wqdmlnhgz24 is it possible? ...

Building a service for my website that has some foursquare features.

Hi everyone, I am interested in extending my website to provide a service which involves users "check in" in my university's campus. Since Location Based Services (LBS) is pretty new, and there are not much literature around that could provide relevant interests to this matter, I have the following questions to ask: First, I know that I...

How to detect which content is not secured on mixed content SSL page.?

I've added a SSL certificate to an existing site, and now in IE I get a mixed content warning. Problem is, I don't know what's the non-secure content IE is warning me about. It's a simple html page, with a few Flash, a few images, a loaded CSS and JS. How can I find out what's the non-secured content..? Edit: I found the culprit: it's...