web-development

Latest in mobile web development best practices

I know this has been asked a bunch of times before (notably here and here), but I'm looking for a good current guide for getting started in developing websites for modern mobile browsers. Ideally, I would love an updated version of Craig Hockenberry's excellent, 2.5-year-old Put Your Content in My Pocket---one that is aware of new devic...

Is there a way to send data to user in cookie but not have the data retransmitted with every subsequent request?

I would like to send some sort of token on one request and store it at the client but not have that token retransmitted on subsequent requests. ...

Best F/OSS IDE for Python Web Development (Windows or Linux)?

Hi all, Would like to know what is the best F/OSS IDE for Python Web development. I've always used vim myself, but I'm increasingly interested in having a tool that integrates syntax checking/highlighting, source control, debugging, and other IDE goodies. I use both Windows and Linux as desktops, so recommendations for either platform...

How do I get a µ character out of sqlite and onto a web-page?

On a Python driven web app using a sqlite datastore I had this error: Could not decode to UTF-8 column 'name' with text '300µL-10-10' Reading here it looks like I need to switch my text-factory to str and get bytestrings but when I do this my html output looks like this: 300�L-10-10 I do have my content-type set as: <meta ...

Pylons and multiple forms per page

Hi all, I've got a web page I'm generating with Pylons and the evoque templating tool. I'm trying to generate a page with multiple forms per page (one form is part of a base template that becomes part of every page). I'm having a problem as I seemingly can only get the form element values for one form; whenever I try to get the value fr...

Why GWT? Advantages and Trade-Offs of Using This RIA Framework

I'm new to stackoverflow and have been reading through a bunch of the "highest voted" questions for GWT. Several of these questions talk about the pitfalls or problems with GWT. In the articles: Which Javascript framework (jQuery vs Dojo vs … )? and Biggest GWT Pitfalls?, some posters seem to suggest that GWT is not lightweight enough o...

Replacing the contents of an entire webpage through ajax

Hi, I'm aware that this is kinda a hack but for reasons of simplicity I would like to replace the contents of an entire webpage with an answer received through Ajax. This includes possible HTTP headers. Is it possible to do so? To clarify further, right now I added for debugging purposes: alert(response); and this produces: For rea...

How do you get the username in Silverlight Out-Of-Browser (SLOOB) apps?

We currently use Silverlight within the browser. ASP.NET writes the Windows Authenticated user name to the ASPX page that the Silverlight control is on. The username is passed as a parameter in to the control when it loads. How would you get the username with an out-of-browser application? ...

Sending and Receiving data through SOAP web service in .Net

I am working on a client - server application and in which I used to send and receive data through SOAP web service. Now after sometimes I have heard from someone that I might lost some data while this process on soap service created in ASP.net. So now I have decided to send and receive data through batches like first I will send List o...

What scuppers a browser's 'remember login' logic?

For web sites that have username/password text input fields, the browser usually handily offers to remember them for you (in my case, Safari puts them in my OS X keychain). This simply does not happen with certain web sites. The first example that comes to mind is vBulletin forums. Meaning you can't use a complex/random password unless ...

images stretched in Chrome

Hi, The two images in the right-hand column of a webpage have been vertically stretched to about 500% of their intended size when viewed in Google Chrome. In Firefox/IE they look fine. The relevant HTML markup is <div class="right_column"> <div class="photo"> <img height="80%" width="80%" al...

How to update website files in repository with files that have changed in unversioned copy.

I have set up a SVN repository on a development that contains a website. The website files were imported using the svn importa few days ago. I also have the same website in an un-versioned state on the same server which is a mirror or the site on our live production server. This is in-case our live server crashes we can quickly reupload...

How to track changes on jqGrid columns/layout/order?

Hello, I have a jqGrid that can be sorted by different columns both in ascending and descending order. Columns may be added or removed, and the order of the columns may be changed too. I need to detect when any of these properties have changed, in order to save the users preference. Is there a way to catch these events? I've been loo...

iPhone application that submits info to a website and gets results back

Hi, I am new to iPhone development, I wonder where could I find: 1) the best tutorials to start iPhone programming 2) info or code about how to submit info to a website (example search query to google) and get data back (show summary of query results on iphone) Thanks ...

How can I test if my web application could handle heavy traffic?

What would be a proper way to simulate a large number of requests to test if my web application can handle it? ...

Hiding the toolbars surrounding an embedded pdf?

Though I think the answer maybe in this other question's answer concerning the pdf specification, is it possible to not display the adobe acrobat toolbars in an embedded pdf document? ...

Display html content of range or htmlfrag

Once I create a range how do I display the HTML content of it in Firefox? range.toString() only gives me the text content. In essence, like innerHTML returns the markup in IE. Thanks function innerHTML(oTarget, sContent, bAppend){ if (document.getElementById && !document.all) {//is this a non ie browser var range = document.createR...

How to determine web application end of life?

Dear SO Community, This question could bring a lot of opinions to the table, but what I will like to get is a set of measures that will help me and my company determine the end of life of a product that we sell. We sell a CMS system, with this system we create a few sub-products Websites Proposal Creator Marketing Campaign Tracker ...

Difference between web designer, web developer, and web programmer

I always read "web designer", "web developer", and "web programmer", but don't understand the difference between them. What is the difference? An example would be appreciated. ...

How to return a 200 ok status programmatically to ajax request in PHP?

I ask this question for the comment of this answer: http://serverfault.com/questions/104648/is-this-http-servers-issue/104679#104679 EDIT I missed an important point,should also keep the connection not closed. You guys can smell I'm trying to figure out how long polling actually works. ...