Ajax Anti-Patterns#

I've been working with alot of Ajax lately(this includes code and laundry :P) and just realized that i've been doing some unecessary code after reading this article. I think I got hooked so much with the Ajax-hoopla that I forgot that not everything should be done via Ajax.

Below is an outline of what Jack Herrington suggested.

  • Polling on a timer when you don't need to
  • Not inspecting the return results in the callback
  • Passing complex XML when HTML would be better
  • Passing XML when you should pass JavaScript code
  • Doing too much on the server

Read more about this article here.

*Update: I did some research and found out that Michael Schwarz, the creator of Ajax.NET has also a great list of things to avoid in his article Top 10 Mistakes When Using Ajax. Great read.

Friday, March 23, 2007 5:46:24 PM (GMT Standard Time, UTC+00:00) #    Comments [0]  | 

 

How To: Check if there are processes that are running using .NET#
I was running a test on my Web Server today when a friend of mine IMed me about an interesting question about .NET. He was a new programmer for this company and the old developer that he replaced was running production(oh my) applications right of his desktop. The IT manager was getting worried because they dont have a list of applications that the old guy did because the old developer didnt do any turnover(he was fired =)) and alot of the apps that he did were essential to the business(the company was a small accounting firm). So my friend asked me if theres a way to figure out which applications are running using managed code so that they could check the application and move it to a more secure and dependable server.
Friday, March 09, 2007 11:54:03 PM (GMT Standard Time, UTC+00:00) #    Comments [0]  | 

 

DevCast : ADO.NET Part 2 - Passing Parameters To Your SQL Statements#
In part 2 of our Back To The Basics Series, Keith discusses how to pass parameters to your inline SQL Statements, read a connection string from the web.config and the use of a static class for utilities. He also refactored(a little bit) our original solution to make the code more manageable.
Tuesday, March 06, 2007 3:12:06 AM (GMT Standard Time, UTC+00:00) #    Comments [0]  | 

 

All content © 2010, Keith Rull
On this page
This site
Calendar
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
Archives
Sitemap
Blogroll OPML
Disclaimer

Powered by: newtelligence dasBlog 2.3.9074.18820

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts


Pick a theme: