web-development

How can I implement this on asp.net or asp.net mvc

Me and my team are creating a portal on asp.net mvc. We want to create such an url for the users page : http://user.portal.com/ . How can we implement this in mvc or just asp.net. ...

What are the pros and cons of using a Mac for web development?

I have been using Fedora Linux for quite some time now for web development (and for other dev stuff as well). But just recently, someone told me that since I'm doing web development, I might as well use a Mac. I feel like Macs are overrated. Why should I (or should I not) use a Mac? ...

Java Deployment Toolkit - When will installs be inline?

I'm trying to do some business before a user is magically redirected to download java, in the case where java can't do an inline install (and upgrade java WITH java). Is there any way to tell what deployJava.js will end up doing? I need to handle significant business logic before the user is redirected, and the documentation is scarce as...

How to use Javascript math on a version number

I use jQuery to get the browser version like this: var x = $.browser.version; I get a string like this: 1.9.1.1 Now, I want to do an evaluation so if x is >= 1.9.1 then do some stuff. Unfortunately, with multiple decimal points, I cannot do a parseFloat() because it converts 1.9.1.1 to simply 1.9, and the if evaluation would match a ...

When and how do I design with my security model?

I'm not sure how to proceed. I have an idea for a web application(s) but I'm not sure which part to do first. If my application has an authorization and authentication need, do I create that first and then the rest of the program or do I do the other (to me more fun) stuff first and then plug in the user authentication later? I'm not ...

Progressive enhancement tricks

There's a real art to designing a website that works for everyone, and Progressive Enhancement is practically a mantra to me... So I'm wondering, what are some of the best tricks you've used for making websites work for everyone regardless of browser, OS, javascript, flash, screen resolution, disabled user accessibility, etc.? (I know ...

Where content based websites store their content?

Sites like cnn.com or foxnews.com. Where do they store all the articles? In html files? In database? More logically to store everything in DB but how to generate a static link to something that is inside DB? It's not that they have a a dynamic page load like: LoadArticle.aspx?ArticleID=123, every article has it's own address. Please ...

Anyone know a good tool (ASP.NET or compatible) for generating Sprites and the corresponding CSS from a set of images?

I'm at the end of an ASP.NET project and we've been using YSlow to analyze our site. There are a ton of images and we'd like to combine some of them into a single request. Any suggestions? ...

What user names to forbid for registration?

Possible Duplicate: What user names should I disallow? What potentially misleading user names would you forbid for user registration? I think of "moderator", "admin", "administrator", "guest", "anonymous". Do you have other suggestions? ...

Best way to use a server side language for development, but deploy to static HTML

We have a client for whom we build a lot of template based sites. Ideally we would use something like kohana (http://www.kohanaphp.com/) to handle the templating and make doing site wide changes a breeze. Unfortunately our client cannot (and will not) host any server side code (and before you ask, this will not change and hosting the f...

Flash file upload vs php file upload - which one to choose?

Hi I was trying to upload a photo on facebook using a browser with no flash, and could see that it didn't work. I am pretty confident in handling files and related issues using Php and have done some sites allowing users to upload and manage files (images, docs etc). But I never thought about the above flash approach. I googled a bit ...

Updated (current) recommendation on Rails versus Django?

(Disclaimer: I asked this question yesterday on HN http://bit.ly/m6onk. While responses were good, there was a notable lack of technical discussion and more of a "you should use rails because that's what you know". Since Joel and Jeff state clearly they don't mind reposts of questions from other sites...and since I really enjoy the answe...

How does the add comment option work on this site?

I want an option like add comment in my forum to let the users post a quick reply. Вован Путин - ...

How Google is using HTML tags to enhance the search engine?

I knew that Google’s search algorithm is mainly based on pagerank. However, it also does analyse and use the structure of the document H1, H2, title and other HTML tags to enhance the search results. My question is: What is the name of this technique "using the document structure to enhance the search results"? And are there any acad...

VS 2008 Debugging: CrystalReports Cache

I'm debugging issues from some CrystalReports documents through Visual Studio '08 (please, kill me now). In addition to the CrystalReports .NET libraries containing some of the worst interfaces I've ever seen, the web viewer for CrystalReports seems to behave strangely while debugging. Unlike regular .aspx pages, the CrystalReports docum...

Creating reusable UserControl assemblies with VS2008

Is there a recommended process for creating reusable ASP.NET assemblies that contain UserControls that can be shared across projects in separate solutions? We have currently have a set of post-compilation steps that run aspnet_compiler.exe on the project, generate the precompiled assemblies using a given name, followed by aspnet_merge.e...

Effectively sharing JSPs among different Struts action classes

I would like to render the same JSP for multiple Struts Actions. I'm having trouble because when rendering the JSP, the bean name is different depending on which Action was called. So, I can't call something like: <c:out value="${myBean.myProperty}" /> because the bean isn't necessarily called myBean. Currently, I've been getting ar...

Which language is Craigslist written in?

I know, I know - it probably doesn't (and shouldn't) matter - I've read this comment. But as a newbie just learning Python, I'm quite intrigued. The source seems to reference Javascript a few times - would the whole site be in this? Any idea about the rest of the technology stack behind the site? Looking at the technology behind some ...

What is the best way to ensure that web-page contents are redownloaded from your web-site instead of using cached temporary internet files?

I have noticed that when updating my web content files (in this case, a silverlight XAP file) the browser does not detect that the file has been updated, and continues to reads the locally cached file. These files will only be updated rarely, so reading from the cached temporary internet files should occur most of the time. My question...

Is Moneris Direct Post Secure?

I am looking at the Moneris Payment Processing and their Direct Post method. For the life of me, I can't figure out how the security on it works. As best as I can tell it does this: Web User comes to my site. They fill out their credit card information (https). I show them a summary in a form. When they hit submit they go to Moneri...