Archive for September, 2006
HTML Tags I had never heard of
2I recently checked out the source code written by our in-house web designer for the main page of the Housing and Residence website. To my surprise she had used some tags that I initially didn’t believe was valid markup. I quickly realized how wrong I was, kicked my self for my ignorance and set off to learn all the HTML tags I was missing out on. There are quite a few tags in the HTML 4.01 standard developed by the W3C so really I shouldn’t have been too surprised that I didn’t know them all. (more…)
Downlevel Forms Authentication
0I ran into this issue a couple of weeks ago and have been itching to throw together an article about it. I initially suspected that it was a bug that was causing the problem but now I realize the truth. When you force a page into “Downlevel” mode using the ClientTarget property of the <%@ Page %> tag .Net doesn’t use cookies anymore. Out of the box forms authentication is done using session tracking via cookies and thus you are unable to log in. (more…)
Object-Oriented JavaScript
0Today, for the first time, I used JavaScript in an object oriented way. I must say that I am impressed. The job called for a few parameters and some methods that all operated on the contents of a single div element, so an object to contain it all just made sense. (more…)
Pink for October
0I am planning on doing a quick redesign for the month of October to support breast cancer awareness month. If you are interested in participating check it out. If instead you wish to donate money to the cause make sure to buy a few ribbons, bracelets or any other supporting product. Most importantly get the word out that checking for breast cancer is simple and should be done by all women, get a mammogram.
Disabling JavaScript
0There seems to be a small but significant backlash to the proliferation of JavaScript. These days with buzzwords like Web 2.0 and AJAX becoming unavoidable, (see there they are again) some users seem to be getting sick of it and have started to “fight” back. Many people have started using the Firefox NoScript plug-in and others have just simply disabled JavaScript in their browsers. “Take that Web 2.0!” they shout. (more…)
Code Control Freaks vs Magic
0I am a code control freak. If I don’t understand every aspect of how something works I can’t get comfortable using it. I don’t know a lot of programmers so I don’t know how common this is in the community. At work I program in ASP.Net using Visual Studio 2005, however, I only use it as a text editor (for the syntax highlighting and intellisense). I am not comfortable with the web project front-end since there is way too much magic going on in there. I don’t want to click a button and have the software generate a bunch of web pages, change some configuration settings and update the database. “Why?” you ask; because what if something goes wrong? I would have no idea how my own application actually works or where to begin looking for bugs. If you surf in a couple ASP.Net forums you will see a lot of users posing questions that show a definite lack of understand about how things work. (more…)
Choosing a PHP framework
2I’m in the market for a PHP framework to use for my future projects. Compiling a list is fairly simple using Google, there are quite a few blogs that mention which are best overall or best for certain applications, for example, this one and this one. With all the talk about Ruby on Rails lately I was curious about it but for the most part I don’t see the point in learning a new programming language just to use the Model-View-Controller (MVC) architecture and scaffolding. There are quite a few PHP frameworks that use the same concepts (including one that is being directly copied from Rails). My goal is to find the best for my needs. (more…)
ASP.Net Dynamic Controls (Part 2)
3Note: While this technique works and is valid you are best to use the proper method which utilizes proper HTML form submission, is standards compliant and accessible.
In the last installment I brought to light the issues involved with using dynamic controls in an ASP.Net page. For the most part it was simply background on the topic so that this second more interesting part would make sense. The final point was that in certain situations you needed to know the result of an event before you could create the dynamic controls which is not possible to do without some sort of hack. The controls must be created, at the latest, in Page_Load but the page events fire after that, dilemma. (more…)