web

Is there a (RAD) tool for dynamic web creation (php + html )

Hello all Is there any tool something like access or front page that combines? The server side also ( php ) for none programmers? ...

Do I use a web service or a HttpHandler to serve images ?

Hi guys very simple question for you.. To serve Images is better a web service or a HttpHandler in asp.net c# ? what is the difference ? Why I should prefer one instead another ? thanks ...

Passing url as parameter to web service method

Hi I'm writing a web service which expects one of the parameters (called "hlink") to be a url. Before calling the web service I URLEncode the parameter in question ("hlink"). I then call the web service with an hlink parameter value of 'a.apsx?a=1&b=2. When the request arrives at the web service method I can examine hlink - it has rece...

Why ww2 sub domains?

I have seen on the web some domain names having prefix of ww2 or ww3 or so (ww2.somedomain.com, ww3.yourdomain.com). And these happen mostly when travelling from a page to page. What would be the reason of having such subdomains? Is there anything special about them or are they just another sub domain? I mean, are they useful in any part...

REST/Ajax deep linking compatibility - Anchor tags vs query string

So I'm working on a web app, and I want to filter search results. A nice restful implementation might look like this: 1. mysite.com/clothes/men/hats+scarfs But lets say we want to ajax up the filtering, like the cool kids, and we want to retain deep linking, we might use the anchor tag and parse that with Javascript to show the corre...

Edit pdf files PHP programmatically

Hey background info: got a project to produce a customised pdf on the fly from a given pdf file using PHP. All I need it to do is to replace strings e.g. search in "template.pdf" for "{Address}" replace with "Street Name". ive seen links to fpdf/pdfi/dompdf etc but cant find any useful example code that i could use :s any help / pointer...

WEB based application with desktop integration - technologies?

This is a general question concerning technology decisions for a product development. My aim is to develop a web based remote support (desktop sharing application) with audio and video communication. My ideal solution would be to develop it as web product meaning that the client side always run in the browser. Client technology would ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine's clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use Flash? My primary target is IE8, but would like to support FF and Chrome also. I have seen the technique to do this using Flash, but am loo...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use localhost as hostname it works, but when I use machine name I get an error 401 Unauthorized. I am setting the credentials like this: Networ...

Should we create local web services within an Asp.Net application which are called by the application itself?

Hi, I've moved to a new project team and while going over the codebase, found that the team have created a number of local web services which then get called by server code in other web pages within the same application. I'm somewhat puzzled by this architecture, as I'd thought local web services were something you'd then access from t...

What does this code (from a Mozilla Add-on tutorial) do?

var Helloworld = { onLoad: function() { // initialization code this.initialized = true; }, onMenuItemCommand: function() { window.open("chrome://helloworld/content/hello.xul", "", "chrome"); } }; window.addEventListener("load", function(e) { Helloworld.onLoad(e); }, false); http://kb.mozillazine.org/Getting%5Fstar...

Example sites with broken security certs

I'm wondering if there are any demo sites which show different cases where HTTPS is misconfigured or broken. Or does anyone know of websites in the wild that display various broken / misconfigured HTTPS cases? ... Perhaps ideas on how to track them down with a search engine? I'm looking for sites which exhibit broken https behaviors, for...

How to implement print effect like this page?

http://losangeles.kijiji.com/c-PrintAd?AdId=167716102 ...

What is the best way to write a JUnit test against a method signature that calls a Web service?

The method I want to test has a local variable that references an object returned from a Web service call. This Web service returns information specific to a particular user based upon input from that user on a Web page. It is like a question/answer, where the answer given in a form text field must match the answer provided by the user a...

Is HTML too much text for fast web?

Does anyone know anything about the efficiency of HTML as a transmitted markup language? It seems to me that having closing tags rather than merely a closing curly brace (or just </>) adds a lot of text to a file. Bandwidth is a valuable resource, and when billions (trillions?) of HTML files are continually being transmitted around the w...

Asynchronous queries in a web app, using NHibernate

In a web application, the Session is only available in the current thread. Does anyone have any tips for executing queries through NHibernate in a new asynchronous thread? For example, how could I make something like this work: public void Page_Load() { ThreadPool.QueueUserWorkItem(state => FooBarRepository.Save(new FooBar())); } ...

Can you reccomend some free web services to play with?

Hi, I am studying usage of web services nowadays. Can anyone recommend some free web services I can use to practice? Thanks! ...

Spring web Dependency Injection(IOC) and the ServletContextListener

Hi all, I have code which is structured as Spring beans and dependencies among them. This is only a small part of the code since the rest is 'legacy' code. At this point in time I would like to perform an action on one of these beans in an existing 'legacy' class that extends javax.servlet.ServletContextListener. This class initializes...

SOAP complex type in header

I am learning how to consume .net web services. I am using 4.7 JDE in Eclipse, testing in the Curve (8520) simulator 4.6.1.272. I generated the stubs using Sun Java Wireless Toolkit 2.5. One of the services requires a complex type in the SOAP header (not in the SOAP body). Is it possible to do that using the stubs created by the toolk...

dashcode and external rss feeds

I was wonder if anyone can help me with this. I've been looking everywhere for this information, but I want to make a web application using dascode rss. I know that you can't link external sources. Does anyone know a way I can get around it. From what I understand a little php can get around this, but I'm unsure where to look. ...