March 2006 Entries

Recursion Headaches

Public Sub getChildren(parent, level) set rs1 = server.CreateObject("ADODB.... rs1.cursorlocation = 3 rs1.Open "select a.* from _pages a left join _pagemenu b on a.page_name = b.child_page where b.base_page = '" & rs("page_name") & "' order by page_name asc", dsn, 2, 3 for j = 0 to rs1.RecordCount - 1 response.write space(v + 1) & rs1("page_name") & "" getChildren rs1("page_name"), level rs1.movenext next rs1.close end Sub My brain must be off today. I can't figure out why...

First day at the new gig...

Well, I started my new gig with the school district. A lot of hand-shaking today. Meeting people. Got a little design work done, but nothing too heavy at this point. I'm looking forward to working here. The people are great. The traffic stinks, but it's hard to complain about that too much. I knew what I was getting in to there...

When it rains, it pours...

First the good news. I accepted a web developer position at a school district. The pay is OK, but the benefits are incredible. Now, the bad news. My mom had an emergency hysterectimy yesterday. My grandma fell and broke her other hip. My car died. What a week

Is NAS vulnerable to Virus?

I've been evalutaing different client/server solutions lately, and have come across NAS (Network Attached Storage). I like the sound of this from the perspective that a seemingly unlimited amount of storage is available for a very reasonable price.But, is it the best route? What are the risks of viruses? There must be some kind of OS that runs these things. Are the client computers (since they will "map" portions of the NAS as local) responsible for virus scanning and protection? How does that work?...

New to Ajax? Read this...

Recently, I've run across several posts over at the AJAX.NET Google Group asking about how you can bind a DataGrid, or a Repeater using AJAX. The answer is, you can't.DataGrids and Repeaters are Server Side controls. Their life begins and ends on the server, when the page is rendered to the client. The client is rendered to HTML, and sent to the client. That's it. Finito. The End. That's all she wrote. From there on out, it's all the client. Any AJAX transactions that take place must be rendered...

AMF.NET

Seems Karl is working on a new project, and has been since the beginning of the year. AMF.NET is an open-source alternative to Flash Remoting. Excellent. Remoting is way too expensive. $999 per server, MacrAdobe, come on. Anyway. Karl is on to something. The same can be done with web services, without the HTTP Handler. I'll post some code soon... ...