The views expressed on this weblog are mine alone and do not necessarily reflect the views of my employer.
 Thursday, May 29, 2003
INETA - Check us out at TechEd, and congrats to all the new addtions

This is an exciting thing! INETA (the International .NET Association) is announcing additions to its Speaker's BureauKeith Pleas has the story on his blog now before the press release goes out.

INETA manages this group of speakers who jaunt around the world presenting at .NET Users Groups.  There's a lot of great presenters already in there, including folks I'm proud to call my colleagues, Carl Franklin, Billy Hollis, Tim Huckaby, Chris Kinsman, Juval Löwy, Paul Sheriff, Ken Spencer, Scott Stanfield, and the inimitable Keith Pleas among many others.

Turns out I've been asked to join INETA as well!  I'll be in Seattle at the .NET Developers Association in July presenting How I Stopped Worrying and Learned to Love ASP.NET.

Also in the list of 13 new additions to the Bureau are my friend Sam Gentile, Jon Box from Quilogy, Andrew Brust from Progressive Systems, Canadian and all-around cool person Kate Gregory, The ADO Guy Shawn Wildermuth, and the party king of Bawston, Mass, the fantastic Patrick Hynds.

Check INETA out at the INETA Ask the Experts Booth at TechEd next week!


Updated Link to this post 11:42:51 PM  #    comment []  trackback []
Angst, ISO Standards, DataBinding Eval(), Malaise, DataGrids, System.Globalization, Fritz and the morning after...

Not much blogging this week...here's what I've been rambling about lately.

The DataGrid

I've had my head down in ASP.NET and the Data Grid control.  Our eFinance Application Server makes extensive use of what I like to call "strongly-typed XML" (XML with associated XSDs/XML Schema) and I've been doing lots of lovely DataGrids with Sorting, Filtering, etc as well as some dynamic charts. 

Globalization

I'm also deep in my most favorite (or is that favourite?) namespace, System.Globalization.  It's just so well thought out.  Lots of great stuff in here and much use of ISO standards like ISO 4217 for currency and number formatting (JPY, USD, GBP, ZWD, etc) and ISO 3166 for country codes (JP, US, GB, ZW, etc)...see a pattern?  I'm one of those dorks that dug the Dewey Decimal System and I dig nice ordered category systems now. 

One interesting thing, I'm running into a bit of trouble with number formatting, which I would have preferred to relegate entirely to the ASPX page...as if the ASPX page were truly the "View" to my Code-Behind "Controller."  While that's the dream, it's hardly the reality.  This kind of formatting creeps into my code-behinds, and leaps in to them when dealing with culture-specific data input.

A not-quite-perfect-pattern

Things get so mixed up between ASPX and Code-Behind on a moderately complex ASP.NET page (considering a multi-lingual site and multi-currency-in-one-grid situation), once you factor in DataBinding Eval() statements, Totals in Footers, Sorting and Filtering, it really makes me question the whole ASP.NET code-behind paradigm.  Sometimes my DataGrid event handlers feel better on the OnEventWhatever attributes of the DataGrid tag in the ASPX, and sometimes I just hook them up ala C# += EventHandlers in InitializeComponent().  Even Dino Esposito, a prolific writer on the DataGrid, puts page formatting all over the place in code-behinds (at the bottom) in his articles (although I take all article code with a mountain-sized grain of salt) apparently because there's just no other way to do it.

Is elegance possible?

Perhaps I've tried to fit too many hopes and dreams in a DataGrid and I should just grin and bear the tragic inelegance of it all.  After ten-plus years of Web Development [ah, I long for the days where I was 00001.0003@compuserve.com, ;) ] perhaps some higher power is trying to hint to me that rich cross-browser UIs just can't be truly "elegant" on what is perhaps a fatally flawed super-stateless HTML/QUIRKSMODE/HTTP/DOM/JAVASCRIPT/BAILINGWIRE base? 

Or...

alternately, it's 1am and time for bed.  In conclusion, I will say this: I can get more done in ASP.NET in a day than I could in Classic ASP in a fortnight and I don't have that lingering sense of next-morning shame that came with a truly horrendous ASP hack - and Fritz Onion played no small part in this personal achievement.

Today's Query

Other than building my own reverse-lookup hashtable at Application.Start, does anyone seen an obvious (or not obvious) and fast way given a currency string ("USD", etc) to get a CultureInfo and a NumberFormatInfo?  Perhaps I'm missing something obvious.

UPDATE: Peter Provost has a eye-opening reply post about this topic that makes a lot of sense to me.  If I start thinking about ASPX files and code-behinds as two sides of the same coin, then more "classical" MVC architectures fit nicely into the ASP.NET model.  I was stuck on what I felt was lack of elegance in interface between the two.  I'll try suspending belief for a bit and see what comes of it... :)


Updated Link to this post 1:09:19 AM  #    comment []  trackback []