Subscribe to this list via RSS Blog posts tagged in Web

Posted by on in Blogs
URIs Should Be Persistent When you are creating a new URI for a site you are building, give it a lot of thought. You should aim to design a URI which can last forever. Of course, this is not news. Jakob Nielsen said it 10 years ago. But in the intervening 10 years, we've gone from URIs which typically used to look something like this: http://www.example.com/foo.html ...which is fine, because if you go to such a link, you probably really will get HTML back, to URIs which (often) look something like this: http://www.exa...

Posted by on in Blogs
What ASP.NET MVC Did Learn from Rails This morning, I saw two different posts from Rails developers who were newly learning ASP.NET MVC, both bemoaning the fact that ASP.NET MVC does not supply/force upon you one particular ORM. The dependency on ActiveRecord is, to my way of thinking, a shortcoming of Rails, which the Rails community is presently doing an exceptional job of fixing. The best way to learn from that mistake is to not repeat it. Yes, it is true that ASP.NET MVC does not force you to use one particular ORM. Yes, that...

Posted by on in Blogs
What ASP.NET MVC Did Learn from Rails This morning, I saw two different posts from Rails developers who were newly learning ASP.NET MVC, both bemoaning the fact that ASP.NET MVC does not supply/force upon you one particular ORM. The dependency on ActiveRecord is, to my way of thinking, a shortcoming of Rails, which the Rails community is presently doing an exceptional job of fixing. The best way to learn from that mistake is to not repeat it. Yes, it is true that ASP.NET MVC does not force you to use one particular ORM. Yes, that...

Posted by on in Blogs
ASP.NET Routing and ASP.NET MVC .NET 3.5 SP1 introduced ASP.NET Routing. This feature is primarily used by ASP.NET MVC and Dynamic Data. Routing is actually a very simple feature; here is what it does: Stores a list of routes. Translates an incoming URI into lists of values and tokens, and passes those lists to the handler specified on the route. In the MVC framework, this feature is used to call the appropriate Controller/Action. Translates a list of values into a URI suitable for inclusion within an HTML page. In the...

Posted by on in Blogs
A Functional View of A Web Server A few days ago, I opined that, "Web applications, as a class, are extremely easy to debug." I'm going to further explain why I think that is true by introducing a useful abstraction which you can employ when you are debugging a web application which doesn't seem to do what is is intended to do. When a web application misbehaves, one of the first things you'll need to do is determine if the problem is in the browser/client (e.g., buggy JavaScript, attempting to use CSS on IE 6, etc.) or in the...

Posted by on in Blogs
A Functional View of A Web Server A few days ago, I opined that, "Web applications, as a class, are extremely easy to debug." I'm going to further explain why I think that is true by introducing a useful abstraction which you can employ when you are debugging a web application which doesn't seem to do what is is intended to do. When a web application misbehaves, one of the first things you'll need to do is determine if the problem is in the browser/client (e.g., buggy JavaScript, attempting to use CSS on IE 6, etc.) or in the...

Posted by on in Blogs
Columbus Architecture Group Lightning Talks The Columbus Architecture Group, a special interest group for software architects, is hosting "lightning talks" (a series of short, 10-20 minute presentations) tonight, at 6:00 p.m. in the Quick Solutions offices. I will be presenting a talk on "The Structure and Interpretation of URIs." See the list of other topics at the link....

Posted by on in Blogs
Columbus Architecture Group Lightning Talks The Columbus Architecture Group, a special interest group for software architects, is hosting "lightning talks" (a series of short, 10-20 minute presentations) tonight, at 6:00 p.m. in the Quick Solutions offices. I will be presenting a talk on "The Structure and Interpretation of URIs." See the list of other topics at the link....

Posted by on in Blogs
jQuery 1.3.1 Selector Bug and Workaround In jQuery 1.2.6, if you wanted to select all inputs with empty values, you could do this: var emptyInput = $("form input[value='']"); That's a little hard to read, so note that the quotes around the entire selector are double quotes, but the quotes inside the square brackets are two single quotes. This says, "Give me any input where the value is equal to empty string." This is broken in jQuery 1.3.1. Try it, and you will see (if you have a debugger attached): Syntax error, unrecognized exp...

Posted by on in Blogs
The Web Is Just Text In the beginning (around 1990 or so), the World Wide Web was composed of three parts: HTML, a markup language for displaying rich documents HTTP, a stateless protocol for communicating with a web server The URI, a short, standardized reference to a network resource Almost 20 years later, very little has changed, especially from the point of view of the server. To the list above, we have added client-side stuff like JavaScript and CSS, and HTML is now at version 4. But HTTP and the URI...

Check out more tips and tricks in this development video: