web-applications

pure css layout for a web application?

I'm working on a web app that currently has a table-based layout. Ideally I'd like to go to pure css, or failing that, a hybrid tables-and-css layout* . I've banged my head against the wall trying to understand css layouts and positioning. The main problem I'm encountering is that, depending on the state of the app, I have different th...

How can an author effectively open the code to his web application?

There are quite a few issues when you open source an existing website, and I'd like to see how how others have tackled this before. Are there some good examples out there of web applications, which have a public source code repository? These are issues I have in mind: Handling sensitive data: salt keys, database connection info, etc.I...

Retrieving data through LINQ to SQL

I got a weird problem here like I got a site that users can post comments on a friend profile page.Everytime a user post a comment my application sends e-mail to that page owner, you know to inform for a new posted comment on his/her profile page.The problem is I want to stop the application from sending email if that user has just recen...

how to generate a password for htpasswd file using php

Hi how can i generate a password using php, to use for the htpasswrd file. which encoding we are using? ...

how to recycle images, but not show anyone the same image twice?

I'm writing a web app similar to wtfimages.com in that one visitor should never (or rarely) see the same thing twice, but different visitors can see the same thing. Ideally, this would span visits, so that when Bob comes back tomorrow he doesn't see today's things again either. Three first guesses: have enough unique things that it's ...

Web Deployment Project missing in ASP.Net Web Application?

Hi, Please HELP! I have installed the web deployment project on VS 2005. When i click on my Web Site context menu i see the "Add Deployment Project", but when i click on my Web Application Project i don't see it. I have done the task "devenv /setup" in my computer run, but it didn't help. How can i see the Add Web Deployment Project...

How to use Facebook Connect in an iPhone webapp

I'm trying to use Facebook Connect from an iPhone webapp, so it would look similar to how it looks in a native iPhone app which is using the Facebook Connect iPhone SDK. The iPhone SDK gets the nice login page by visiting: http://www.facebook.com/login.php?fbconnect=1&connect_display=touch&api_key=<key>&next=fbconnect...

iPhone: How to get data from a web application?

Sorry if this is a stupid question, but I am new to this. I am getting started with iPhone application development and would like to create an application that involves pulling data from from a web application. Let's say the url is http://myapp.com/api/people/fetchall and it returns XML data. How do I get this data into my iPhone App...

Best Practices: What I should know before creating a web app API for an iPhone app?

I am getting started with iPhone application development and would like to create an application that involves pulling data from from a web application. I will be developing the API using PHP and the Zend Framework. I have never created a public API before, nor an iPhone app that works with public data. Here are some specific questions ...

How to create a public API using the Zend Framework?

I have an idea for a web application that would be great if it also had a public API for people to use and interact with. I want people to be able to create their own mobile and desktop applications that interact with the API. Specifically, I want to create an iPhone application that will interact with the API. I will be building the ap...

Catch IIS level error to handle in ASP.NET

I am developing an ASP.NET site with C# on IIS 7, but I hope for an answer that will apply to IIS 6 as well. Part of this site is the ability to upload up to 5 images at a time. I have a nice algorithm to resize the image that is uploaded to my optimal size and ratio. So the only real size limitation I have is during the initial upload...

Reasons NOT to use App Engine

Lately I've been reading a lot of information about App Engine; the Google service that looks very promising to me. However, it all seems too good to be true. Call me a negative person, but I would like to know any reasons NOT to use App Engine. This is programmers related, since I'm asking as in the programmer point of view. I just wa...

Publishing an asp.net web application

I want to know a few things about Publishing an asp.net web application, Why should i publish my web application? What are the advantages of publishing a web application? ...

PHP: how to perform htmlspecialchar() on an array-of-arrays?

How do I run the PHP function htmlspecialchars() on an array of array objects? I have the following code: $result_set = Array ( [0] => Array ( [home_id] => 1 [address] => 4225 Nasmyth Dr [city] => Plano [state] => TX [zip] => 76798 ) [1] => Array ...

Regex match of hexdigest in google app engine webapp WSGIApplication

application = webapp.WSGIApplication( [(r'/main/profile/([a-f0-9]{40})', ProfileHandler)], debug=True) The regex in the above parameter will not recognize a 40 hex long hexdigest in Google App Engine. I'm getting 404s instead of ProfileHandler being passed the matching 40 hex long profile ID. My app.yaml passes everything /mai...

A Groovy Web Console in a Java webapp?

I've been looking at Groovy a little lately, and I love the idea of the Groovy Web Console. I'm idly wondering whether there's a way to embed a simple web control to write and run scripts from in a web app I might put together myself. Is there a plugin-style solution to embed a control like this? Are there any resources or guidance ou...

Wysiwyg with image copy/paste

First, I understand that an image cannot be "copied" from a local machine into a website. I understand that it must be uploaded. I am a web programmer, and am familiar with common web wysiwyg tools such as TinyMCE and FCKEditor. My question is if there exists a program or web module or something of the sort that works will perform an aut...

What's the preferred method for authenticating users of a webpage in a RESTful way?

I'm developing a new experimental web-application framework, and I decided to give RESTful some attention. I've read up on the basics, and feel like I have a pretty good understanding of RESTful as a concept. I've got a system up and running, using URLs strictly to define 'nouns' in the system and take the 'verbs' from the HTTP request ...

How to return a classic asp page with a different name than the asp page on the server

Is it possible to return to the web client a page named differently than the original classic asp page read from the web servers folder ? F.i. a real example I would like to implement: let's say I have an classic asp called calendar.asp If this page is called today (Jan 6, 2010) the page returned to the client web site should be: c...

How to select a word from paragraph in a single right click?

Hi Techies@StackOverFlow, i am researching on a logic, by which i can select a text in a single right mouse click. What I want to say is that , I want to implement, the double click text selection, but in a other way that is in single click and right click. For example if you double click on the text displaying anywhere on this web, the...