

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Plastic/Blog &#187; UI</title>
	<atom:link href="http://blog.codiceplastico.com/index.php/tag/ui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codiceplastico.com</link>
	<description>Code Elegance</description>
	<lastBuildDate>Sat, 28 Aug 2010 10:27:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Avoid DataGrid*</title>
		<link>http://blog.codiceplastico.com/index.php/2009/11/15/avoid-datagrid/</link>
		<comments>http://blog.codiceplastico.com/index.php/2009/11/15/avoid-datagrid/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 18:19:36 +0000</pubDate>
		<dc:creator>Emanuele DelBono</dc:creator>
				<category><![CDATA[Emanuele DelBono]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://blog.codiceplastico.com/index.php/2009/11/15/avoid-datagrid/</guid>
		<description><![CDATA[A lot of software houses are migrating their application to the (new) WPF framework to take advantage of all the new stuff (layout models, controls, templates, styles,…) WPF leave to the developers the freedom to realize appealing user interfaces that support an alternative interaction model not tied to the old windows controls. The benefits for [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of software houses are migrating their application to the (new) WPF framework to take advantage of all the new stuff (layout models, controls, templates, styles,…)</p>
<p>WPF leave to the developers the freedom to realize appealing user interfaces that support an alternative interaction model not tied to the old windows controls. The benefits for the end user are countless, more productivity, easier interaction, information “find-ability”, and so on…</p>
<p>But what happens most of the times?</p>
<p>As soon as a new developer opens Visual Studio he asks: “Where’s the DataGrid?”</p>
<p>Why?? Is it possible that the only way that a developer knows to show some data on the screen is to put it in a grid?</p>
<p>I developed a bunch of WPF applications and only in one case I used the DataGrid, I always used ListBoxes, ItemControls, StackPanles….using a template to customize their appearance to show the most important information and to give the user the ability to drill down into the details when needed.</p>
<p>So, please, please, with WPF we have the power in our keyboard don’t use datagrids to show your data, think about your user!</p>
<p>The web is full of examples that don’t use the DataGrid (Google and Amazon for example) so don’t be lazy, take time to design a better user interface!</p>
<p>&#160;</p>
<p>* No datagrid was used to write this post</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codiceplastico.com/index.php/2009/11/15/avoid-datagrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From Database to UI and back</title>
		<link>http://blog.codiceplastico.com/index.php/2007/12/16/from-database-to-ui-and-back/</link>
		<comments>http://blog.codiceplastico.com/index.php/2007/12/16/from-database-to-ui-and-back/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 14:32:09 +0000</pubDate>
		<dc:creator>Emanuele DelBono</dc:creator>
				<category><![CDATA[Emanuele DelBono]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[methodology]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://blogema.wordpress.com/2007/12/16/from-database-to-ui-and-back/</guid>
		<description><![CDATA[Which approach do you use in developing applications? Years ago, for me, was a must that the develop of new application begin from the database and over there I design the DAL and up till the user interface. For this reason the firsts days was dedicated to the design of the database. What I got was [...]]]></description>
			<content:encoded><![CDATA[<p>Which approach do you use in developing applications?</p>
<p>Years ago, for me, was a must that the develop of new application begin from the database and over there I design the DAL and up till the user interface. For this reason the firsts days was dedicated to the design of the database. What I got was an application based on &#8220;Transaction Script&#8221; or &#8220;Table Data Gateway&#8221; with their pros and cons.<br />
At that time the database was the most important thing in my applications.</p>
<p>The problem with bottom-up approach is that it takes you to create a myriad of &#8220;micro-methods&#8221; that makes very tedious developing other layers above DAL. The classic &#8220;error&#8221; is to create all the CRUD operation for every tables in database, discovering later that a lot of them are useless or that they force the other layers to know the database structure (for example they need to know the right insert order to not break the foreign constraints).<br />
The other smell was that the design of my application was not very Object Oriented, the only thing that I used was a little bit of inheritance in the DAL to reuse some code dedicated to manage the database connection.</p>
<p>In 2003 i read a book that change the life to a lot of developer &#8220;patterns of enterprise architecture&#8221;.</p>
<p>After having read it I understand that something in my approach to  design application should be improved: I discovered the Domain Model.<br />
Then I begin to think at my applications starting from Domain Model and once the DM was ready I start with Database and User Interface at the same time.</p>
<p>Now I&#8217;m in a transition period and I feel to start my applications from User Interface. I know that the UI is for the final user the most important thing of the application (stated that it works), not from a aesthetics point of view rather from an interaction and usability point of view and the way the data is displayed on the forms.<br />
The first thing I do is to design (on paper) the mockup of the UI thinking about the interaction work-flow and the data that should be displayed. From the interface I go down to the Domain Model and then the Database.</p>
<p>The problem with starting from Domain Model is that your User Interface design is often binded to it and is not free to achieve the user&#8217;s needs. So starting from UI is a natural way to obtain what the customer really want, maximizing the usability and the fruibility of information.</p>
<p>This is not a proofed methodology for me, I&#8217;m trying this way in these months. For now I can certainly say that the mockup on paper likes a lot because the user can easily try to imaging how the interaction with the software will be and he can modify the stories of writes a new one. The Domain model grow in a more natural way guided from the functionality to implement.</p>
<p>Does this state that the DM and DM are less important? Absolutely not, but the user don&#8217;t bother them. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codiceplastico.com/index.php/2007/12/16/from-database-to-ui-and-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
