web-development

Windows Live Authenticaton

Is it possible to make HttpWebRequest query to windows Live ID enabled web sites? What is the method of authentication knowing username and clear text password? Could not found anything like that in Live ID SDK. ...

Is there any PHP Framework written as a C extension?

Yes i know Zend, Cake, Symfonie, Kohana and CodeIgniter. But i would like to know if anyone has ever tried to get rid of the huge overload you get by writting core components in php and tried to factor as much stuff out into an extension. Precompiled router classes, caching (modules have a build in memcache), etc. could speed things up....

HTML img scaling

I'm trying to display some large images with HTML img tags. At the moment they go off the edge of the screen; how can I scale them to stay within the browser window? Or in the likely event that this is not possible, is it possible to at least say "display this image at 50% of its normal width and height"? The width and height attribute...

Is having a descriptive URL needed to be a web 2.0 website?

Our in-house built CMS system has the ability to have descriptive url (http://stackoverflow.com/questions/889312/descriptive-urls-vs-basic-urls) versus basic urls (http://test.com/index.php?id=34234) We want to know other than giving a little more feedback to crawlers out there, if will mean something else. Do having this descriptiv...

What are the benefits of having an updated sitemap.xml?

The text below is from sitemaps.org. What are the benefits to do that versus the crawler doing their job? Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additi...

c# Implement IHttpModule or IHttpHandler for IRequiresSessionState

Hi how do I set up an http handler so I can manipulate IRequiresSessionState? I need to change when I can access session state. There is a stackoverflow question that takes me 90% of the way there, I am just too green in c# to know how to actually implement it and get it to work. If one of you experts could give me a quick 123 I would...

Is it acceptable to make external links target="_blank"?

I'm a bit confused whether or not I should make the links on my website that point externally target="_blank". Does this practice negatively affect the usability of your site (i.e. breaking the "back button trail")? Is it commonly found annoying by most users? Is it acceptable in some situations but not others? I want to make an enjo...

Pattern for Managing IDs and Persisting User Input for an Entire HTML Table at once

...meaning pattern in its general English usage, not specific to OO design patterns. Given a table like the following (using <% %> as generic server-side script tags): <form action="someUri" method="post"> <table> <thead> <tr> <td>Widget ID</td> <td>Description</td> <td>Price</td> ...

how to schedule ajax calls every N seconds?

If I want a whole page to reload every N seconds, I would put something like this in the HTML: meta http-equiv="refresh" content="5" Is there a standard practice for doing the same kind of thing for AJAX calls? I want schedule an AJAX call to go off every 10 seconds say, in order to update parts of the page, without refreshing the whol...

C++ for Web Development

Regardless of how hard/long it is, has anybody ever used C or C++ for web development? ...

Hiding email from spambots without using javascript

I have a "contact us" form that uses Ajax (i.e. relies on asynchronous requests). In case the user has javascript disabled, I want to display a message, saying something like: You need to enable Javascript to use this contact form. If you can't, or don't know what Javascript is, then use your email and contact us at <the_email_addre...

Prototype load event on Opera

I'm adding an event observer to one image in order to know when it is loaded, it works fine in firefox and safari, but it doesn't work in Opera. The code is like this $("element-id").observe("load", myFunction); I also tried with Event.observe('load', 'element-id', myFunction) and it also works in FF and Safari, but not in opera. Is ...

The last 20% in Ruby on Rails

I am (quite) an experienced programmer but totally new to Ruby and Ruby on Rails. RoR looks great to get working quickly, specially the automatic screen generation for CRUD operations. It really it gets you productive quickly. The questions is with the last 20% of the work, when I must finish my application. Won't RoR conventions stan...

Develop for SQL Server Standard using SQL Server Express?

I'm working on a web service project, and I'm coding at home, where I have SQL Express 2008 installed, but the app needs to interface with an SQL Server Standard. I've never done the transition before, and I haven't been able to find any resources on the subject - plenty of stuff about upgrading, but nothing about how to deploy. For ins...

Is there a high-level language for the web?

Preamble To build dynamic web-sites, we to master at least four languages: HTML for the structure of web pages CSS for layout and design JavaScript for interactivity A language for business rules or dynamic driven data In addition, there's SQL for persistent storage, Memcache for sessions and caching, APIs for the many different con...

Setting up staging/qa/dev environments on Windows Server 2008

I am working on a large scale ASP.NET web app. The system is large enough to warrant monitoring systems, build scripts, source control server, etc etc. I now want to setup a proper development environment whereby I have a development server, QA and staging. I am going to be setting up Windows Server 2008 Standard Edition x64 (I have 4...

Why would my site change sizes from testing offline to uploading it?

I am building a new site, and I have a folder on desktop with everything in it. For testing basically I open the index page in a browser and preview that way while building it. It looked correct in firefox, safari, chrome and opera on my mac. I uploaded that file to the server, and now firefox on mac displays everything much smaller. ...

Do you use any 3rd party Data Entry Controls ?

Hi, In every project, i always build up data entry forms for the Entities. I have googled it a bit and found some controls like Peter's Data Entry Suite ... etc. Do you ever use these kind of controls and could you please tell me your experiences about using them ? Thank you ...

Blog integration

I have two questions: From personal experience, what free blog engine is the best to integrate a blog to an already designed website? Since many blogs are using their own template tags, I wanted to know if there was an easier way to integrate a blog than having to learn those template tags? If there is not an alternate way of doing so ...

How do I auto select an input field when I load a page?

How do some sites automatically select a input field when you enter a page? Like YouTube's login page it selects the Username field automatically This site too, on page Ask Question for example, it selects the Title field. How do they do this? My guess would be javascript But how? ...