web-development

Is RESTful faster than SOAP? and when to use one of them?

Duplicate: This is a duplicate of "What are the best uses of REST services?" and many others. Please close it. In web development: Should i learn RESTful services very well and make all my future projects using it? Is it faster than SOAP services? When to use which? There is certain cases i should use one of them and others no? ...

What is the best script language for n/w programming + web development

Hi, I'm interested in developing web application and networking application. For that what is the best script language to learn. Which one is effective for this two. So for, i don't know even a single syntax of any scripting language. Which is the best script for understanding, maintainable, effective and simple (may not). Please d...

Firebug - Apply Settings to IP Range

Hey guys, I realize this isn't strictly programming related, but since it has to do with a common development tool, I figured it was still appropriate. I am developing a website and my main access to the code is via a virtual machine whose IP address changes every 2-3 days. It is getting very annoying to have to re-apply settings for F...

Load Content On Tab Open Using Spry

Is it possible to load the content of a Spry tab when the tab is opened, rather than load all the content of all the tabs in the beginning? I would prefer accomplishing this without the use of an iframe. ...

Emulating Google Keyboard Shortcuts

I'm really curious how Google (and now Facebook in the photo galleries) implemented shortcut keys such as J/K or Left/Right arrows. I'm afraid I don't have many details because I can't figure out by inspecting the source which piece makes those buttons 'tic', so to speak. What I'm specifically looking for is a way to bind buttons to Java...

Is there a design pattern that addresses how to manage multiple similar objects?

I have multiple objects that inherit from a base class and am trying to decide how the user should edit them. There are many common fields and a few fields that only apply to each sub class. Is there a design pattern to address this? I was thinking I could have one web page for each one or I could have a single web page and show/hide th...

The Logistics Side of Using Multiple Sub Domains for Static Content

It's generally considered a best practice to serve static content, such as images and css, from different sub domains (images1.domain.com, images2.domain.com, etc). I've seen this discussed in detail in various places, however I'm concerned about the general logistics of this in terms of maintainability. Our site has thousands of pages...

Invoke coldfusion function using AJAX

Hi I need to invoke a coldfusion function(present in a .cfm file) when the user clicks on a link. And I would like to do it using jQuery. I have a jQuery snippet which looks like- <script type="text/javascript"> $(document).ready(function(){ $("td.ViewLink a").click(function(event){ event.preventDefault(); )} I am ne...

Storing password in tables and Digest authentication

The subject of how to store web site users passwords in tables has come up several times on SO and the general advice is to store a hash of the password, eventually an HMAC hash. This works fine for Basic authentication or for forms based authentication (really the same thing). My problem is that I must provide also Digest authentication...

Can we hide javascript loading from the user?

If I have a page which gets generated using PHP and then modified using JS which runs using: window.onload=myFunction; Then the user sees the original page, which then appears to flick around as the js code gets run and adds its own bits onto the page. Is there a way to avoid the user being able to see this process, or to at least ma...

What is virtual directory? What's the use of it?

Hello All, Please someone explain to me by example what is a virtual directory and why do we need it? ...

Lightbox overtop of Quicktime embed?

I have a site where I am using Litebox to display images. On pages with QuickTime embeds the box appears below the movie. How can I get the box to appear on top? I tried setting wmode=transparent but, while it works in Webkit browsers and IE, it fails in Gecko browsers. ...

When is a basic (webdev) education complete?

I'm an ICT student. I've been doing it for 2 years and recently I started following developper blogs, got a twitter account to keep track of new blogs, lists of tips, tricks, free templates and other such things. Doing so has showed me that the amount of subject I thought I had to cover is actually vastly smaller than what's really out ...

Stored Procedure Returns Multiple Recordsets

I am pretty new to c#. I have a page that requires multiple recordsets, and a single sproc that returns them. I am using a repeater control for the main recordset. How do I get to the next returned recordset? OK so the datasource is in the aspx page. I would have move it to the code behind page to use NextResult right? Here is my c...

java p2p video library?

is any such library available either commercial or open source? ...

What are good web development fonts?

I am searching for a list of fonts I can use in CSS. Since these fonts may be copyrighted, which fonts should I use that are available across Windows (as of XP), Mac OS X and, say, Ubuntu 8.04? I don't want to rely solely on the newer OSs. A great bonus would be if the same fonts existed on mobile devices. ...

End of the road for Captchas?

If you've made quick edits to answers recently here on SO, you've probably noticed that the captchas have gotten to the point where even a human needs to hit reload several times to find a readable one. It occurs to me that if this level of smudging is required to get past OCR software today, then the day isn't long off where computers...

Create image viewer in ajax or flash?

I've been trying to do more Web development work recently (I currently do other tech stuff, but have some experience with Java, C++, VB, Python, and PHP) and I was asked to create a basic Web site with an image viewer. The site is for an artist and she wants the viewer so users can see thumbnails of her paintings and click them to see a ...

Is it possible to override facelets.development for different environments?

We'd like to set facelets.development to false to suppress stack traces in non-development environments, but we'd like to have it set to true in dev for debugging. Our deployment process dictates one CI build that is migrated through the environments up to production, so we can't use an approach that requires rebuilding the app / rewrit...

Can I parse PHP locally without the use of a local host server?

Often, when I am developing in PHP, I want to see minor changes instantaneously. This requires me to either FTP to a web server and then refresh, or use a localhost server, both of which(as I understand) are essentially the same thing. What I would like to know is, is there an IDE or other way to parse PHP output in a dynamic fashion? ...