<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Nvigorate Framework - new forum threads</title>
		<link>http://nvigorate.wikidot.com/forum/start</link>
		<description>Threads in forums of the site &quot;Nvigorate Framework&quot; - Foundational Class Library</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://nvigorate.wikidot.com/forum/t-6489</guid>
				<title>To check arguments or not to check arguments?</title>
				<link>http://nvigorate.wikidot.com/forum/t-6489/to-check-arguments-or-not-to-check-arguments</link>
				<description>I&#039;ve reached a point of indecision regarding checking function arguments for null/invalid values.</description>
				<pubDate>Sat, 24 Mar 2007 05:56:31 +0000</pubDate>
				<wikidot:authorName>alexexmachina</wikidot:authorName>				<wikidot:authorUserId>10493</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've been struggling lately with whether or not to check all the arguments for null or empty string. While many say that it's best practice, I've yet to actually see this done. While it might definitely make the entire framework far more debugging friendly, I wonder if it's worth the extra effort and expense.</p> <p>Scott Wagner, a .Net Solutions Architect has come up with (what I believe) is a simple enough solution. An argument checker class provides a way to tie delegates to the type of argument to check. Checking the argument is accomplished by calling a static method and providing the argument name and error message in the event that the argument does not pass the check.</p> <p>For the time though, I will not be trying to incorporate any approach until I've gotten further along in the development of the basic classes. This is partly because at this point, I'm trying to get a good deal of code up to standard and make sure it's passing general unit tests.</p> <p>I would like to hear some feedback on this matter so please chime in.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://nvigorate.wikidot.com/forum/t-5838</guid>
				<title>On the fly type generation</title>
				<link>http://nvigorate.wikidot.com/forum/t-5838/on-the-fly-type-generation</link>
				<description>whats the basic idea behind this?</description>
				<pubDate>Sat, 10 Mar 2007 21:53:14 +0000</pubDate>
				<wikidot:authorName>mechhead</wikidot:authorName>				<wikidot:authorUserId>11641</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey Alex,<br /> I've been nosing around the Reflection class you posted, interesting stuff so far. I have a question about the planned features, especially about the 'on the fly' generation of types from various inputs. How generic are you able to make this? I mean, I can imagine creating objects froma DataTable like this (i'm using some NVigorate functions in the code below):</p> <div class="code"> <pre> <code>public static object[] CreateObjectsFromDataTable(DataTable aTable, Type aType) { object[] ObjList = new object[aTable.Rows.Count]; for(int i=0;i&lt;aTable.Rows.Count;i++) { ObjList[i] = CreateObjectFromDataRow(aTable.Rows[i], aType); } return ObjList; } public static object CreateObjectFromDataRow(DataRow aRow, Type aType) { ConstructorInfo aConstrInf = aType.GetConstructor(new Type[0]); if (aConstrInf.GetParameters().Length &gt; 0) { Throw(String.Format("{0} does not have a parameterless contructor", aType.FullName)); } object aObj = aConstrInf.Invoke(new object[0]); foreach (DataColumn aColumn in aRow.Table.Columns) { WriteProperty(aObj, aColumn.ColumnName, aRow[aColumn.ColumnName], new object[0]); } return aObj; }</code> </pre></div> <p>In this example I'm assuming that the column names are the same as the property names in the targeted type. Should they not be the same then I guess the DataTable would need additional 'massaging' before its passed to the function.<br /> Is this roughly the type of strategy you have in mind? So how would this work for filling an object from XML? Would you simply pass in a node collection that uses the element's name as the property binding?</p> <p>Anyways, I think the Reflection class shows great potential for all sorts of object factory type of work, I'll be watching NVigorate's progress closely. Thank you very much for your efforts so far.</p> <p>cheers,</p> <p>Roland</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://nvigorate.wikidot.com/forum/t-5521</guid>
				<title>Goals</title>
				<link>http://nvigorate.wikidot.com/forum/t-5521/goals</link>
				<description>What need does Nvigorate fulfill better than the alternatives?</description>
				<pubDate>Mon, 05 Mar 2007 21:50:20 +0000</pubDate>
				<wikidot:authorName>Bob Grommes</wikidot:authorName>				<wikidot:authorUserId>11431</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I found this project from a blog posting (the Daily Grind, IRRC) that said words to the effect that this "looks more like an ambitious project announcement than an actual product". Fair enough. But if this project is to attract contributors and move forward quickly enough to not join that Big Project Graveyard in the Cloud, some thought should be given to that yuccky topic of "marketing" IMO.</p> <p>In the FAQ, you state "I was disappointed by what many other projects had to offer. The design approach I intend to follow should yield a cleaner architecture that offers users a lot more flexibility." It would be a great statement of purpose / goal for all of us if you could hold forth on that in a little more detail. What I hope you mean by this is that Nvirgorate will be simpler, more approachable, and easier to grok while still being powerful and useful. But how, exactly?</p> <p>I note also your desire to be cross-platform between the Microsoft and Mono stacks. That is a great thing, although to be honest I haven't researched the alternatives enough to know if this is a point of differentiation or not.</p> <p>Come to think of it … who do you see as your competitors and how will you best them?</p> <p>I solicit comment on these topics because IMO these things need to be fleshed out and communicated in order to motivate people to join your effort in a significant way. It's fun to be in on the very ground floor of a new project … but there are a lot of them to choose from. Why is this the one for me (or anyone) to focus on?</p> <p>Thanks!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://nvigorate.wikidot.com/forum/t-5505</guid>
				<title>Bracing Style</title>
				<link>http://nvigorate.wikidot.com/forum/t-5505/bracing-style</link>
				<description>A gentle rib about the One True Bracing Style</description>
				<pubDate>Mon, 05 Mar 2007 18:50:33 +0000</pubDate>
				<wikidot:authorName>Bob Grommes</wikidot:authorName>				<wikidot:authorUserId>11431</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm sorry to see that you've chosen BSD / Allman style bracing. I am one of those people who prefer K&amp;R / 1TBS — I hate vertical scrolling. I wouldn't mind accomodating other styles as much if I could set bracing in VS on a per-solution basis, but AFAIK that can't be done.</p> <p>Anyway … no big deal and no desire to start a Religious War. Just had to throw this one out there ;-)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://nvigorate.wikidot.com/forum/t-5504</guid>
				<title>How Formal Should Unit Tests Be?</title>
				<link>http://nvigorate.wikidot.com/forum/t-5504/how-formal-should-unit-tests-be</link>
				<description>A thread trying to generate a little discussion about how formalized NUnit testing should be. Is a sloppy test that proves the code acceptable, or should more time be spent creating very clean, detailed tests?</description>
				<pubDate>Mon, 05 Mar 2007 18:47:25 +0000</pubDate>
				<wikidot:authorName>alexexmachina</wikidot:authorName>				<wikidot:authorUserId>10493</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I thought I'd kick off a thread on a topic that (hopefully) there are a lot of good thoughts and opinions on: unit test design. Early on, testing certain areas of the framework will require somewhat elaborate objects to test all the functionality against. So just how much attention needs to be given to these objects? While they're not going into production, we'll still rely on them for regression testing and I'm sure many developers will check the NUnit tests to get an idea for how to use certain bits of functioanlity (especially if the documentation for the class isn't completed). So it can't get too sloppy, right? But what about general design of the objects? Is it ok to take shortcuts since, again, they're not really production business objects and they're only purpose is to give us a test bed. I actually haven't made up my mind either way, but it's sure tempting to take the easy way out as I try to juggle everything AND finish up the first round of NUnit tests for the first little bit of the Reflector class.<br /> What do you think?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>