Archive for September, 2009
The folks over at BlueStack asked me to take a look at their new Form Enhancer product. Which I will provide.
The basic gist of this module is that by using jQuery and some images we can style the form elements on a page.
It’s a pretty cool concept with some promising results.
According to their sales copy…
I recently received a question from another programmer I know who’s been using PHP prior to ASP.NET that made me think harder about a problem we’ve all had in ASP.NET. The basic problem is this:
How do you dynamically change the class of a hyperlink based on the page name so that the hyperlink that represents the current page is styled differently than all of the other hyperlinks on our screen? If you want you can substitute any other HTML element you want, but the problem remains the same.
While there are a lot of controls available in ASP.NET that allow you to manage forms authentication, one control that doesn’t exist is something that will allow you to manage your user list.
Most of the time you don’t need this, but when you do, there is an obvious hole.
Since we need to write this code ourselves, how do access the user list from our code?
See this picture?
That’s what could happen to your application if you decide to build your ASP.NET web site using the File System location instead of the HTTP location.
To illustrate, let me relate a situation that came up when I first started using ASP.NET back with Beta 2 of 1.0.
When I was a younger programmer (I refuse to call myself an “old” programmer quite yet) I made a lot of mistakes. Chief among them was focusing on the wrong things at the wrong time.
Now that I’m older (and wiser?) I’ve created a short priority list that I find helpful as I write a new routine or system.