web-development

How can you view the filename of a webpage if it has been hidden

I'm trying to find out the name of the default page of a domain for a site i'm working on. It has been set so that the name of the default page isn't shown, so it just shows the domain name in the address bar and ends after .com/ Is there any way to view what the name of this file is? ...

Where to find great resources on ASP.net Architecture, Web Site Architecture?

I've recently become heavily involved in a few projects that are going to work as company-wide intranet systems. They will basically be intranet websites, replacing older legacy systems that are desktop-based. I'd like to research the best ways to set-up these web site, or web application projects. Most notably, I'm looking for: Diff...

Open online file with desktop applications?

I want to let the user click on a file (let's say a .doc link) in the browser and it will open the native desktop application (microsoft word in this case). And when the user saves the document it will be saved in the web. Is there a way doing this with Javascript/HTML 5 or does the user have to download the file to be able to open it ...

JS Regex, how to replace the captured groups only ?

Ok the question is quite simple. I'm looking for a string like this one : name="some_text_0_some_text" I have HTML code before and after the string above. Now i would like to replace the 0 by something like : !NEW_ID! So i made a simple regex : .*name="\w+(\d+)\w+".* But i don't see how to replace exclusively the captured block....

General Modular design for a web application

From everyone who've designed a modular enterprise application, I am interested in knowing how do you perceive modularization and what exactly are you parameters? Is layer-based modularization (like controller/web module, service module, domain module) a better approach? Or feature-based modularization better? And Why? In case of fe...

Login to multiple sites from one site using javascript?

Is it possible to let an user login to multiple websites from my website using javascript? ...

Recommendations for an experienced programmer new to JavaScript?

I come from a C/Unix background, with a lot of experience in shell scripting, and some on Perl, elisp, etc. too. But now I'm getting into some work where I'll need to be developing interactive web-based interfaces, and I need to learn JavaScript. My problem is that all the resources I've found online for learning JavaScript seem to be ta...

Uncompressing content in browser on client side

Hi I am interested to know about the possibilities of reducing http requests on servers by sending different kind of contents in a single compressed files and later uncompress on client's browser and place the stuff(images,css,js) where it should be. I read somewhere that firefox is working on plan to give such features in future relea...

Style an ordered list so the number appears left-aligned and above the item?

Hi, I thought this would be an easy thing, but I haven't found a good solution (maybe I'm also using the wrong search terms). I would like to style an ordered list so the items appear so: 1 Item one 2 Item two 3 Item three Is there any way to do this simply with CSS? Many thanks in advance! ...

how to set the default value for grouped choices in django

If I have some grouped choices for a models.IntegerField, how can I set the default value to a combination of those choices ex: class ForumThread(): STATE_CHOICES = ( ('Sticky', ( (True, 'True'), (False, 'False') ) ), ('Blocked', ( (False, 'False') (True, 'Tru...

Help me deal with the logic behind picture gallery

Hey there, Using PHP i want to create a picture gallery, i need a few suggestion on what would be the best logical solution for this. a) create a directory for an album and move all the related pictures into the directory and henceforth follow the same way for other albums b) keep a record or the path using the database(MySQL) and use...

Making php development more robust

Hi all, I've spent some time now developing a web application in php. It has mostly been just for the fun of learning as a side project, but the app now has a few users which I don't want to upset by breaking things as I develop. At the moment, I have a very rudimentary method for managing the development - I use a text editor (ultra...

HTML5 local storage sort

I am using local storage to store user entries and am displaying the entries on another page. I need a way to sort them based on the most recent date and time of edit. Is there a way to do this with HTML5. If not, what's the easiest/most effective way to do so? Thanks for the inputs. ...

Which Eclipse IDE version to choose?

How do I find which Eclipse version I have on my Ubuntu system? This is what "About Eclipse SDK" says. Eclipse SDK Version: 3.5.2 Build id: M20100211-1343 I am not sure if its the Eclipse IDE for Java Developers or the Eclipse Classic version. What I would like to do is use Eclipse for Java based Web Application Dev...

How to force an DIV to extend down to the bottom of the screen?

This is probably not possible with CSS, but maybe I'm wrong: I have a document structure like this: BODY DIV[A] DIV[B] DIV[A] is position:absolute with fixed with and centered on screen. It has no height setting. DIV[B] is position:absolute with top:300px. This is the actual content DIV. Inside that, I position everything wit...

ipad application or web?

I have a question regarding development for Ipad. Is there an advantage to develop an application with iOS over using a regular development for web application that can be opened in the browser? ...

iis7 website set up

Hi, I've done this a few times in IIS 6 but never on IIS 7 so I'm having a bit of trouble... To create a website on IIS 7, do I create a website or an application? Also, what goes on the bindings (host name, ip address)? I want www.whatever.com to point to C:\inetpub\wwwroot\whatever so far I got www.whatever.com to point to C:\ine...

How do I set the width of a textbox when editing a row in a GridView?

I've got a GridView that can be edited. My problem is that when I click Edit, the textbox is too small (the File Name column). It isn't large enough to display its contents, and it isn't as wide as the rest of the column. How can I make that textbox wider? Here's the ASP code: <asp:GridView ID="FileGridView" runat="server" AllowPagi...

How do I use the DOM to modify this?

How do I modify the style of the li element using DOM? <div id="tabbed-boosts"> <ul> <li>test1</li> <li>test2</li> <li>test3</li> </ul> </div> getElementById('tabbed-boosts').childNodes will get me to the UL, how do I modify the LI? Also needs to work in IE6... ...

Java .NET vs PHP Rails

What are the benefits of using a compiled solution like .NET of Java over an interpreted solution like PHP or Ruby for building a Web Application/Web Site. It seems like Java or .NET apps would require a lot more overhead compared to a PHP/Rails solution. ...